{"id":26214056,"url":"https://github.com/c4pt0r/mcp-server-tidb","last_synced_at":"2025-10-26T20:46:35.227Z","repository":{"id":281096845,"uuid":"943723419","full_name":"c4pt0r/mcp-server-tidb","owner":"c4pt0r","description":"mcp server for tidb","archived":false,"fork":false,"pushed_at":"2025-04-15T08:34:55.000Z","size":26,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T09:39:04.217Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/c4pt0r.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-06T06:53:44.000Z","updated_at":"2025-04-15T08:35:00.000Z","dependencies_parsed_at":null,"dependency_job_id":"c4524ad2-01e3-43dd-96e9-1709acb8ed78","html_url":"https://github.com/c4pt0r/mcp-server-tidb","commit_stats":null,"previous_names":["c4pt0r/mcp-server-tidb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/c4pt0r/mcp-server-tidb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4pt0r%2Fmcp-server-tidb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4pt0r%2Fmcp-server-tidb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4pt0r%2Fmcp-server-tidb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4pt0r%2Fmcp-server-tidb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/c4pt0r","download_url":"https://codeload.github.com/c4pt0r/mcp-server-tidb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/c4pt0r%2Fmcp-server-tidb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263685680,"owners_count":23495908,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-12T10:01:02.854Z","updated_at":"2025-10-26T20:46:30.176Z","avatar_url":"https://github.com/c4pt0r.png","language":"Python","funding_links":[],"categories":["Databases","🗄️ \u003ca name=\"databases\"\u003e\u003c/a\u003eDatabases","Database \u0026 Messaging MCP Servers","サーバー実装","MCP 服务器精选列表","Legend","🗄️ Database","MCP Servers","Cloud Services","Uncategorized","Table of Contents"],"sub_categories":["SQL Databases","🗄️ \u003ca name=\"databases\"\u003e\u003c/a\u003eデータベース","🗄️ 数据库交互","🗄️ \u003ca name=\"databases\"\u003e\u003c/a\u003eDatabases","🧮 \u003ca name=\"data-science-tools\"\u003e\u003c/a\u003eデータサイエンスツール","🗄️ Databases","Uncategorized","Databases"],"readme":"# mcp-server-tidb\n\nMCP server implementation for TiDB (serverless) database.\n\n## Prerequisites\n\n- uv (Python package installer)\n\n## Installation\n\n```\n# Clone the repository\ngit clone https://github.com/c4pt0r/mcp-server-tidb\ncd mcp-server-tidb\n\n# Install the package and dependencies using uv\nuv venv\nuv pip install -e .\n```\n\n## Configuration\n\nGo [tidbcloud.com](https://tidbcloud.com) to create a free TiDB database cluster\n\nConfiguration can be provided through environment variables, or using .env:\n- `TIDB_HOST` - TiDB host address, e.g. 'gateway01.us-east-1.prod.aws.tidbcloud.com'\n- `TIDB_PORT` - TiDB port (default: 4000)\n- `TIDB_USERNAME` - Database username, e.g.  'xxxxxxxxxx.\\\u003cusername\\\u003e'\n- `TIDB_PASSWORD` - Database password\n- `TIDB_DATABASE` - Database name, default is test\n\n## Run with Claude Desktop\n\nConfig Claude Desktop, [HOWTO](https://modelcontextprotocol.io/quickstart/user)\n\n`claude_desktop_config.json`:\n\n```\n{\n  \"mcpServers\": {\n      \"tidb\": {\n          \"command\": \"uv\",\n          \"args\": [\n              \"--directory\",\n              \"/path/to/mcp-server-tidb\",\n              \"run\",\n              \"src/main.py\"\n          ]\n      }\n  }\n}\n```\n\n\nIf you're running mcp-server-tidb in WSL, the `claude_desktop_config.json` should look like this:\n\n```\n{\n  \"mcpServers\": {\n    \"tool-with-env-vars\": {\n      \"command\": \"wsl.exe\",\n      \"args\": [\n        \"bash\",\n        \"-c\",\n        \"/path/to/uv --directory /path/to/mcp-server-tidb run python src/main.py\"\n      ]\n    }\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc4pt0r%2Fmcp-server-tidb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fc4pt0r%2Fmcp-server-tidb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fc4pt0r%2Fmcp-server-tidb/lists"}