Thank you for your interest in contributing to Airtable MCP! This guide will help you get started with contributing to this project.
-
Clone the repository:
git clone https://github.com/rashidazarang/airtable-mcp.git cd airtable-mcp
-
Install dependencies:
pip install -r requirements.txt
-
Environment setup: Create a
.env
file in the root directory with your Airtable API token:AIRTABLE_PERSONAL_ACCESS_TOKEN=your_token_here AIRTABLE_BASE_ID=optional_default_base_id
You can run the server directly with Python:
python3.10 inspector_server.py --token "your_token" --base "your_base_id"
Or through the Node.js wrapper:
node index.js --token "your_token" --base "your_base_id"
Run the test client to verify your Airtable API access:
python3.10 test_client.py
-
Fork the Repository on GitHub.
-
Create a Branch for your feature or bugfix.
-
Make Changes according to the project style guidelines.
-
Test Thoroughly to ensure your changes work as expected.
-
Document Changes in the README.md if necessary.
-
Submit a Pull Request to the main repository.
- Follow Python PEP 8 style guidelines
- Write docstrings for all functions, classes, and modules
- Include type hints for function parameters and return values
- Write clear commit messages
When adding new Airtable API tools:
- Add the tool function to
inspector_server.py
using the@app.tool()
decorator - Define clear parameter and return types
- Provide a descriptive docstring for the tool
- Update the inspector.py file to include the new tool in the JSON schema
- Add error handling for API requests
- Update the README.md to document the new tool
By contributing to this project, you agree that your contributions will be licensed under the project's MIT License.