prism
Stateless MCP gateway and OTel span-streaming bridge for hosted MCP servers.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"prism": {
"url": "https://prism-mcp.terradev.cloud/mcp"
}
}
}Remote endpoints
https://prism-mcp.terradev.cloud/mcpstreamable-httpWhat it can do
Tool inventory
Tools (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.
Input Schema
{
"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.
Input Schema
{
"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'.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"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.
Input Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}Community
Evidence