Tinybird MCP Server Setup Guide

Tinybird MCP Server Setup Guide

Prerequisites

  • Tinybird Account & Workspace
  • Claude Desktop
  • uv installed

Installation

Using Smithery

To 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

  1. 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
  2. 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>"
      }
      }
      }
     }
     
  3. 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

  1. Sync dependencies and update lockfile:

    uv sync
     
  2. Build package distributions:

    uv build
     

    This will create source and wheel distributions in the dist/ directory.

  3. Publish to PyPI:

    uv publish
     

    Note: Set PyPI credentials via environment variables or command flags:

    • Token: --token or UV_PUBLISH_TOKEN
    • Username/password: --username/UV_PUBLISH_USERNAME and --password/UV_PUBLISH_PASSWORD

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.

Share this post: