@rcs-campaigns/agent-toolkit 0.1.5 → 0.1.6

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
@@ -79,6 +79,11 @@ A healthy response lists `grantedScopes` and the tool catalog. If you get
79
79
 
80
80
  ## Add to an MCP host
81
81
 
82
+ Listed in the official **MCP Registry** as `com.rcs-campaigns/campaigns`, so
83
+ hosts that browse the registry can install it without being told the package
84
+ name.
85
+
86
+
82
87
  ### Claude Code
83
88
 
84
89
  ```bash
@@ -1 +1 @@
1
- {"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../src/openapi.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,yEAAyE;AACzE,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAMhC,8EAA8E;AAC9E,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD;AAED,6DAA6D;AAC7D,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAEnD;AAwfD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,aAAa,EAAE,EACxB,OAAO,GAAE,mBAAwB,GAChC,IAAI,CAmFN"}
1
+ {"version":3,"file":"openapi.d.ts","sourceRoot":"","sources":["../src/openapi.ts"],"names":[],"mappings":"AA0BA,MAAM,WAAW,aAAa;IAC5B,GAAG,EAAE,MAAM,CAAC;IACZ,WAAW,EAAE,MAAM,CAAC;CACrB;AAED,MAAM,WAAW,mBAAmB;IAClC;;;;;;;;;OASG;IACH,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,yEAAyE;AACzE,KAAK,IAAI,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;AAMhC,8EAA8E;AAC9E,wBAAgB,aAAa,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAElD;AAED,6DAA6D;AAC7D,wBAAgB,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,EAAE,CAEnD;AA2fD;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,aAAa,EAAE,EACxB,OAAO,GAAE,mBAAwB,GAChC,IAAI,CAmFN"}
package/dist/openapi.js CHANGED
@@ -69,8 +69,11 @@ function tagFor(tool) {
69
69
  return 'Templates';
70
70
  case 'surveys':
71
71
  return 'Surveys';
72
+ // The ROUTE stays `/messages/send` and the scope stays `messages:send` —
73
+ // both are published contracts. Only the docs tag follows the product,
74
+ // which calls this surface Campaigns (MSG-1867).
72
75
  case 'messages':
73
- return 'Messages';
76
+ return 'Campaigns';
74
77
  case 'media':
75
78
  return 'Media';
76
79
  case 'audiences':
@@ -546,7 +549,7 @@ function buildOpenApiDocument(servers, options = {}) {
546
549
  { name: 'Discovery', description: 'What this key may do, and this document.' },
547
550
  { name: 'Templates', description: 'Author, render, submit and clone templates.' },
548
551
  { name: 'Surveys', description: 'Author, submit, send and read conversational surveys.' },
549
- { name: 'Messages', description: 'Send an approved template to a list of numbers.' },
552
+ { name: 'Campaigns', description: 'Send an approved template to a list of numbers.' },
550
553
  { name: 'Conversations', description: 'Read threads, reply into them, hand them over.' },
551
554
  { name: 'Contacts', description: 'The org-level person record behind every audience.' },
552
555
  { name: 'Audiences', description: 'Saved contact lists.' },
@@ -568,9 +571,9 @@ function buildOpenApiDocument(servers, options = {}) {
568
571
  description: 'The remote MCP server is an OAuth 2.1 authorization server with PKCE and Dynamic Client Registration. Access tokens look like `rcso_at_…` and resolve to the same org + scopes as a key.',
569
572
  flows: {
570
573
  authorizationCode: {
571
- authorizationUrl: 'https://mcp.rcs-templates.com/oauth/authorize',
572
- tokenUrl: 'https://mcp.rcs-templates.com/oauth/token',
573
- refreshUrl: 'https://mcp.rcs-templates.com/oauth/token',
574
+ authorizationUrl: 'https://mcp.rcs-campaigns.com/oauth/authorize',
575
+ tokenUrl: 'https://mcp.rcs-campaigns.com/oauth/token',
576
+ refreshUrl: 'https://mcp.rcs-campaigns.com/oauth/token',
574
577
  scopes: Object.fromEntries([...new Set(tools_1.TOOLS.map((t) => t.scope))]
575
578
  .filter((scope) => scope !== '(none)')
576
579
  .sort()
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@rcs-campaigns/agent-toolkit",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
+ "mcpName": "com.rcs-campaigns/campaigns",
4
5
  "description": "Agent skins for the RCS Campaigns gateway: an MCP server (rcs-mcp / wa-mcp) and a CLI (rcs / wa) over one shared client.",
5
6
  "license": "UNLICENSED",
6
7
  "author": "Rethink AI",