Introducing CSV Output Format in Insiders Mode #2567
Replies: 1 comment
-
|
Nice — output compression is a real lever; the JSON structure tax on list-heavy results adds up fast. For anyone budgeting GitHub MCP token usage, it's worth pairing this with the other half of the ledger: the tool-schema input cost, which is fixed and re-sent every turn regardless of output format. I measured that across 13 MCP servers recently — the GitHub MCP server's tool definitions total ~3,546 tokens/turn (26 tools), the highest in the set, paid on every request before any result comes back. Fattest single schema was Two things that compound nicely with the CSV work:
Output size is the half people notice; the per-turn schema overhead is the half they usually don't — great to see the team chipping at the cost either way. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello from the GitHub MCP Server maintainers 👋
We’ve recently added an experimental CSV output format for supported list-based tools in the default toolset, available now through Insiders Mode.
This is now available on the remote GitHub MCP Server and in the latest local GitHub MCP Server release,
v1.1.0.The goal is to reduce token usage for list-heavy workflows by returning compact CSV instead of JSON, avoiding some of the repeated object and array structure that appears in JSON responses.
Important
This currently applies only to supported list-based tools in the default toolset, such as tools whose names start with
list_. It does not apply broadly to every tool or every toolset.Example token savings
The examples below were captured against the
github/github-mcp-serverrepository and compare the same tool responses in JSON vs CSV.These figures are approximate. Token counts were calculated from the captured payloads using the
cl100k_basetokenizer to provide a consistent comparison point, but actual savings may vary depending on various factors such as the model, MCP host, tool, arguments, result count, and shape of the returned data.list_pull_requestslist_commitslist_issuesThese are representative examples only. Your results may be higher or lower depending on the context of the tool call.
How to try it
CSV output is available to MCP Insiders. Insiders Mode lets users opt into experimental GitHub MCP Server features before they reach general availability.
X-MCP-Insiders: trueheader/insidersto the remote MCP URLhttps://api.githubcopilot.com/mcp/insiders--insidersCLI flaggithub-mcp-server stdio --insidersGITHUB_INSIDERS=trueFor more context, see the Insiders Mode announcement.
We want your feedback
If you’re using Insiders Mode, please try the CSV output with your list-based workflows and let us know:
Please leave a comment below with your feedback, examples, or suggestions.
Beta Was this translation helpful? Give feedback.
All reactions