Method CRM MCP Server is a production-oriented Model Context Protocol (MCP) server for integrating with the Method CRM API. It enables large language models (LLMs) to interact with Method CRM data through well-designed tools, covering tables, files, users, events, and API key management.
Key capabilities
- 20 comprehensive tools covering various Method CRM operations.
- API Key authentication (fully implemented), with reserved OAuth2 placeholders.
- Dual transport support: stdio (local) and streamable HTTP (remote).
- Rate limiting and retry logic: automatically handles API limits.
- Type safety: all inputs are fully validated using Pydantic.
- Actionable errors: clear error messages with suggestions.
- Pagination support: efficiently handles large datasets.
- Multiple response formats: JSON and Markdown output.
Tool categories
- Table operations (5 tools): for example, querying active customers and creating new inventory items. Note: required fields vary by table. For ItemInventory: required Sku (must be unique), COGSAccount, AssetAccount, TenantID; recommended IncomeAccount, tax code, transaction flag. Account fields must exactly match existing QuickBooks account names.
- File management (6 tools): for example, uploading invoice PDFs.
- User information (1 tool).
- Event automation (4 tools): for example, sending an email when a new customer is created.
- API key management (4 tools): for example, creating a production API key.
Usage Environment requirements: Python 3.10 or later; a Method CRM account with API access; API key (obtained from the Method CRM dashboard). After installing dependencies, perform environment setup: copy the example environment file; configure authentication: edit .env and set the API key; obtain the API key: log in to your Method CRM account, navigate to Settings → API Settings, click Create API Key (requires an administrator role), name the key (e.g., "MCP Server"), and immediately copy the generatedkey (it will no longer be displayed afterward), paste it into .env as METHOD_API_KEY. Run the server: the default mode is for MCP clients such as Claude Desktop; or use the module directly; for remote access or multiple clients, the server will listen on http://localhost:8000。 MCP client configuration: Add to the Claude Desktop configuration (on macOS the path is ~/Library/Application Support/Claude/claude_desktop_config.json). You can use MCP Inspector to test tools.
Advanced features
- OData query filtering: Use powerful OData-style filters for queries, and perform aggregations directly in the query.
- Pagination: All list/query tools support pagination, and responses include pagination metadata.
- Response format: Choose between JSON (structured) and Markdown (human-readable).
API rate limits Method CRM enforces the following limits: 100 requests per minute per account; 5,000–25,000 requests per day (varies by number of licenses); 50MB per file; 10GB total storage per account; batch updates of up to 50 related records. The MCP server automatically handles rate limits through exponential backoff retry logic, clear error messages with retry-after times, and actionable suggestions for rate limit errors.
Troubleshooting
- Authentication errors: Verify that METHOD_API_KEY is set correctly in .env; check whether the key has been revoked in the Method CRM dashboard; ensure there is no extra whitespace in the key value.
- Rate limits: Wait for the retry-after time; reduce request frequency; use pagination to reduce the total number of requests; consider upgrading your Method CRM license for higher limits.
- File upload errors: Compress files before uploading; split large files into smaller chunks; use external storage (such as S3) and store the URL in Method CRM.
- Connection errors: Check your internet connection; verify that METHOD_API_BASE_URL is correct; check whether Method CRM is down; verify firewall/proxy settings.
Security best practices
- API key storage: Store in environment variables, never hard-code in code; use a .env file (never commit to version control); rotate keys regularly (every 90 days is recommended).
- Access control: Use separate API keys for different environments (development/staging/production); revoke unused keys promptly; monitor key usage via method_apikeys_list.
- File handling: Validate file types before uploading; scanuploaded files for malware; enforce file size limits in application logic.
- Error messages: Do not expose sensitive information in logs; use debug mode only in development.
OAuth2 support (coming soon) OAuth2 authentication is planned for support in a future release: authorization code flow (user-based authentication), client credentials flow (machine-to-machine, with token refresh), implicit flow (browser-based SPA). Placeholders are already included in the codebase (auth.py).
Contributing and license Contributions are welcome: fork the repository, create a feature branch, add tests for new features, ensure all tests pass, submit a pull request. Issue feedback: Report bugs and request features on GitHub. Documentation:https://developer.method.me/;Method CRM support:https://help.method.me/。MIT license, see the LICENSE file. Version 1.0.0 (2025-11-22) initial public release.