Parseable

io.github.parseablehq由 GitHub 帳號 parseablehq 發布v0.2.16更新於 Oct 24, 2026

Model Context Protocol server for Parseable. Lets LLMs discover and query Parseable.

概覽

AI 產生的概覽

將 MCP 用戶端連接到 Parseable 執行個體,讓助理以自然語言探索、查詢與管理資料集和告警。

可以做什麼
這是一個轉接器,把 MCP 工具探索與呼叫轉送給所連接的 Parseable 執行個體。工具目錄從執行個體的 LLM 工具端點取得,因此 OSS、Enterprise 與 Cloud 版本可能提供不同的工具集。查詢在伺服器端執行,包含參數驗證與 RBAC;README 指出 query_sql 會阻擋 DDL/DML,並強制列數上限與必填時間範圍,而 evaluate_alert 可能觸發真實通知。
適用情境
當你已經自行架設或訂閱 Parseable,並希望助理在不離開聊天用戶端的情況下瀏覽日誌或事件資料集、執行 SQL 風格查詢、檢視或管理告警時使用。沒有可連線的 Parseable 執行個體與 API 金鑰時並無用處。
執行需求
透過 npm 套件以 stdio 在本機執行,或作為自架 HTTP 程序執行。stdio 模式需要 PARSEABLE_URL 與 PARSEABLE_API_KEY;HTTP 模式需要 PORT,雲端還需要 PARSEABLE_ORCHESTRATOR_URL 與 PARSEABLE_CLOUD_AUTH_TOKEN,用戶端需送出 X-Parseable-URL 與 X-API-Key 標頭。npm 套件需要 Node.js;另有選用的 OpenTelemetry 變數。
安裝前請注意
API 金鑰存放在 MCP 用戶端設定中,請使用權限最小的金鑰,遠端部署務必使用 HTTPS。evaluate_alert 可能送出真實通知;query_sql 僅限唯讀查詢,並有列數上限與必填時間範圍。預設會拒絕私有與回送 Parseable 網址,PARSEABLE_MCP_ALLOW_PRIVATE 只應在可信任的部署中啟用。README 聲明沒有遙測,對外呼叫只會送往使用者設定的 Parseable 執行個體。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Parseable,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Parseable MCP Server

Model Context Protocol server for Parseable. Lets any MCP-capable client (Claude Desktop, Claude Code, Cursor, VS Code Copilot, Windsurf, Continue, Cline, Zed, Codex) discover, query, and manage Parseable datasets and alerts using natural language.

Two transports:

ModeTransportAuthUse when
stdioStdin/stdoutAPI key via env varsClaude Desktop, Cursor, VS Code, local clients
httpStreamable HTTPCloud API key, or self-hosted URL + API keyHosted deployments and remote clients

Quickstart — stdio (local)

One command — interactive setup, detects Claude Desktop / Cursor, writes config files:

bash
npx -y @parseable/parseable-mcp-server init

Restart your MCP client. Tools appear. Done.

Scripted:

bash
npx -y @parseable/parseable-mcp-server init \  --client claude-desktop \  --url https://your-parseable.example.com \  --api-key "$PARSEABLE_API_KEY"

Supported --client values: claude-desktop, cursor.

Cursor Marketplace plugin

The repository also contains a native Cursor plugin manifest. Marketplace installs connect to https://mcp.parseable.com/mcp and read credentials from the environment.

Set these variables before starting Cursor:

bash
export PARSEABLE_URL="https://your-parseable.example.com"export PARSEABLE_API_KEY="your-api-key"export PARSEABLE_MODE="self-hosted"

PARSEABLE_API_KEY and PARSEABLE_MODE are required by the Cursor plugin. Use PARSEABLE_MODE=cloud and omit PARSEABLE_URL for Parseable Cloud. Use PARSEABLE_MODE=self-hosted with PARSEABLE_URL for self-hosted Parseable.

bash
# Parseable Cloudexport PARSEABLE_MODE="cloud"export PARSEABLE_API_KEY="your-cloud-api-key"unset PARSEABLE_URL

Then install the Parseable plugin from the Cursor Marketplace. If Cursor was opened from the macOS dock or another GUI launcher that does not inherit shell variables, use the interactive setup instead:

bash
npx -y @parseable/parseable-mcp-server init --client cursor

Plugin metadata lives in .cursor-plugin/plugin.json; its MCP connection configuration lives in mcp.json. Keep the plugin version aligned with the npm package version when releasing.


Quickstart — HTTP (hosted)

HTTP mode serves a setup page and MCP endpoint from one process. Cloud clients supply an API key. Self-hosted clients supply their Parseable URL and API key.

1. Set env vars

bash
# .envPORT=8787

2. Run

bash
# From sourcenpm run build:allnode dist/server.js http
# Dockerdocker build -t parseable-mcp-server .docker run -p 8787:8787 --env-file .env parseable-mcp-server

3. Connect from Claude

  • Claude Desktop → Settings → Connectors → Add custom connector
  • Name: Parseable
  • URL: https://mcp.your-domain.com/mcp
  • Header X-Parseable-URL: https://your-parseable.example.com
  • Header X-API-Key: your Parseable API key
  • Click Add → Connect

4. Connect from Claude Code

bash
claude mcp add --transport http parseable https://mcp.your-domain.com/mcp --scope user \  --header "X-Parseable-URL: https://your-parseable.example.com" \  --header "X-API-Key: $PARSEABLE_API_KEY"

5. Connect from Cursor / VS Code

json
{  "mcpServers": {    "parseable": {      "type": "http",      "url": "https://mcp.your-domain.com/mcp",      "headers": {        "X-Parseable-URL": "https://your-parseable.example.com",        "X-API-Key": "your-parseable-api-key"      }    }  }}

HTTP authentication

Each POST /mcp request requires X-API-Key and supports two modes:

ModeHeaders
CloudX-Parseable-Mode: cloud, X-API-Key
Self-hosted (default)X-Parseable-URL, X-API-Key

X-Parseable-Mode is checked first when present. Omitting it selects self-hosted mode; clients do not need to send X-Parseable-Mode: self-hosted. In cloud mode, server validates API key with Parseable Cloud, caches returned URL and tenant routing in a bounded in-memory LRU for 24 hours, and sends x-p-tenant on Parseable requests. Cache is disposable; misses and process restarts resolve through Cloud again.

For self-hosted mode, HTTP server validates supplied URL and forwards API key to that Parseable instance. By default, private and loopback Parseable URLs are rejected to limit SSRF. Set PARSEABLE_MCP_ALLOW_PRIVATE=true only for trusted deployments that need private network targets.


Environment variables

stdio mode

VarRequiredDefaultPurpose
PARSEABLE_URL✅—Parseable base URL
PARSEABLE_API_KEY✅—API key for self-hosted Parseable
PARSEABLE_QUERY_TIMEOUT_MS30000HTTP timeout (ms)

HTTP mode

VarRequiredDefaultPurpose
PORT8787HTTP listen port
PARSEABLE_MCP_ALLOW_PRIVATEfalsePermit private/loopback Parseable URLs supplied in request headers
PARSEABLE_ORCHESTRATOR_URLCloud only-Parseable Cloud orchestrator base URL
PARSEABLE_CLOUD_AUTH_TOKENCloud only-Service bearer token for API-key validation
PARSEABLE_CLOUD_CACHE_TTL_SECONDS86400Cloud routing LRU TTL
PARSEABLE_CLOUD_CACHE_MAX_ENTRIES10000Maximum cached cloud API-key routes
PARSEABLE_CLOUD_VALIDATE_TIMEOUT_MS10000Cloud validation timeout

OpenTelemetry (optional)

VarDefaultPurpose
PARSEABLE_OTEL_ENABLEDfalseEnable trace export to Parseable
PARSEABLE_OTEL_ENDPOINT—Parseable OTLP endpoint
PARSEABLE_OTEL_USERNAME—Basic auth for OTLP
PARSEABLE_OTEL_PASSWORD—Basic auth for OTLP
PARSEABLE_OTEL_TRACES_STREAMmcp-tracesStream name for traces
PARSEABLE_OTEL_DEBUGfalseLog OTLP export errors

Copy .env.example → .env for a full template.


Tools

Tools are owned by the connected Parseable instance, not this adapter. For MCP tools/list, the adapter fetches the edition-specific catalog from GET /api/prism/v1/llm/tools/list. OSS, Enterprise, and Cloud can expose different tool sets.

The adapter caches the catalog for its server-provided max-age and revalidates it with ETag. MCP tools/call requests are forwarded to POST /api/prism/v1/llm/tools/call, where Parseable validates arguments, applies RBAC, executes the tool, and returns an MCP CallToolResult.


Client setup — stdio

Claude Desktop

~/Library/Application Support/Claude/claude_desktop_config.json

json
{  "mcpServers": {    "Parseable": {      "command": "npx",      "args": ["-y", "@parseable/parseable-mcp-server"],      "env": {        "PARSEABLE_URL": "https://your-parseable.example.com",        "PARSEABLE_API_KEY": "your-api-key"      }    }  }}

Claude Code

bash
claude mcp add Parseable \  --env PARSEABLE_URL=https://your-parseable.example.com \  --env PARSEABLE_API_KEY=your-api-key \  -- npx -y @parseable/parseable-mcp-server

Cursor

~/.cursor/mcp.json:

json
{  "mcpServers": {    "Parseable": {      "command": "npx",      "args": ["-y", "@parseable/parseable-mcp-server"],      "env": {        "PARSEABLE_URL": "https://your-parseable.example.com",        "PARSEABLE_API_KEY": "your-api-key"      }    }  }}

VS Code

.vscode/mcp.json:

json
{  "servers": {    "Parseable": {      "type": "stdio",      "command": "npx",      "args": ["-y", "@parseable/parseable-mcp-server"],      "env": {        "PARSEABLE_URL": "https://your-parseable.example.com",        "PARSEABLE_API_KEY": "your-api-key"      }    }  }}

Development

bash
git clone https://github.com/parseablehq/parseable-mcp-server.gitcd parseable-mcp-servernpm installcp .env.example .env    # fill in your values
# Buildnpm run build           # server only (tsc)npm run build:ui        # React UI only (vite)npm run build:all       # both
# Runnode dist/server.js         # stdio modenode dist/server.js http    # HTTP mode (port 8787)
# Devnpm run dev             # tsc --watchnpm run dev:ui          # vite dev server (proxies API to :8787)npm testnpm run lintnpm run fix             # biome auto-fix

CI (GitHub Actions) runs lint + build:all + test on every push/PR to main on Node 22. On merge to main, Docker image is published to ghcr.io/parseablehq/parseable-mcp-server.


Security

  • Parseable API keys live in MCP client configuration. Use keys scoped to minimum required permissions.
  • HTTP clients send credentials in X-Parseable-URL and X-API-Key; always use HTTPS for remote deployments.
  • query_sql blocks DDL/DML and enforces a row LIMIT. Time window is mandatory.
  • evaluate_alert can fire real notifications — review the call before approving.
  • No telemetry. Outbound calls go only to the Parseable instance configured by the user.

License

Apache-2.0. See LICENSE.

來源:README.md,提交 a65d863

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

1
  1. v0.2.16最新Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分