prism
Stateless MCP gateway and OTel span-streaming bridge for hosted MCP servers.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"prism": {
"url": "https://prism-mcp.terradev.cloud/mcp"
}
}
}远程端点
https://prism-mcp.terradev.cloud/mcpstreamable-http它能做什么
工具清单
工具(6)
🟢prism_info
Returns Prism's service identity and runtime state: version, transport, public URL, capture default, and the number of MCP sessions currently being traced. Use this to confirm which Prism deployment you are talking to and whether it is healthy before configuring an upstream.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢prism_ping(echo)
Returns {"pong": true, "time": <unix seconds>} plus an optional echo of the 'echo' argument. Use to verify connectivity through the gateway before pointing it at an upstream MCP server.
输入模式
{
"type": "object",
"properties": {
"echo": {
"type": "string",
"description": "Optional string echoed back in the response — useful for confirming round-trip integrity.",
"maxLength": 256
}
},
"additionalProperties": false
}🟢prism_metrics(format, prefix)
Dumps Prism's in-process counters and gauges — spans shipped, upstream errors, rate-limit hits, queue depth. Two formats: 'prometheus' (default, scrape-ready text) or 'json' (a {"series{labels}": value} object). Use 'prefix' to narrow to a metric family, e.g. 'prism_spans'.
输入模式
{
"type": "object",
"properties": {
"format": {
"type": "string",
"enum": [
"prometheus",
"json"
],
"default": "prometheus",
"description": "'prometheus' returns scrape-ready text; 'json' returns a structured object."
},
"prefix": {
"type": "string",
"description": "Only include series whose name starts with this string (e.g. 'prism_spans', 'prism_rate')."
}
},
"additionalProperties": false
}🟢prism_sessions(limit, upstream)
Lists the MCP sessions Prism is currently tracing — session id prefix, upstream, client name, project, turn and error counts, and age in seconds. Use 'limit' to cap results (default 20, max 100) and 'upstream' to filter by upstream URL substring.
输入模式
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 100,
"default": 20,
"description": "Max sessions to return."
},
"upstream": {
"type": "string",
"description": "Substring filter on the upstream URL — e.g. 'mcp.acme.dev' returns only sessions relaying to that host."
}
},
"additionalProperties": false
}🟢prism_config
Returns Prism's effective runtime configuration — upstream allowlist, rate limit, capture default, batching and queue tunables, public URL, and configured ingest endpoints. Secrets (admin token, destination credentials) are never exposed — only whether they are set.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}🟢prism_help
Returns connection instructions: how to set the upstream MCP server (X-Prism-Upstream header or ?upstream= query param), the query-param config keys for header-less clients, how destinations and the borrowed-token model work, and example client configs. Start here if you are an agent discovering Prism for the first time.
输入模式
{
"type": "object",
"properties": {},
"additionalProperties": false
}社区
证据