Code-Mode is the shizz! Save tokens and improve speed with zero accuracy loss
by•
Hi All! While working on my MCP gateway, realized that for some tools, it would inject instructions in the tool description which would contribute to context bloat when many servers are configured with it.
Added in Code-Mode support to address this problem. What is code-mode? Well, simply put, it allows agents to progressively discover tools as per its needs. Instead of dumping all tool descriptions and schemas in the prompt, it exposes 3-5 meta tools that allow Agents to query and discover the exact tools they need. The result? Lesser token usage, reduced latency, reduced tool hallucinations and forgetfulness.
Find and self-host the latest release here - https://github.com/aakashH242/remote-mcp-adapter/releases/tag/v0.2.0
3 views

Replies