MCP Gateway
Add a hosted connector
Run MCP servers inside MintMCP's managed infrastructure—instead of asking members to execute npx or pip commands locally, you supply the configuration once and MintMCP handles the rest.
When to use hosted connectors
- You want to roll out an open-source MCP server without asking every user to manage the runtime
- You need to centralize secrets or environment variables that shouldn't live on developer laptops
- You need audit logging and observability for how the MCP server is used
- You prefer to let MintMCP handle scaling, restarts, and container lifecycle
Adding a hosted connector
- Navigate to MCP store in the MCP gateway sidebar
- Click + Add MCP
- Select Add Hosted Connector
Configuration steps
- Find the JSON config for your STDIO MCP server (docs often call it "Standard config")
- Paste the JSON in the text box
- Replace placeholders with your actual values (e.g., API keys)
- Click Create
Example configuration
{
"mcpServers": {
"fetch": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-fetch"]
}
}
}
Environment variables
MintMCP encrypts stored environment variables, which you specify in the env section:
{
"mcpServers": {
"my-server": {
"command": "npx",
"args": ["-y", "@example/mcp-server"],
"env": {
"API_KEY": "your-api-key"
}
}
}
}
For servers that depend on private npm packages, see Using private npm packages in hosted servers.
Related guides
- Enable OAuth for STDIO servers: End-to-end walkthrough of hosting a STDIO-based MCP server
- Deploy custom MCP servers: Package proprietary MCP servers for MintMCP
- Administration: Overview of managing MCP servers