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"
}社群
證據