r/mcp • u/Former_Cap4733 • 16h ago
showcase What we left out of our MCP server, and what watching an agent use it taught us
I work on Infino, an open-source search engine (keyword, vector, hybrid and SQL over Parquet files). We wrote up the design decisions behind our MCP server, and most of them were about what not to build.
A few that might be useful if you're building an MCP server for a database:
- Nothing the database doesn't already do, with one exception: embeddings. Agents can't make vectors, so the server embeds both documents and queries with a local model (all-MiniLM-L6-v2). When an agent creates a vector table, the server sizes the column to its own embedder, so the agent never guesses a dimension.
- No write flag. We had
ENABLE_WRITESand removed it. Limits live in API key capabilities and in thereadOnlyHint/destructiveHintannotations, so the client decides when to ask the human. - Things we deliberately skipped: schema inference, upsert emulation, splitting or resuming large uploads, chunking, and dry runs. Each one would have been behavior that exists only in the MCP layer, tested against nothing else.
- Tell the agent what a score means. Semantic search returns a distance (lower is better) and keyword search returns a relevance (higher is better). Every response now carries a
score_kindfield.
The most useful part was running a coding agent headless against the server. It got all four scenarios right in 6 to 10 calls each. But asked to find a literal word, it used SQL LIKE instead of keyword search. Asked to reset the data, it deleted every row instead of dropping the table. For an agent, the tool description is the only documentation it reads.
Write-up: https://infino.ai/blog/mcp-server-design/
Server (npm @infino-ai/mcp-server): https://github.com/infino-ai/infino-mcp
Curious what others have left out of their servers on purpose, and how you've tuned tool descriptions after watching agents use them.