[BUG] MCP server connected but tools not exposed when schemas are large
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
No me puedo conectar con https://stitch.googleapis.com/mcp
What Should Happen?
Que carguen las herramientas de Stitch con schemas más compactos (los schemas actuales incluyen enums enormes inline que podrían factorizarse)
Error Messages/Logs
Steps to Reproduce
Summary
An HTTP MCP server (stitch → https://stitch.googleapis.com/mcp) shows as
"Connected" via claude mcp get, and tools/list over raw JSON-RPC returns 14
tools. However, none of the tools appear in the Claude Code tool registry
(ToolSearch returns "No matching deferred tools found" for any query, includingselect:mcp__stitch__<exact_name>).
Reproduction
- Configure in ~/.claude.json:
{
"mcpServers": {
"stitch": {
"type": "http",
"url": "https://stitch.googleapis.com/mcp",
"headers": { "X-Goog-Api-Key": "<key>" }
}
}
}
- Restart Claude Code.
claude mcp get stitch→ "Connected".- In a session, ToolSearch with query "stitch" or
"select:mcp__stitch__create_project" → "No matching deferred tools found".
- Raw POST to the endpoint with method=tools/list returns 14 tools (~288 KB
total schema size — large enums for fonts/colors/components inline).
Suspected cause
A schema-size limit silently drops the tools at registration time without
surfacing a warning to the user or to claude mcp get.
Expected
Either the tools should load, or claude mcp get should report the failure
reason (e.g. "tools skipped: schema exceeds N bytes").
Environment
- Claude Code on Windows 11
- Model: claude-opus-4-7
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
Model: claude-opus-4-7
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_