[BUG] MCP server connected but tools not exposed when schemas are large

Resolved 💬 0 comments Opened Jun 14, 2026 by jorilora Closed Jun 16, 2026

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 (stitchhttps://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, including
select:mcp__stitch__<exact_name>).

Reproduction

  1. Configure in ~/.claude.json:

{
"mcpServers": {
"stitch": {
"type": "http",
"url": "https://stitch.googleapis.com/mcp",
"headers": { "X-Goog-Api-Key": "<key>" }
}
}
}

  1. Restart Claude Code.
  2. claude mcp get stitch → "Connected".
  3. In a session, ToolSearch with query "stitch" or

"select:mcp__stitch__create_project" → "No matching deferred tools found".

  1. 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_

View original on GitHub ↗