@xache/mcp-server 0.4.0 → 0.6.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
@@ -182,6 +182,78 @@ Extract insights from this API integration session and contribute any valuable p
182
182
  Domain: "api-integration"
183
183
  ```
184
184
 
185
+ ### Knowledge Graph
186
+
187
+ #### `xache_graph_extract`
188
+
189
+ Extract entities and relationships from text into the knowledge graph.
190
+
191
+ **Parameters:**
192
+ - `trace` (required): The text to extract entities from
193
+ - `domain` (optional): Domain hint (e.g., "engineering", "customer-support")
194
+ - `mode` (optional): LLM mode - "byok" or "xache-managed"
195
+ - `provider` (optional): LLM provider
196
+ - `model` (optional): Specific model to use
197
+
198
+ #### `xache_graph_load`
199
+
200
+ Load the full knowledge graph.
201
+
202
+ **Parameters:**
203
+ - `entityTypes` (optional): Filter to specific entity types
204
+ - `validAt` (optional): Load graph at a specific time (ISO8601)
205
+
206
+ #### `xache_graph_query`
207
+
208
+ Query the knowledge graph around a specific entity.
209
+
210
+ **Parameters:**
211
+ - `startEntity` (required): Entity name to start from
212
+ - `depth` (optional): Number of hops (default: 2)
213
+
214
+ #### `xache_graph_ask`
215
+
216
+ Ask a natural language question about the knowledge graph.
217
+
218
+ **Parameters:**
219
+ - `question` (required): The question to ask
220
+ - `mode` (optional): LLM mode
221
+ - `provider` (optional): LLM provider
222
+
223
+ #### `xache_graph_add_entity`
224
+
225
+ Add an entity to the knowledge graph.
226
+
227
+ **Parameters:**
228
+ - `name` (required): Entity name
229
+ - `type` (required): Entity type (person, organization, tool, concept, etc.)
230
+ - `summary` (optional): Brief description
231
+
232
+ #### `xache_graph_add_relationship`
233
+
234
+ Create a relationship between two entities.
235
+
236
+ **Parameters:**
237
+ - `fromEntity` (required): Source entity name
238
+ - `toEntity` (required): Target entity name
239
+ - `type` (required): Relationship type (works_at, knows, uses, manages, etc.)
240
+ - `description` (optional): Relationship description
241
+
242
+ #### `xache_graph_merge_entities`
243
+
244
+ Merge two entities into one. The source is superseded and the target is updated.
245
+
246
+ **Parameters:**
247
+ - `sourceName` (required): Entity to merge FROM
248
+ - `targetName` (required): Entity to merge INTO
249
+
250
+ #### `xache_graph_entity_history`
251
+
252
+ Get the full version history of an entity.
253
+
254
+ **Parameters:**
255
+ - `name` (required): Entity name to look up
256
+
185
257
  ### Reputation
186
258
 
187
259
  #### `xache_check_reputation`
package/dist/index.d.ts CHANGED
@@ -16,6 +16,7 @@
16
16
  * XACHE_PRIVATE_KEY - Private key for signing (stays local, never transmitted)
17
17
  * XACHE_API_URL - API URL (default: https://api.xache.xyz)
18
18
  * XACHE_CHAIN - Chain type: 'base' or 'solana' (default: base)
19
+ * XACHE_ENCRYPTION_KEY - Optional encryption key for client-side encryption
19
20
  *
20
21
  * Optional extraction environment variables:
21
22
  * For api-key mode (major providers - we know their endpoints):