We reduced our MCP server's context window usage by up to 267x
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Octri.dev describes a technique that cut the context window cost of an MCP server generated from GitHub's roughly 1,200-endpoint OpenAPI spec, which originally consumed about 403,000 tokens, down to about 1,500 tokens. The fix is a search mode exposing three meta-tools (search_tools, describe_tool, call_tool) instead of every operation.