Skip to content

MCP returns TSV on select and ask - #38

Open
matthieubosquet wants to merge 4 commits into
mainfrom
mcp-egress
Open

matthieubosquet wants to merge 4 commits into
mainfrom
mcp-egress

Conversation

@matthieubosquet

@matthieubosquet matthieubosquet commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

For MCP tools with SELECT and ASK queries:

  1. Results are now written as TSV instead of an HTML table. TSV is much more compact and easier for an LLM to read, so it uses less of the context window on tables full of markup.
  2. Graph results (CONSTRUCT and DESCRIBE) are still returned as Turtle.
  3. Tests now cover the two cases separately: TSV for SELECT/ASK (endpoint2, endpoint3_something) and Turtle for graphs (endpoint4, endpoint5).
  4. The README's /mcp row says which format each kind of result comes back in.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants