changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "path": {
+ "description": "The config file that was read",
+ "type": "string"
+ },
+ "servers": {
+ "description": "One entry per configured server: name, kind (remote or stdio) and the same fields as measure_server; or name and skipped, with the reason",
+ "items": {
+ "properties": {
+ "claudeError": {
+ "description": "Why the Anthropic endpoint refused to count, for example a schema it does not accept",
+ "type": "string"
+ },
+ "claudeTokens": {
+ "description": "Exact count from the Anthropic count_tokens endpoint, names as published; only with ANTHROPIC_API_KEY",
+ "type": "integer"
+ },
+ "claudeTokensClaudeCode": {
+ "description": "The same with the Claude Code prefix mcp__<server>__ on each tool name",
+ "type": "integer"
+ },
+ "error": {
+ "description": "The first line of the failure, when status is not ok",
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "remote",
+ "stdio"
+ ],
+ "type": "string"
+ },
+ "latencyMs": {
+ "description": "initialize and toolsList, milliseconds",
+ "type": "object"
+ },
+ "name": {
+ "type": "string"
+ },
+ "protocolVersion": {
+ "description": "The MCP protocol version the server negotiated",
+ "type": "string"
+ },
+ "serverInfo": {
+ "description": "name, version and title the server reports in initialize",
+ "type": "object"
+ },
+ "shareOfWindow": {
+ "description": "Percent of the context window the tool definitions take, exact when claudeTokens is present, else the estimate",
+ "type": "number"
+ },
+ "skipped": {
+ "description": "Why the server was not measured: disabled in config, or a local server under noStdio",
+ "type": "string"
+ },
+ "status": {
+ "description": "ok (answered initialize and tools/list), auth (needs credentials), payment (402), not_found, protocol_error (not MCP), timeout, dns, tls, refused, server_error, rate_limited, newer_protocol, or for a local command: install_failed, no_bin, needs_env, needs_args, needs_network, crashed",
+ "type": "string"
+ },
+ "toolCount": {
+ "description": "How many tools tools/list returned",
+ "type": "integer"
+ },
+ "toolsTokensEstimate": {
+ "description": "o200k_base tokens over the compact JSON of every tool definition; the exact Claude count is about 1.9 times this at the median",
+ "type": "integer"
+ },
+ "topTools": {
+ "description": "The ten most expensive tools: name and o200k_base tokens",
+ "items": {
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "tokens": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "total": {
+ "description": "Over the servers that answered: how many, their tokens (exact when a Claude count exists, else the estimate) and the share of the window",
+ "properties": {
+ "servers": {
+ "type": "integer"
+ },
+ "shareOfWindow": {
+ "type": "number"
+ },
+ "tokens": {
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}