Skip to content

[BUG][API]: No tools listed via MCP after adding tool from REST API #2784

@nitin302

Description

@nitin302

🐞 Bug Summary

Briefly describe the issue or unexpected behavior.

No tools are listed when we "Add New Tool from REST API". It works as expected when tools are added via MCP server but adding any tool via REST API shows no tools.


🧩 Affected Component

Select the area of the project impacted:

  • mcpgateway - API
  • mcpgateway - UI (admin panel)
  • mcpgateway.wrapper - stdio wrapper
  • Federation or Transports
  • CLI, Makefiles, or shell scripts
  • Container setup (Docker/Podman/Compose)
  • Other (explain below)

🔁 Steps to Reproduce

  1. Add New MCP Server or Gateway. This automatically adds tools listed by the given MCP server.
  2. Try to list tools via MCP gateway. This should show all tools correctly.
  3. Add New Tool from REST API
  4. No tools listed via MCP gateway.

🤔 Expected Behavior

What should have happened instead?

All tools should be displayed including both added via MCP server and REST API


📓 Logs / Error Output

Paste any relevant stack traces or logs here.
⚠️ Do not paste secrets, credentials, or tokens.


🧠 Environment Info

You can retrieve most of this from the /version endpoint.

Key Value
Version or commit 1.0.0-BETA-2
Runtime Python 3.12.10
Platform / OS macOS
Container PyPI

🧩 Additional Context (optional)

Add any configuration details, flags, or related issues.

Metadata

Metadata

Assignees

Labels

SHOULDP2: Important but not vital; high-value items that are not crucial for the immediate releaseapiREST API Related itembugSomething isn't workingmcp-protocolAlignment with MCP protocol or specificationreadyValidated, ready-to-work-on items

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions