{
  "schema_version": "0.1.0",
  "server_url": "https://www.fastmcp.dev/mcp",
  "name": "FastMCP Directory Gateway",
  "description": "Stateless MCP v2 directory of curated Model Context Protocol servers and instant 1-click connectors.",
  "tools": [
    {
      "name": "search_directory",
      "description": "Search verified MCP servers by keyword or category and return matching endpoints.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search term (e.g., markdown, e-commerce, cloudflare, docs)"
          },
          "category": {
            "type": "string",
            "description": "Optional category filter"
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "get_server_config",
      "description": "Retrieve ready-to-use Claude Desktop or Cursor JSON configuration for a specific MCP server.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "server_id": {
            "type": "string",
            "description": "ID of the server (e.g., copy-markdown, llms-text)"
          }
        },
        "required": [
          "server_id"
        ]
      }
    },
    {
      "name": "submit_mcp_server",
      "description": "Agentic submission of a new MCP server to the FastMCP directory.",
      "inputSchema": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string",
            "description": "Server name"
          },
          "url": {
            "type": "string",
            "description": "Main service or website URL"
          },
          "mcp_endpoint": {
            "type": "string",
            "description": "Valid https MCP endpoint URL"
          },
          "description": {
            "type": "string",
            "description": "Capabilities description (20-350 chars)"
          },
          "category": {
            "type": "string",
            "description": "Category (Developer Tools, AI & Research, etc.)"
          },
          "plan": {
            "type": "string",
            "enum": [
              "free",
              "instant"
            ],
            "description": "Listing plan (free: up to 4 weeks, instant: $19)"
          }
        },
        "required": [
          "name",
          "url",
          "mcp_endpoint",
          "description"
        ]
      }
    }
  ]
}