@infino-ai/mcp-server 0.20.0 → 0.21.0

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.
package/README.md CHANGED
@@ -80,14 +80,14 @@ The sections below show the exact place each client expects this block.
80
80
 
81
81
  ## Claude Code plugin (one-step install)
82
82
 
83
- 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:
83
+ For [Claude Code](https://claude.com/claude-code), this repo is also a plugin marketplace. Installing the plugin wires up the MCP server **plus** two skills and an `/infino-search` command in one step, with no JSON to edit. Inside Claude Code:
84
84
 
85
85
  ```
86
86
  /plugin marketplace add infino-ai/infino-mcp
87
87
  /plugin install infino@infino-ai
88
88
  ```
89
89
 
90
- On enable you'll be prompted for your **Infino data URI** (`INFINO_MCP_URI`) and, for Infino Cloud, your **API key**. 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.)
90
+ On enable you'll be asked for an **Infino data URI** (`INFINO_MCP_URI`) and, for Infino Cloud, an **API key**. Both are optional: leave the URI blank to keep data in `~/.infino/mcp`. You then have the `infino_*` tools, the `using-infino` skill (how to call those tools), the `search-with-infino` skill (how to add Infino search to your own Python, Node.js or Rust code), and `/infino-search <query>`. (Other clients: use the [Client setup](#client-setup) configs below.)
91
91
 
92
92
  ---
93
93
 
package/dist/index.js CHANGED
@@ -47,7 +47,7 @@ import { joinGate, joinRefusal, withoutComments } from "./join-gate.js";
47
47
  // R2, MinIO, Backblaze B2 — set AWS_ENDPOINT_URL alongside the AWS_* keys);
48
48
  // - an https://<host>/<database> URI → the hosted Infino Cloud service,
49
49
  // authenticated with an API key (INFINO_API_KEY).
50
- // When INFINO_MCP_URI is unset, default to a durable per-user directory so a
50
+ // When INFINO_MCP_URI is unset or blank, default to a durable per-user directory so a
51
51
  // fresh install persists across restarts with no configuration. Fall back to
52
52
  // an ephemeral in-process catalog if that directory can't be created (a
53
53
  // sandboxed or read-only host, or a registry health-check spawn): the server
@@ -69,7 +69,11 @@ function defaultUri() {
69
69
  return "memory://";
70
70
  }
71
71
  }
72
- const uri = process.env.INFINO_MCP_URI ?? defaultUri();
72
+ // A blank value counts as unset. Clients that template the environment from
73
+ // optional settings, such as the Claude Code plugin's userConfig, pass an empty
74
+ // string when the user leaves the field blank, and that has to mean "use the
75
+ // default", not "open a catalog at the empty path".
76
+ const uri = process.env.INFINO_MCP_URI?.trim() || defaultUri();
73
77
  // A hosted (Infino Cloud) target is an https:// URI that carries the database
74
78
  // in its path (https://<host>/<database>); any other scheme is an embedded
75
79
  // catalog on a local path or an object-storage bucket. The two authenticate
@@ -109,7 +113,7 @@ addStorageOption("azure_storage_account_key", process.env.AZURE_STORAGE_KEY);
109
113
  // API key for a hosted (https://) connection. The binding also reads
110
114
  // INFINO_API_KEY on its own, but we pass it explicitly so the credential path
111
115
  // is visible here and we can warn on an obvious misconfiguration.
112
- const apiKey = process.env.INFINO_API_KEY;
116
+ const apiKey = process.env.INFINO_API_KEY?.trim() || undefined;
113
117
  // Opt into a connect-time probe so bad credentials or an unreachable bucket
114
118
  // fail at startup instead of on the first search.
115
119
  const validate = ["1", "true", "yes"].includes((process.env.INFINO_MCP_VALIDATE ?? "").toLowerCase());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@infino-ai/mcp-server",
3
- "version": "0.20.0",
3
+ "version": "0.21.0",
4
4
  "description": "MCP server for Infino — keyword, semantic, hybrid, and SQL retrieval for AI agents: RAG, persistent agent memory, and search over data stored as plain Parquet on object storage. Local embeddings, no API key.",
5
5
  "mcpName": "io.github.infino-ai/mcp-server",
6
6
  "license": "Apache-2.0",