@infino-ai/mcp-server 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +16 -2
  2. package/dist/index.js +9 -5
  3. package/package.json +26 -2
package/README.md CHANGED
@@ -16,6 +16,7 @@ An [MCP](https://modelcontextprotocol.io) server for [Infino](https://github.com
16
16
 
17
17
  - [Requirements](#requirements)
18
18
  - [Quick start](#quick-start)
19
+ - [Claude Code plugin (one-step install)](#claude-code-plugin-one-step-install)
19
20
  - [Client setup](#client-setup)
20
21
  - [Claude Code](#claude-code)
21
22
  - [Claude Desktop](#claude-desktop)
@@ -45,7 +46,7 @@ An [MCP](https://modelcontextprotocol.io) server for [Infino](https://github.com
45
46
 
46
47
  ## Quick start
47
48
 
48
- The server is launched by your MCP client over stdio — you don't run it directly in normal use. Every client config follows the same shape: command `npx -y @infino-ai/mcp-server`, with configuration supplied via environment variables. At minimum, set `INFINO_MCP_URI` to the data you want to serve.
49
+ The server is launched by your MCP client over stdio — you don't run it directly in normal use. Every client config follows the same shape: command `npx -y @infino-ai/mcp-server`, with configuration supplied via environment variables. Set `INFINO_MCP_URI` to the data you want to serve — a local path or a bucket URI. If it's omitted, the server starts an ephemeral in-process catalog (`memory://`) that holds no data, so set it for any real use.
49
50
 
50
51
  ```jsonc
51
52
  {
@@ -61,6 +62,19 @@ The sections below show the exact place each client expects this block.
61
62
 
62
63
  ---
63
64
 
65
+ ## Claude Code plugin (one-step install)
66
+
67
+ For [Claude Code](https://claude.com/claude-code), this repo is also a plugin marketplace. Installing the plugin wires up the MCP server **plus** a how-to-use skill and an `/infino-search` command in one step — no JSON to edit. Inside Claude Code:
68
+
69
+ ```
70
+ /plugin marketplace add infino-ai/infino-mcp
71
+ /plugin install infino@infino-ai
72
+ ```
73
+
74
+ On enable you'll be prompted for your **Infino data URI** (`INFINO_MCP_URI`) and whether to **enable writes**. That's it — the `infino_*` tools, the `using-infino` skill, and `/infino-search <query>` are then available. (Other clients: use the [Client setup](#client-setup) configs below.)
75
+
76
+ ---
77
+
64
78
  ## Client setup
65
79
 
66
80
  ### Claude Code
@@ -164,7 +178,7 @@ All configuration is via environment variables — there are no config files and
164
178
 
165
179
  | Variable | Required | Default | Description |
166
180
  | --- | --- | --- | --- |
167
- | `INFINO_MCP_URI` | **Yes** | — | Data to serve: a local path (`/Users/me/.infino/memory`) or a bucket URI (`s3://…`, `gs://…`, `az://…`). |
181
+ | `INFINO_MCP_URI` | No | `memory://` (ephemeral) | Data to serve: a local path (`/Users/me/.infino/memory`) or a bucket URI (`s3://…`, `gs://…`, `az://…`). If unset, an ephemeral in-process catalog is used (holds no data) — set it for any real use. |
168
182
  | `INFINO_MCP_ENABLE_WRITES` | No | _off_ | When set (`1`/`true`/`yes`), exposes `infino_add_documents` **and** lets `infino_sql` run DDL/DML. Omit for a strictly read-only server. |
169
183
  | `INFINO_MCP_EMBED_MODEL` | No | `Xenova/all-MiniLM-L6-v2` | Hugging Face feature-extraction model used for embedding. Must match the table's vector index dimension (default model is 384-dim). |
170
184
  | `INFINO_MCP_S3_ENDPOINT` | No | — | Custom S3 endpoint for non-AWS S3-compatible stores (Cloudflare R2, MinIO, Backblaze B2, …). |
package/dist/index.js CHANGED
@@ -20,11 +20,15 @@ import { embed, embedderInfo } from "./embedding.js";
20
20
  // S3-compatible store (Cloudflare R2, MinIO, Backblaze B2, …) set
21
21
  // INFINO_MCP_S3_ENDPOINT (and optionally INFINO_MCP_S3_REGION) alongside
22
22
  // AWS_ACCESS_KEY_ID / AWS_SECRET_ACCESS_KEY. GCS/Azure use GOOGLE_*/AZURE_* creds.
23
- const uri = process.env.INFINO_MCP_URI;
24
- if (!uri) {
25
- console.error("INFINO_MCP_URI is required — a local path (e.g. /Users/me/.infino/memory) " +
26
- "or an s3://|gs://|az:// URI for the data to serve.");
27
- process.exit(1);
23
+ // Default to an ephemeral in-process catalog so the server always starts.
24
+ // Registry health checks (e.g. Glama) spawn the server with no env set; a hard
25
+ // exit here would leave it permanently "unhealthy"/unlisted. Real deployments
26
+ // set INFINO_MCP_URI to a local path or an s3://|gs://|az:// URI to serve
27
+ // persistent data.
28
+ const uri = process.env.INFINO_MCP_URI ?? "memory://";
29
+ if (!process.env.INFINO_MCP_URI) {
30
+ console.error("INFINO_MCP_URI not set — serving an ephemeral in-process catalog (memory://). " +
31
+ "Set INFINO_MCP_URI to a local path or an s3://|gs://|az:// URI to serve persistent data.");
28
32
  }
29
33
  // A custom S3 endpoint (non-AWS S3-compatible store) requires the region and
30
34
  // access/secret keys to be supplied with it; AWS S3 needs none of this.
package/package.json CHANGED
@@ -1,9 +1,33 @@
1
1
  {
2
2
  "name": "@infino-ai/mcp-server",
3
- "version": "0.1.0",
4
- "description": "MCP server for Infino — keyword, vector, and SQL retrieval over data on object storage, for AI agents.",
3
+ "version": "0.1.1",
4
+ "description": "MCP server for Infino — keyword, vector, hybrid, and SQL retrieval over data on object storage, for AI agents.",
5
5
  "mcpName": "io.github.infino-ai/mcp-server",
6
6
  "license": "Apache-2.0",
7
+ "homepage": "https://github.com/infino-ai/infino-mcp#readme",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/infino-ai/infino-mcp.git"
11
+ },
12
+ "bugs": {
13
+ "url": "https://github.com/infino-ai/infino-mcp/issues"
14
+ },
15
+ "keywords": [
16
+ "mcp",
17
+ "model-context-protocol",
18
+ "infino",
19
+ "retrieval",
20
+ "search",
21
+ "vector",
22
+ "hybrid-search",
23
+ "bm25",
24
+ "sql",
25
+ "rag",
26
+ "agent-memory",
27
+ "object-storage",
28
+ "embeddings",
29
+ "ai"
30
+ ],
7
31
  "type": "module",
8
32
  "bin": {
9
33
  "infino-mcp": "dist/index.js"