feat(translate-mcp): scaffold per-tenant translation MCP (CF-3122)
Node.js MCP server exposing translate/search_tm/upsert_glossary/record_correction over StreamableHTTP on :9222. Routes translation calls to gemini-2.5-flash via LiteLLM, augmented with per-tenant TM + glossary + tone profile from the SmartTranslate pgvector DB. Schema migration in sql/001_schema.sql already applied to smarttranslate DB. Fleet registration in Infrastructure/litellm/config.yaml. Refs: CF-3122 CF-3123 CF-3124 CF-3125
This commit is contained in:
18
package.json
Normal file
18
package.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"name": "translate-mcp",
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"description": "Per-tenant translation MCP (TM + glossary + tone) routed to gemini-2.5-flash via LiteLLM",
|
||||
"main": "src/server.js",
|
||||
"scripts": {
|
||||
"start": "node src/http-server.js",
|
||||
"start:http": "node src/http-server.js"
|
||||
},
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.0.4",
|
||||
"@sentry/node": "^10.39.0",
|
||||
"express": "^4.19.2",
|
||||
"pg": "^8.13.1",
|
||||
"pgvector": "^0.2.0"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user