Purpose
infino-mcp is an MCP server for Infino, used to let AI agents perform retrieval over their own data. It can serve as the retrieval layer for RAG, persistent agent memory, and search over your own files, and can be used in any MCP-compatible client (Claude Code, Claude Desktop, Cursor, VS Code, etc.).
Main capabilities
- Supports four retrieval methods: keyword (BM25 full-text), semantic, hybrid, and SQL.
- Semantic search uses a local model by default for query embedding; the embedding process never leaves the local machine and does not require an API key (the first run downloads about 90 MB of local embedding model and caches it; after that, embedding is offline).
- The index itself is a valid Parquet file: data and search index are stored on storage in pure Parquet form, and the same file can be opened with DuckDB or pyarrow, with no export and no locking.
- Can point to a local directory, your own storage bucket (S3, Azure, or any S3-compatible storage), or a managed Infino Cloud endpoint with an API key.
- The tool set (including writes) is always available to the agent; on Infino Cloud, the capabilities of the API key determine what the connection can do, and each tool has MCP annotations (such as readOnlyHint, destructiveHint) so clients can ask before destructive calls.
- Supports one-step installation via a Claude Code plugin: automatically configures the MCP server, a how-to-use skill, and the /infino-search command.
Usage
- Runtime environment: Node.js ≥ 20 (the server runs as a Node process over stdio), and an MCP-compatible client.
- Started by the MCP client over stdio; it is not run directly during normal use; all client configurations have the same shape: the command is npx -y @infino-ai/mcp-server, and configuration is provided through environment variables.
- Use INFINO_MCP_URI to specify the data to serve (a local path or bucket URI); when omitted, a persistent per-user directory is used (~/.infino/mcp), and data remains after restart.
- Managed Infino Cloud: Point INFINO_MCP_URI to the https://<host>/<database> endpoint and provide an API Key.
- Claude Code: The repository is also a plugin marketplace; installing the plugin connects to the MCP server, skills, and commands without editing JSON; when enabled, you will be asked to provide the Infino data URI (INFINO_MCP_URI), and Infino Cloud also requires an API Key.
- Claude Desktop: Edit the configuration file (create it if it does not exist), then fully restart Claude Desktop.
- Cursor: Add the server to ~/.cursor/mcp.json (available to all projects) or <project>/.cursor/mcp.json (only that project), in the same format as Claude Desktop.
- VS Code (1.102+): Reads MCP servers from the workspace's .vscode/mcp.json, with the top-level key servers, and each entry declaring "type": "stdio".
- Other MCP clients: As long as they speak MCP over stdio, they can be configured to launch. Logs are written to stderr to avoid disrupting the JSON-RPC stream on stdout.
- All configuration is done through environment variables, with no configuration files and no command-line flags.
- Cloud credentials are read from standard provider environment variables (such as AWS_, AZURE_), using environment variables (rather than introducing proprietary credential variables); when not set, the environment's cloud identity is used (IAM instance role or Azure managed identity).
Embedding Model Configuration
- By default, all-MiniLM-L6-v2 (384 dimensions) from Hugging Face transformers.js is used, and can be overridden with INFINO_MCP_EMBED_MODEL. The server uses the same model to embed ingested documents and queries, ensuring alignment in the same vector space.
- If a table is vectorized with a managed embedding model (OpenAI / Azure OpenAI), the server must be pointed to the same model. The model must match the model that generated the stored vectors; otherwise, similarity is meaningless or a dimension error is reported during search; keyword and SQL search are not affected by the embedding model.
- Under a managed connection, semantic and hybrid search still embed queries locally in this server, so INFINO_MCP_EMBED_MODEL must match the model that generated the vectors stored in the managed table, especially when data is ingested by others.
Write Path (one tool call and one commit per step)
- If the managed database returns 404, use infino_create_database.
- Use infino_create_table, including a utf8 key column, a large_utf8 text column, and set vector: true for semantic search. The server sets the vector column dimension based on its embedder configuration, so the agent does not need to input the dimension; keep the result, whose indexes field is the only record of which columns are indexed.
- Use infino_add_documents, with dozens of rows per call, always including the key; missing vectors will be embedded in a single batch.
- To replace rows: use infino_delete_documents with a key predicate, then add again; before deleting rows, use infino_count to check the predicate.
- A single tool call carries dozens of documents; for the entire corpus, it is recommended to use the infino CLI (infino ingest accepts Parquet or NDJSON, for the same URI) or the SDK. The CLI, like the engine, uses its own vector approach, so either include the embedding column in the rows, or load the text and use keyword search.
- There is no server-side write gate; the deprecated INFINO_MCP_ENABLE_WRITES variable is ignored (if set, the server explains this on stderr). On Infino Cloud, the API Key's capabilities limit what the connection can do: a read-only scoped Key will be rejected for all writes, and tool results will indicate to create a Key with write capability. In local mode, point the server only at data the agent can modify.
Retrieval Results and SQL
- Search hits return full column values; the columns parameter is a projection passed directly to the engine (embedded or managed), so any column in the table can be returned with the hit; by default the text column is returned, always including _id and score, and never truncated; to keep results small, project fewer columns or request a smaller k.
- Each search response also carries score_kind, indicating whether its score is a distance (semantic: smaller is closer) or relevance (keyword and hybrid: larger is better).
- For ordinary retrieval, prefer the dedicated search tool (which automatically embeds and projects); infino_sql is used for filters, joins, and aggregations, including on top of the results of search table functions, so that ranking and aggregation can be done in a single query.
Security and Data Handling
- Local execution, no inbound listening: runs as a subprocess of the MCP client over stdio, does not open a network listener; in default local/bucket mode it does not contact any remote service. When INFINO_MCP_URI is a managed https:// endpoint, outbound TLS calls are made to that endpoint to provide search, SQL, and (if enabled) writes; only the data in these requests reaches the configured managed service.
- By default no data is sent for embeddings: the default provider uses a local model to embed queries and documents, text is never sent to a third-party embedding API, and there is no embedding API Key to provide or leak. In managed mode only the generated vectors (not the text) reach the Infino Cloud endpoint. If an OpenAI-compatible provider is configured, the embedded text is sent to the specified endpoint.
- Credentials remain in the environment: storage credentials (AWS_* / AZURE_*) and the managed API Key (INFINO_API_KEY) are used only to access the configured storage or endpoint, and are never logged or exposed in tool output.
- Who can write is determined outside the server: the full tool set (including writes) is always available; on Infino Cloud, connection behavior is limited by the capabilities of the API Key, and in local mode point it only at data the agent may modify. Each tool carries MCP annotations, and clients can request confirmation in their own way.
- Least privilege: point INFINO_MCP_URI at the narrowest dataset required for the task, and provide storage credentials scoped to that bucket/prefix.
Use Cases
- Provide a retrieval layer for RAG;
- Persist agent memory;
- Perform keyword, semantic, hybrid, and SQL retrieval over your own files/data.
Limitations and Caveats
- Requires Node.js >= 20 and an MCP-compatible client;
- The first run requires downloading an approximately 90 MB local embedding model (embeddings are offline afterward);
- When changing INFINO_MCP_EMBED_MODEL, the table's vector index must match the new model's dimensions; embeddings from different models are not comparable, and a dimension mismatch will cause an error during search;
- A single tool call carries only a few dozen documents; the entire corpus should use the infino CLI or SDK;
- The server depends on the published @infino-ai/infino Node bindings, resolved from public npm;
- During local development, the client can point over stdio to node /absolute/path/dist/index.js, or use MCP Inspector.
- Specific information such as billing, pricing, and platforms is not provided in the materials.