Tinybird MCP by usefulapi
Run endpoints and read-only SQL, and append events to Data Sources in Tinybird.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"tinybird": {
"url": "https://tinybird.usefulapi.io/mcp"
}
}
}远程端点
https://tinybird.usefulapi.io/mcpstreamable-http它能做什么
工具清单
工具(9)
🟢tinybird_list_datasources
List the Data Sources (tables) in the workspace. Tinybird API: GET /v0/datasources.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tinybird_get_datasource(name)
Show one Data Source: its schema, engine and settings. Tinybird API: GET /v0/datasources/{name}.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Name of the Data Source, Pipe or endpoint, as the list tools show it."
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tinybird_list_pipes
List the Pipes in the workspace, with their nodes and which node is published as an endpoint. Tinybird API: GET /v0/pipes.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tinybird_get_pipe(name)
Show one Pipe: its SQL nodes, parameters and endpoint status. Tinybird API: GET /v0/pipes/{name}.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Name of the Data Source, Pipe or endpoint, as the list tools show it."
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tinybird_run_endpoint(name, params)
Run a published Tinybird endpoint (a Pipe with an enabled node) with its parameters and return the rows. Tinybird API: GET /v0/pipes/{name}.json.
输入模式
{
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"description": "Name of the Data Source, Pipe or endpoint, as the list tools show it."
},
"params": {
"description": "Endpoint parameters as name/value pairs, for example {\"days\": 7}.",
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number",
"boolean"
]
}
}
},
"required": [
"name"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tinybird_run_sql(sql)
Run one read-only SQL query (SELECT or WITH ... SELECT) against the Data Sources and Pipes of the workspace. Returns JSON. Write statements are refused. Tinybird Query API: POST /v0/sql.
输入模式
{
"type": "object",
"properties": {
"sql": {
"type": "string",
"minLength": 1,
"description": "One SELECT or WITH query. A FORMAT clause is added when you leave it out (FORMAT JSON)."
}
},
"required": [
"sql"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tinybird_list_jobs
List the recent Tinybird jobs (imports, appends, copies and other background work). Tinybird API: GET /v0/jobs.
输入模式
{
"type": "object",
"properties": {},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🟢tinybird_get_job(job_id)
Show one job: its kind, status and error, if any. Tinybird API: GET /v0/jobs/{id}.
输入模式
{
"type": "object",
"properties": {
"job_id": {
"type": "string",
"minLength": 1,
"description": "Job id, as tinybird_list_jobs shows it."
}
},
"required": [
"job_id"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}🔴tinybird_send_events(datasource, events)
Append rows to a Data Source. Pass one JSON object per line (NDJSON). Each call appends the rows once and is never retried, so a repeated call adds duplicate rows. Tinybird Events API: POST /v0/events?name=<datasource>.
输入模式
{
"type": "object",
"properties": {
"datasource": {
"type": "string",
"minLength": 1,
"description": "Name of the Data Source that receives the rows."
},
"events": {
"type": "string",
"minLength": 1,
"description": "NDJSON: one JSON object per line."
}
},
"required": [
"datasource",
"events"
],
"$schema": "https://json-schema.org/draft/2020-12/schema"
}社区
证据