@genlobe/mcp-server 3.3.1 → 3.4.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 +2 -2
- package/dist/index.js +12 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -72,7 +72,7 @@ Edit `claude_desktop_config.json`:
|
|
|
72
72
|
|
|
73
73
|
| Variable | Required | Value |
|
|
74
74
|
|---|---|---|
|
|
75
|
-
| `SAAS_API_URL` |
|
|
75
|
+
| `SAAS_API_URL` | no | Defaults to `https://api-core.genlobe.ai`. Override only if you point at a local or on-prem backend. |
|
|
76
76
|
| `SAAS_API_KEY` | optional | Your Genlobe API key. Accepts both `pk_live_*` (public) and `sk_live_*` (secret). Without it, only the offline documentation tools work — the four live tools (`validate_credentials`, `list_end_users`, `list_oauth_providers`, `get_openapi_spec`) need it. |
|
|
77
77
|
|
|
78
78
|
`API_URL` and `API_KEY` (without the `SAAS_` prefix) are accepted as aliases for backward compatibility.
|
|
@@ -133,7 +133,7 @@ For targeted questions ("how do I list organizations?"), `search_endpoints` + `g
|
|
|
133
133
|
## Support
|
|
134
134
|
|
|
135
135
|
- Sign up and manage API keys: [genlobe.ai](https://genlobe.ai)
|
|
136
|
-
- Issues and feature requests: [github.com/KleioTechnology/saas-multi-agent-tenant-ui/issues](https://github.com/KleioTechnology/saas-multi-agent-tenant-ui/issues)
|
|
136
|
+
- Issues and feature requests: [github.com/KleioTechnology/saas-multi-agent-tenant-ui/issues](https://github.com/KleioTechnology/saas-multi-agent-tenant-ui/issues)
|
|
137
137
|
|
|
138
138
|
---
|
|
139
139
|
|
package/dist/index.js
CHANGED
|
@@ -29,7 +29,12 @@ import { createRequire } from "module";
|
|
|
29
29
|
const require = createRequire(import.meta.url);
|
|
30
30
|
const pkg = require("../package.json");
|
|
31
31
|
const SERVER_VERSION = pkg.version;
|
|
32
|
-
|
|
32
|
+
// Default to the public Genlobe API for npm-distributed installs (#268). A
|
|
33
|
+
// developer who installs this package and forgets to set SAAS_API_URL gets
|
|
34
|
+
// a working install pointed at production instead of `connection refused`.
|
|
35
|
+
// Override with `SAAS_API_URL=http://localhost:8001` when running against
|
|
36
|
+
// a local backend in development.
|
|
37
|
+
const API_URL = process.env.SAAS_API_URL || process.env.API_URL || "https://api-core.genlobe.ai";
|
|
33
38
|
const API_KEY = process.env.SAAS_API_KEY || process.env.API_KEY || "";
|
|
34
39
|
// Cache for API responses
|
|
35
40
|
const cache = new Map();
|
|
@@ -1190,20 +1195,24 @@ const END_USER_ENDPOINTS = {
|
|
|
1190
1195
|
{
|
|
1191
1196
|
id: "uuid",
|
|
1192
1197
|
tenant_id: "uuid",
|
|
1198
|
+
organization_id: "uuid - Org this agent belongs to. Tenant-catalog agents live in the Tenant's root Org; private agents live in customer Orgs (ADR-0006 v2 Hybrid Catalog)",
|
|
1199
|
+
is_public: "boolean - true when this agent is in the Tenant's catalog (visible to all customer Orgs of the Tenant)",
|
|
1200
|
+
forked_from_agent_id: "uuid | null - if this agent is a fork of a catalog agent, points to the source. Forks are independent (no template sync)",
|
|
1193
1201
|
name: "string",
|
|
1194
1202
|
description: "string | null",
|
|
1195
1203
|
system_prompt: "string",
|
|
1196
1204
|
response_type: "text | audio | video",
|
|
1197
1205
|
rag_provider: "NONE | GOOGLE_FILE_SEARCH",
|
|
1206
|
+
rag_role: "string | null - declarative tag matched against KnowledgeBase.role_tag in the caller's Org at runtime. Replaces the legacy single-store rag_config.store_id path (closes cross-org RAG leak G5)",
|
|
1198
1207
|
is_active: "boolean",
|
|
1199
|
-
rag_config: "object | null",
|
|
1208
|
+
rag_config: "object | null - DEPRECATED. New agents should use rag_role + a per-Org KnowledgeBase",
|
|
1200
1209
|
mcp_servers: "array of MCP server configs",
|
|
1201
1210
|
created_by: "uuid",
|
|
1202
1211
|
created_at: "ISO datetime",
|
|
1203
1212
|
updated_at: "ISO datetime"
|
|
1204
1213
|
}
|
|
1205
1214
|
],
|
|
1206
|
-
note: "Returns only active agents
|
|
1215
|
+
note: "Returns only active agents visible to the calling Organization: the Org's own private agents UNION public agents in the Tenant's catalog (root Org). End-user JWT context determines the Org via current_user.default_organization_id."
|
|
1207
1216
|
},
|
|
1208
1217
|
{
|
|
1209
1218
|
method: "GET",
|
package/package.json
CHANGED