.mcp.json file configures MCP (Model Context Protocol) server connections for your plugin. It defines which external tools and services Claude can access when your plugin is active.
Location
Schema
An object where each key is a unique server identifier and the value is a server configuration object.
Server Configuration
Each server inmcpServers has the following properties:
The server transport type. Currently only
"http" is supported.The HTTP endpoint URL for the MCP server. Can be an empty string if the server is not yet configured.
Empty URLs are useful for plugins that need user configuration before they can connect to the service.
Optional OAuth configuration for servers that require authentication.
Examples
Basic HTTP Servers
Server with OAuth
Servers Requiring Configuration
Sales Plugin Example
Data Plugin Example
Common MCP Servers
Here are some commonly used MCP server URLs:| Service | URL |
|---|---|
| Slack | https://mcp.slack.com/mcp |
| Notion | https://mcp.notion.com/mcp |
| HubSpot | https://mcp.hubspot.com/anthropic |
| Linear | https://mcp.linear.app/mcp |
| Asana | https://mcp.asana.com/v2/mcp |
| Atlassian (Jira) | https://mcp.atlassian.com/v1/mcp |
| Microsoft 365 | https://microsoft365.mcp.claude.com/mcp |
| Google Calendar | https://gcal.mcp.claude.com/mcp |
| Gmail | https://gmail.mcp.claude.com/mcp |
| Figma | https://mcp.figma.com/mcp |
| Canva | https://mcp.canva.com/mcp |
| Amplitude | https://mcp.amplitude.com/mcp |
| BigQuery | https://bigquery.googleapis.com/mcp |
| Hex | https://app.hex.tech/mcp |
| Monday | https://mcp.monday.com/mcp |
| ClickUp | https://mcp.clickup.com/mcp |
| Close | https://mcp.close.com/mcp |
| Clay | https://api.clay.com/v3/mcp |
| ZoomInfo | https://mcp.zoominfo.com/mcp |
| Fireflies | https://api.fireflies.ai/mcp |
| Apollo | https://api.apollo.io/mcp |
| Outreach | https://mcp.outreach.io/mcp |
| SimilarWeb | https://mcp.similarweb.com/mcp |
| Ahrefs | https://api.ahrefs.com/mcp/mcp |
| Klaviyo | https://mcp.klaviyo.com/mcp |
| PubMed | https://pubmed.mcp.claude.com/mcp |
| BioRender | https://mcp.services.biorender.com/mcp |
| bioRxiv | https://mcp.deepsense.ai/biorxiv/mcp |
| ClinicalTrials.gov | https://mcp.deepsense.ai/clinical_trials/mcp |
| ChEMBL | https://mcp.deepsense.ai/chembl/mcp |
| Synapse | https://mcp.synapse.org/mcp |
| Wiley | https://connector.scholargateway.ai/mcp |
| Owkin | https://mcp.k.owkin.com/mcp |
| Open Targets | https://mcp.platform.opentargets.org/mcp |
Validation Rules
Empty URLs: You can use an empty string for the
url field if the server requires user-specific configuration. This is common for data warehouse connections (Snowflake, Databricks) that need account-specific endpoints.Best Practices
-
Server Names: Use clear, recognizable names for server identifiers (e.g.,
"slack","notion","hubspot"). - Empty URLs for Configuration: Use empty URL strings for servers that require user-specific configuration rather than omitting them entirely. This documents which servers the plugin supports.
- Organize by Function: Group related servers together in your configuration for better maintainability.
-
Version Endpoints: Some services include version numbers in their MCP endpoints (e.g.,
/v1/mcp,/v2/mcp). Use the latest stable version recommended by the service. -
OAuth Setup: For servers requiring OAuth, ensure the
callbackPortdoesn’t conflict with other services in your plugin. - Testing: Verify that all server URLs are accessible and correctly formatted before distributing your plugin.
How It Works
When your plugin is activated:- Claude reads the
.mcp.jsonfile and establishes connections to all configured servers - Each server exposes tools, resources, and prompts that become available to Claude
- Claude automatically uses these tools when relevant to the user’s request
- Users may need to authenticate with services (especially those with OAuth) before Claude can access them
Related
- plugin.json - Plugin manifest and metadata
- Model Context Protocol - Learn more about MCP
- Plugin Structure - Complete plugin directory structure