MCP Server Configuration API

Access MCP server configurations programmatically through our REST API. Get installation commands and configuration details in standard MCP JSON format.

Endpoints

Get Server Configuration

GET /api/mcp/{name}

Retrieve MCP configuration for a specific server by name or ID.

Parameters:

  • name - Server name or ID (case-insensitive)

Example Request:

curl https://findmymcp.com/api/mcp/filesystem

Example Response:

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-filesystem"
      ],
      "metadata": {
        "name": "Filesystem",
        "description": "Secure file operations with configurable access controls.",
        "category": "Reference Servers",
        "official": true,
        "language": "TypeScript",
        "tags": ["files", "security"],
        "github": "https://github.com/modelcontextprotocol/servers/blob/main/src/filesystem"
      }
    }
  }
}

List All Servers

GET /api/mcp/list

Get a list of all available MCP servers with optional filtering.

Query Parameters:

  • category - Filter by category
  • language - Filter by implementation language
  • official - Filter by official status (true/false)
  • search - Search in name, description, and tags

Example Request:

curl https://findmymcp.com/api/mcp/list?category=Reference%20Servers&official=true

Example Response:

{
  "total": 7,
  "servers": [
    {
      "id": "everything",
      "name": "Everything",
      "description": "Reference / test server with prompts, resources, and tools.",
      "category": "Reference Servers",
      "language": "TypeScript",
      "official": true,
      "tags": ["reference", "test"],
      "github": "https://github.com/modelcontextprotocol/servers/blob/main/src/everything",
      "configUrl": "/api/mcp/everything"
    }
  ],
  "categories": [...],
  "filters": {
    "category": "Reference Servers",
    "language": null,
    "official": "true",
    "search": null
  }
}

Usage Examples

JavaScript/Node.js

// Fetch configuration for a specific MCP server
const response = await fetch('https://findmymcp.com/api/mcp/filesystem');
const config = await response.json();

// Merge with your existing MCP configuration
const existingConfig = JSON.parse(
  fs.readFileSync('claude_desktop_config.json', 'utf8')
);
Object.assign(existingConfig.mcpServers, config.mcpServers);
fs.writeFileSync(
  'claude_desktop_config.json', 
  JSON.stringify(existingConfig, null, 2)
);

Python

import requests
import json

# Fetch configuration
response = requests.get('https://findmymcp.com/api/mcp/filesystem')
config = response.json()

# Merge with existing configuration
with open('claude_desktop_config.json', 'r') as f:
    existing_config = json.load(f)

existing_config['mcpServers'].update(config['mcpServers'])

with open('claude_desktop_config.json', 'w') as f:
    json.dump(existing_config, f, indent=2)

cURL

# Get configuration and save to file
curl https://findmymcp.com/api/mcp/git > git-config.json

# Search for database servers
curl "https://findmymcp.com/api/mcp/list?search=database" | jq '.servers[]'

Response Format

All responses follow the standard MCP configuration format compatible with Claude Desktop and other MCP clients. You can directly merge the returned configuration into your existing MCP configuration file.

CORS Support

The API supports CORS, allowing you to make requests from web applications running on any domain.