Tinybird MCP Server Setup GuidePrerequisites
- Tinybird Account & Workspace
- Claude Desktop
uv installed
Installation
Using Smithery
uv installedTo install Tinybird MCP for Claude Desktop automatically via Smithery, run:
npx @smithery/cli install @tinybirdco/mcp-tinybird --client claude
Using mcp-get
To install the Tinybird MCP server using mcp-get, run:
npx @michaellatman/mcp-get@latest install mcp-tinybird
Configuration
Configure Claude Desktop
-
Create the configuration file depending on your OS:
- On MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json - On Windows:
%APPDATA%/Claude/claude_desktop_config.json
- On MacOS:
-
Paste the following template into the file and replace
<TINYBIRD_API_URL>and<TINYBIRD_ADMIN_TOKEN>with your Tinybird API URL and Admin Token:{ "mcpServers": { "mcp-tinybird": { "command": "uvx", "args": [ "mcp-tinybird", "stdio" ], "env": { "TB_API_URL": "<TINYBIRD_API_URL>", "TB_ADMIN_TOKEN": "<TINYBIRD_ADMIN_TOKEN>" } } } } -
Restart Claude Desktop.
SSE Mode
To run the MCP server in SSE mode, execute:
uvx mcp-tinybird sse
Development Configuration
For local development, update your Claude Desktop configuration:
{
"mcpServers": {
"mcp-tinybird_local": {
"command": "uv",
"args": [
"--directory",
"/path/to/your/mcp-tinybird",
"run",
"mcp-tinybird",
"stdio"
]
}
}
}
Building and Publishing
-
Sync dependencies and update lockfile:
uv sync -
Build package distributions:
uv buildThis will create source and wheel distributions in the
dist/directory. -
Publish to PyPI:
uv publishNote: Set PyPI credentials via environment variables or command flags:
- Token:
--tokenorUV_PUBLISH_TOKEN - Username/password:
--username/UV_PUBLISH_USERNAMEand--password/UV_PUBLISH_PASSWORD
- Token:
Debugging
For debugging, use the MCP Inspector:
npx @modelcontextprotocol/inspector uv --directory /Users/alrocar/gr/mcp-tinybird run mcp-tinybird
Monitoring
To monitor the MCP server, use any compatible Prometheus client such as Grafana.