Add CUD operations to homelab-mcp server
Add upsert_context, update_context, and delete_context tools to complete CRUD functionality. Upserts use deterministic IDs based on source+section+host for idempotency. Updates support metadata-only patches or full re-embedding when text changes.
This commit is contained in:
22
package.json
Normal file
22
package.json
Normal file
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"name": "homelab-mcp",
|
||||
"version": "1.0.0",
|
||||
"description": "MCP server for homelab context search via Qdrant",
|
||||
"type": "module",
|
||||
"main": "dist/index.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
"start": "node dist/index.js",
|
||||
"dev": "tsx src/index.ts"
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.12.1",
|
||||
"@qdrant/js-client-rest": "^1.13.0",
|
||||
"zod": "^3.24.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "^22.0.0",
|
||||
"tsx": "^4.19.0",
|
||||
"typescript": "^5.7.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user