@infino-ai/mcp-server 0.16.0 → 0.17.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 +1 -1
- package/dist/index.js +2 -6
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -276,7 +276,7 @@ the data.
|
|
|
276
276
|
| Tool | Arguments | What it does |
|
|
277
277
|
| --- | --- | --- |
|
|
278
278
|
| `infino_semantic_search` | `table`, `query`, `k`, `column?`, `vectorColumn?`, `columns?`, `filter?` | Find passages by **meaning** — embeds the query with a local model (no key) and ranks by vector similarity. Handles paraphrase and synonyms. `score` is a **distance** (lower is closer). Optional `filter` (`{column, query, mode?}`) restricts the ranking to rows whose keyword column matches first (a pushdown pre-filter). Optional `columns` chooses which fields each hit returns (e.g. a path + line range to cite); defaults to the text column, with `_id` and `score` always included. |
|
|
279
|
-
| `infino_keyword_search` | `table`, `query`, `k`, `column?`, `mode?`, `
|
|
279
|
+
| `infino_keyword_search` | `table`, `query`, `k`, `column?`, `mode?`, `columns?` | BM25 full-text search — for exact terms, identifiers, error codes, product names. `score` is a relevance (higher is better). `mode` is `or` (default) or `and`. |
|
|
280
280
|
| `infino_hybrid_search` | `table`, `query`, `k`, `column?`, `vectorColumn?`, `mode?`, `columns?` | **Fused** keyword + semantic search in one ranking pass — BM25 over the text column combined with vector similarity, so rows matching the literal terms *and* the meaning rank highest. `score` is the fused rank (higher is better). |
|
|
281
281
|
| `infino_token_match` | `table`, `query`, `column?`, `mode?`, `limit?` | Unranked keyword filter — the set of rows whose text column contains the token(s). Use when you need the matches, not a relevance order. |
|
|
282
282
|
| `infino_exact_match` | `table`, `value`, `column?`, `limit?` | Unranked exact-equality filter over an indexed column (tag, status, id string). |
|
package/dist/index.js
CHANGED
|
@@ -568,23 +568,19 @@ server.registerTool("infino_keyword_search", {
|
|
|
568
568
|
.enum(["or", "and"])
|
|
569
569
|
.optional()
|
|
570
570
|
.describe("Match any query token ('or', the default) or require every token ('and')."),
|
|
571
|
-
stats: z
|
|
572
|
-
.enum(["per_superfile", "global"])
|
|
573
|
-
.optional()
|
|
574
|
-
.describe("BM25 statistics scope: 'per_superfile' (the default; each segment scored against its own statistics) or 'global' (one table-wide idf, so a table written in many small batches ranks like one corpus)."),
|
|
575
571
|
columns: z
|
|
576
572
|
.array(z.string())
|
|
577
573
|
.optional()
|
|
578
574
|
.describe("Which of the table's columns each hit returns, with full values (a projection passed straight to the engine). Defaults to the searched column; '_id' and 'score' are always included. Any column works: ['id'] for compact hits at a large k, ['id', 'text'] to get the full text alongside an id to cite, ['title', 'created_at'] for metadata. Nothing is truncated; read fewer columns or a smaller k to keep results small."),
|
|
579
575
|
},
|
|
580
|
-
}, async ({ table, query, k, column, mode,
|
|
576
|
+
}, async ({ table, query, k, column, mode, columns }) => {
|
|
581
577
|
try {
|
|
582
578
|
const handle = db.openTable(table);
|
|
583
579
|
const col = column ?? inferTextColumn(handle);
|
|
584
580
|
if (!col) {
|
|
585
581
|
return fail(`keyword_search: no text column found in '${table}' — pass 'column' explicitly.`);
|
|
586
582
|
}
|
|
587
|
-
const { value: results, tookMs } = timed(() => handle.bm25Search(col, query, k, { mode,
|
|
583
|
+
const { value: results, tookMs } = timed(() => handle.bm25Search(col, query, k, { mode, projection: searchProjection(columns, col) }));
|
|
588
584
|
return ok({
|
|
589
585
|
table,
|
|
590
586
|
column: col,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@infino-ai/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.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",
|
|
@@ -58,17 +58,17 @@
|
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
60
|
"@huggingface/transformers": "^4.2.0",
|
|
61
|
-
"@infino-ai/infino": "^0.
|
|
62
|
-
"@modelcontextprotocol/sdk": "^1.
|
|
61
|
+
"@infino-ai/infino": "^0.11.17",
|
|
62
|
+
"@modelcontextprotocol/sdk": "^1.32.0",
|
|
63
63
|
"zod": "^4.6.5"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@eslint/js": "^10.0.1",
|
|
67
67
|
"@types/node": "^26",
|
|
68
|
-
"eslint": "^10.
|
|
69
|
-
"globals": "^17.
|
|
68
|
+
"eslint": "^10.12.0",
|
|
69
|
+
"globals": "^17.13.0",
|
|
70
70
|
"prettier": "^3.9.9",
|
|
71
71
|
"typescript": "^6.0.3",
|
|
72
|
-
"typescript-eslint": "^8.
|
|
72
|
+
"typescript-eslint": "^8.71.0"
|
|
73
73
|
}
|
|
74
74
|
}
|