@infino-ai/mcp-server
package is a Model Context Protocol server for
Infino. It gives an AI agent the same retrieval Infino exposes to the SDKs and the
CLI — keyword (BM25), semantic (vector), hybrid, and SQL — as tools it can call
in conversation, from any MCP client (Claude Code, Claude Desktop, Cursor, VS Code, and
others). The tool descriptions are written so the model picks the right retrieval mode by
question shape, so you rarely name a tool yourself.
It connects to the same targets as the rest of Infino: a local path, your own
object-storage bucket, or a hosted Infino Cloud database. Nothing
extra runs — the server is the engine, in-process, behind the MCP transport.
Install
The server is launched by your MCP client over stdio; you don’t run it directly in normal use. Every client config is the same shape — commandnpx -y @infino-ai/mcp-server, with
configuration supplied as environment variables.
Connect
Point the server at your data withINFINO_MCP_URI. The scheme selects the backend:
For a local path or bucket, storage credentials come from the standard
AWS_* / AZURE_*
environment variables (omit them to use ambient cloud identity). For a hosted https://
endpoint, authenticate with an API key in INFINO_API_KEY — no object-storage
credentials are needed, since the platform owns the storage.
Environment variables
The full list of embedding and validation variables is in the
infino-mcp README.
Client setup
- Claude Code
- Claude Desktop / Cursor
- VS Code
Add the server with the CLI. Use Or install the plugin,
which wires the server plus a how-to-use skill and an
--scope user to make it available in every project./infino-search command in one step:npx -y @infino-ai/mcp-server with the environment above.
Connect to Infino Cloud
To serve a hosted database, pointINFINO_MCP_URI at the https://<host>/<database>
endpoint and supply your API key. Everything else — the tools, the read-only default — is
identical to a local connection:
Tools
The server exposes discovery, search, and (optionally) write tools. Tool descriptions steer the model to the right one by question shape.
The server is read-only by default: the write tools aren’t advertised, and
infino_sql
accepts only a single SELECT/WITH. Set INFINO_MCP_ENABLE_WRITES to enable writes.
Semantic and hybrid search embed queries locally in the server (no embedding API key
by default), so
INFINO_MCP_EMBED_MODEL must match the model that produced the table’s
stored vectors — this matters especially on a hosted or shared database that someone else
ingested. See Embeddings.See also
- CLI — the same retrieval from the terminal or a shell-native agent.
- Infino Cloud quickstart — provision a hosted database to serve.
- Quickstart — the SDK walkthrough.
- infino-mcp on GitHub — full tool arguments and configuration.
