@hydradb/mcp 1.3.0 → 1.4.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.
- package/CHANGELOG.md +30 -0
- package/README.md +33 -2
- package/dist/adapters.d.ts +3 -3
- package/dist/adapters.js.map +1 -1
- package/dist/config.d.ts +21 -2
- package/dist/config.js +18 -4
- package/dist/config.js.map +1 -1
- package/dist/descriptions.d.ts +34 -0
- package/dist/descriptions.js +74 -1
- package/dist/descriptions.js.map +1 -1
- package/dist/http-config.d.ts +6 -1
- package/dist/http-config.js +9 -6
- package/dist/http-config.js.map +1 -1
- package/dist/hydra/client.d.ts +194 -5
- package/dist/hydra/client.js +136 -9
- package/dist/hydra/client.js.map +1 -1
- package/dist/hydra/graph.d.ts +1 -5
- package/dist/hydra/graph.js +5 -92
- package/dist/hydra/graph.js.map +1 -1
- package/dist/hydra/index.d.ts +3 -1
- package/dist/hydra/index.js +1 -0
- package/dist/hydra/index.js.map +1 -1
- package/dist/hydra/transport.d.ts +37 -0
- package/dist/hydra/transport.js +114 -0
- package/dist/hydra/transport.js.map +1 -0
- package/dist/server.js +241 -1
- package/dist/server.js.map +1 -1
- package/dist/tool-names.d.ts +4 -1
- package/dist/tool-names.js +10 -0
- package/dist/tool-names.js.map +1 -1
- package/package.json +2 -2
package/dist/tool-names.js
CHANGED
|
@@ -12,10 +12,17 @@ export const TOOL_NAMES = {
|
|
|
12
12
|
INSPECT: "hydradb_inspect",
|
|
13
13
|
DELETE: "hydradb_delete",
|
|
14
14
|
STATUS: "hydradb_status",
|
|
15
|
+
// The connected subgraph of one item (PRO-1848): what it links to, what
|
|
16
|
+
// shares its thread, what it is a parent or child of. A read over the
|
|
17
|
+
// memory/knowledge corpora, so it belongs to this family and not to the
|
|
18
|
+
// BYOG graph tools below, which address a different store.
|
|
19
|
+
SUBGRAPH: "hydradb_subgraph",
|
|
15
20
|
// Discovery: which databases this connection can address. Exists so an
|
|
16
21
|
// agent working across several databases can find their names without
|
|
17
22
|
// asking the user, and so a confined connection can see its own limits.
|
|
18
23
|
DATABASES: "hydradb_databases",
|
|
24
|
+
LIST_COLLECTIONS: "hydradb_list_collections",
|
|
25
|
+
DELETE_COLLECTION: "hydradb_delete_collection",
|
|
19
26
|
// BYOG graph tools (PRO-1681). A separate family with its own prefix: these
|
|
20
27
|
// address graph collections the user models and writes in Cypher, which are
|
|
21
28
|
// a different namespace from the memory/knowledge corpora above. Sharing a
|
|
@@ -41,6 +48,9 @@ export const CANONICAL_TOOL_NAMES = [
|
|
|
41
48
|
TOOL_NAMES.INSPECT,
|
|
42
49
|
TOOL_NAMES.DELETE,
|
|
43
50
|
TOOL_NAMES.STATUS,
|
|
51
|
+
TOOL_NAMES.SUBGRAPH,
|
|
52
|
+
TOOL_NAMES.LIST_COLLECTIONS,
|
|
53
|
+
TOOL_NAMES.DELETE_COLLECTION,
|
|
44
54
|
];
|
|
45
55
|
/**
|
|
46
56
|
* Registered only for connections established through OAuth, where the user
|
package/dist/tool-names.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-names.js","sourceRoot":"","sources":["../src/tool-names.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,EAAE;AACF,6EAA6E;AAC7E,8EAA8E;AAC9E,uEAAuE;AACvE,8EAA8E;AAE9E,MAAM,CAAC,MAAM,UAAU,GAAG;IACzB,2BAA2B;IAC3B,KAAK,EAAE,eAAe;IACtB,MAAM,EAAE,gBAAgB;IACxB,IAAI,EAAE,cAAc;IACpB,OAAO,EAAE,iBAAiB;IAC1B,MAAM,EAAE,gBAAgB;IACxB,MAAM,EAAE,gBAAgB;IACxB,uEAAuE;IACvE,sEAAsE;IACtE,wEAAwE;IACxE,SAAS,EAAE,mBAAmB;
|
|
1
|
+
{"version":3,"file":"tool-names.js","sourceRoot":"","sources":["../src/tool-names.ts"],"names":[],"mappings":"AAAA,6CAA6C;AAC7C,EAAE;AACF,6EAA6E;AAC7E,8EAA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E,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC/B,UAAU,CAAC,WAAW;IACtB,UAAU,CAAC,iBAAiB;IAC5B,UAAU,CAAC,WAAW;CACb,CAAC;AAEX,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACpC,UAAU,CAAC,MAAM;IACjB,UAAU,CAAC,KAAK;IAChB,UAAU,CAAC,mBAAmB;IAC9B,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,YAAY;IACvB,UAAU,CAAC,aAAa;IACxB,UAAU,CAAC,aAAa;CACf,CAAC;AAEX,2EAA2E;AAC3E,MAAM,CAAC,MAAM,kBAAkB,GAA2B;IACzD,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,KAAK;IACrC,CAAC,UAAU,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,MAAM;IACrC,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAAE,UAAU,CAAC,MAAM;IACnD,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,IAAI;IAC3C,CAAC,UAAU,CAAC,YAAY,CAAC,EAAE,UAAU,CAAC,IAAI;IAC1C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,OAAO;IAC9C,CAAC,UAAU,CAAC,aAAa,CAAC,EAAE,UAAU,CAAC,MAAM;CAC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hydradb/mcp",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "MCP server for Hydra DB: State-of-the-art agentic memory with recall, ingest, and knowledge graph context",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"lint": "biome lint src tests conformance scripts"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@hydradb/sdk": "2.1.
|
|
35
|
+
"@hydradb/sdk": "2.1.4",
|
|
36
36
|
"@modelcontextprotocol/sdk": "^1.21.1",
|
|
37
37
|
"cors": "^2.8.6",
|
|
38
38
|
"express": "^5.2.1",
|