Skip to main content
The @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 — command npx -y @infino-ai/mcp-server, with configuration supplied as environment variables.

Connect

Point the server at your data with INFINO_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

Add the server with the CLI. Use --scope user to make it available in every project.
Or install the plugin, which wires the server plus a how-to-use skill and an /infino-search command in one step:
Any client that speaks MCP over stdio works — configure it to launch npx -y @infino-ai/mcp-server with the environment above.

Connect to Infino Cloud

To serve a hosted database, point INFINO_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:
Get the endpoint URL (the last path segment is your database) and an API key from the Infino Cloud console; see Authentication. Compaction and garbage collection are handled server-side on Infino Cloud, so they are not exposed as tools.

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

Last modified on August 3, 2026