mirror of
https://github.com/jwadow/kiro-gateway.git
synced 2026-04-25 01:15:57 +03:00
[GH-ISSUE #46] BUG: MCP server runs, but Claude does not detect/load it #33
Labels
No labels
bug
bug
enhancement
enhancement
fixed
fixed
invalid
needs-info
needs-testing
pull-request
question
upstream
wontfix
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/kiro-gateway-jwadow#33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @myheisenberg on GitHub (Jan 19, 2026).
Original GitHub issue: https://github.com/jwadow/kiro-gateway/issues/46
Kiro Gateway Version
v2.0
What happened?
My MCP server runs successfully when started manually, but Claude does not detect it / does not show it in the tools list (or shows it as disconnected).
Debug Logs
kiro_request_body.json
request_body.json
app_logs.txt
response_stream_raw.txt
@jwadow commented on GitHub (Jan 20, 2026):
@myheisenberg I checked your logs. Your Kiro Gateway works fine - I see 'tools=48' in the request. That means 48 tools were sent from Claude Code to the gateway. This suggests your MCP servers might already be working.
The 404 errors on '//api/event_logging/batch' are just telemetry - harmless, not related to MCP.
Important: Kiro Gateway doesn't manage MCP servers. It only passes tools from Claude Code to Kiro API. MCP servers connect directly to Claude Code.
Questions:
If you see 48 tools in the request, some MCP servers are working. Maybe the one you're trying to add is already connected, or there's a configuration issue in Claude Code (not in Kiro Gateway).
@bhaskoro-muthohar commented on GitHub (Jan 21, 2026):
Apologies for not checking existing issues before creating #50 - this may be related.
The user here reported MCP tools not working, but you confirmed 48 tools were sent (MCP was connected). I found a bug in
extract_text_content()where Pydantic models (TextContentBlock) aren't handled, causing all MCP tool results to become"(empty result)".This could explain why MCP appears connected but returns no useful data. See #50 for details and fix.
@jwadow commented on GitHub (Jan 23, 2026):
@myheisenberg Your MCP server was working (48 tools in request). The bug was in
extract_text_content()- it didn't handle Pydantic models, so tool results returned "(empty result)".Fixed now. Credit to @bhaskoro-muthohar for finding the root cause in #50
Please test and confirm