Tinybird MCP Server (Deprecated, Unmaintained Repository)
Access this deprecated MCP server repository (unmaintained); refer to supported projects or migration docs for alternatives.
npx -y @tinybirdco/mcp-tinybirdOverview
This repository contains a minimal Model Context Protocol (MCP) server implementation that was used to forward and adapt event data for Tinybird analytics. It provides a lightweight proxy/agent pattern for receiving events, applying simple routing or transformation rules, and forwarding them to downstream analytics endpoints.
Important: this repository is deprecated and no longer maintained. For production use or ongoing support, migrate to the official Tinybird MCP Server implementation and follow the maintained documentation and migration guidance: https://www.tinybird.co/docs/forward/analytics-agents/mcp
This article explains what the project does, how it was typically run, and common configuration and use cases to help developers understand the repository contents and plan migration.
Features
- Receives incoming event payloads (HTTP/webhook) and forwards them to configured backends
- Config-driven routing and simple transformation rules
- Pluggable authentication and filtering hooks
- Lightweight, suitable for running close to the source of events (edge, containers)
- Basic logging and metrics endpoints for health checks and debugging
Installation / Configuration
Note: the example commands below are generic — inspect the repository (package.json, Dockerfile, requirements.txt, etc.) to determine the concrete runtime and dependencies before running.
Clone the repository:
Common ways to run the server:
- With Docker (recommended when available)
# Build image (if Dockerfile present)
# Run container with environment variables and mounted config
- Locally (Node.js / Python – check repo files)
# If Node.js
# Or if Python and requirements.txt present
Example environment variables and configuration file layout (typical keys)
| Variable / Key | Example | Description |
|---|---|---|
| PORT | 8080 | TCP port to listen on |
| TINYBIRD_API_TOKEN | tb.xxxxx | Tinybird API token used to forward events |
| MCP_CONFIG_PATH | /app/config/routes.yml | Path to routing/transform config |
| LOG_LEVEL | info | Logging verbosity (debug, info, warn, error) |
| FORWARD_URL | https://api.tinybird.co/… | Downstream endpoint to send events |
| AUTH_SECRET | s3cr3t | Optional shared secret for incoming requests |
Example config snippet (YAML)
routes:
- name: page_views
path: /collect/page
method: POST
forward_to: https://api.tinybird.co/v0/pipes/ingest_page/append
headers:
Authorization: "Bearer ${TINYBIRD_API_TOKEN}"
transforms:
- type: remove_fields
fields:
Testing the server (generic curl example)
# Send an event to a configured route
If the repository exposes health or metrics endpoints, confirm them:
Available Resources
- Deprecated repository (reference only): https://github.com/tinybirdco/mcp-tinybird
- Official, maintained implementation and documentation (migrate here): https://www.tinybird.co/docs/forward/analytics-agents/mcp
- Migration guidance: consult the official docs link above for recommended migration steps, configuration mapping, and supported features
- Issues & community: check the GitHub repository for legacy issues and discussions, but do not expect active maintenance
Use Cases
Collecting browser or app analytics and forwarding to Tinybird
- Deploy the MCP server close to your front-end or CDN edge.
- Accept JSON events on a lightweight endpoint, apply a transform to normalize fields, and forward batched data to Tinybird ingestion endpoints.
Webhook aggregation and routing
- Use the server as a central ingestion point for multiple webhook sources.
- Configure routes for different providers, enrich or filter events, and forward to dedicated Tinybird pipes or other analytics backends.
Edge preprocessing for privacy or bandwidth
- Strip or redact PII fields (e.g., remove email or IP) via transform rules before forwarding.
- Aggregate or sample events to reduce bandwidth to the central analytics service.
Temporary gateway during migration
- Use the MCP server as a transitional adapter while migrating services to the official Tinybird agent.
- Configure equivalent routes to mirror traffic patterns and validate parity before switching production traffic.