{
  "repo": "pingcap/pytidb",
  "binary": "tidb-mcp-server",
  "binary_path": "pytidb/ext/mcp/__init__.py",
  "dependencies": {
    "CLI tidb-mcp-server": {
      "description": "Starts the MCP server, opens a TiDB connection from environment variables, and exposes database tools over stdio or network transports.",
      "infrastructure": {
        "tidb_database": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Connect to TiDB and execute SQL queries or DDL/DML statements",
              "trigger": "TiDBConnector / db_query / db_execute / user management tools",
              "implementation": "pytidb/ext/mcp/server.py"
            }
          ]
        }
      },
      "services": []
    },
    "Runtime TiDBMCPServer.NetworkTransport": {
      "description": "Network transports expose the same TiDB-backed MCP tools over SSE or streamable HTTP.",
      "infrastructure": {
        "tidb_database": {
          "conditions": [
            "transport is sse or streamable-http"
          ],
          "operations": [
            {
              "operation": "Serve MCP tool invocations backed by TiDB queries and user management operations",
              "trigger": "FastMCP request handling",
              "implementation": "pytidb/ext/mcp/server.py"
            }
          ]
        }
      },
      "services": []
    }
  }
}
