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 分