@topolo/mcp 0.2.0 → 0.2.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/dist/index.js +20 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -427,6 +427,26 @@ var TOOLS = [
|
|
|
427
427
|
},
|
|
428
428
|
handler: async (topolo) => topolo.identity.whoami()
|
|
429
429
|
},
|
|
430
|
+
{
|
|
431
|
+
name: "topolo_list_services",
|
|
432
|
+
title: "List every Topolo service the agent can reach",
|
|
433
|
+
description: "Returns the service registry the SDK knows about: one entry per platform service with its stable service ID and current base URL. Use this to discover what `topolo_api_call` can address \u2014 the service IDs returned here are the exact values accepted by that tool. Pure metadata: no credential introspection, no permission check, no external call.",
|
|
434
|
+
requiredScopes: [],
|
|
435
|
+
destructive: false,
|
|
436
|
+
inputSchema: {
|
|
437
|
+
type: "object",
|
|
438
|
+
properties: {},
|
|
439
|
+
additionalProperties: false
|
|
440
|
+
},
|
|
441
|
+
handler: async () => {
|
|
442
|
+
const services = Object.keys(DEFAULT_SERVICE_URLS).sort().map((id) => ({
|
|
443
|
+
id,
|
|
444
|
+
defaultUrl: DEFAULT_SERVICE_URLS[id],
|
|
445
|
+
effectiveUrl: resolveServiceUrl(id)
|
|
446
|
+
}));
|
|
447
|
+
return { services };
|
|
448
|
+
}
|
|
449
|
+
},
|
|
430
450
|
{
|
|
431
451
|
name: "topolo_crm_list_contacts",
|
|
432
452
|
title: "List CRM contacts",
|
package/package.json
CHANGED