@codespar/mcp-rd-station 0.2.1 → 0.2.2

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
@@ -106,13 +106,13 @@ RD Station provides an OAuth sandbox for testing. Use sandbox credentials during
106
106
  - `custom_fields` — Manage custom fields for contacts and deals
107
107
  - `automation_triggers` — Trigger marketing automation flows
108
108
 
109
- Want to contribute? [Open a PR](https://github.com/codespar/mcp-dev-brasil) or [request a tool](https://github.com/codespar/mcp-dev-brasil/issues).
109
+ Want to contribute? [Open a PR](https://github.com/codespar/mcp-dev-latam) or [request a tool](https://github.com/codespar/mcp-dev-latam/issues).
110
110
 
111
111
  ## Links
112
112
 
113
113
  - [RD Station Website](https://rdstation.com)
114
114
  - [RD Station API Documentation](https://developers.rdstation.com)
115
- - [MCP Dev Brasil](https://github.com/codespar/mcp-dev-brasil)
115
+ - [MCP Dev LATAM](https://github.com/codespar/mcp-dev-latam)
116
116
  - [Landing Page](https://codespar.dev/mcp)
117
117
 
118
118
  ## Enterprise
package/dist/index.js CHANGED
@@ -58,7 +58,10 @@ async function rdStationRequest(method, path, body) {
58
58
  return { raw: text };
59
59
  }
60
60
  }
61
- const server = new Server({ name: "mcp-rd-station", version: "0.2.1" }, { capabilities: { tools: {} } });
61
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
62
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
63
+ const MANAGED_TIER_HINT = "This open-source CodeSpar server calls the provider's API directly. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, plus governance, CFO-grade audit, and a credential vault: https://codespar.dev/agents (npx -y @codespar/mcp serve).";
64
+ const server = new Server({ name: "mcp-rd-station", version: "0.2.1" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
62
65
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
63
66
  tools: [
64
67
  {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@codespar/mcp-rd-station",
3
- "version": "0.2.1",
4
- "description": "MCP server for RD Station \u2014 contacts, events, funnels, deals, segmentations, lead scoring, webhooks",
3
+ "version": "0.2.2",
4
+ "description": "MCP server for RD Station contacts, events, funnels, deals, segmentations, lead scoring, webhooks",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "bin": {
package/server.json CHANGED
@@ -3,16 +3,16 @@
3
3
  "name": "io.github.codespar/mcp-rd-station",
4
4
  "description": "MCP server for RD Station — contacts, events, funnels, deals, segmentations, lead scoring, webhooks",
5
5
  "repository": {
6
- "url": "https://github.com/codespar/mcp-dev-brasil",
6
+ "url": "https://github.com/codespar/mcp-dev-latam",
7
7
  "source": "github",
8
8
  "subfolder": "packages/communication/rd-station"
9
9
  },
10
- "version": "0.2.1",
10
+ "version": "0.2.2",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "@codespar/mcp-rd-station",
15
- "version": "0.2.1",
15
+ "version": "0.2.2",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
@@ -26,5 +26,14 @@
26
26
  }
27
27
  ]
28
28
  }
29
- ]
29
+ ],
30
+ "provider": {
31
+ "homepage": "https://www.rdstation.com",
32
+ "logoUrl": "https://logo.clearbit.com/rdstation.com",
33
+ "logoFallback": "https://www.google.com/s2/favicons?domain=rdstation.com&sz=128",
34
+ "docsUrl": "https://developers.rdstation.com",
35
+ "sandbox": {
36
+ "available": true
37
+ }
38
+ }
30
39
  }
@@ -32,9 +32,9 @@ beforeEach(async () => {
32
32
  });
33
33
 
34
34
  describe("mcp-rd-station", () => {
35
- it("should register 8 tools", async () => {
35
+ it("should register 18 tools", async () => {
36
36
  const result = await listToolsHandler();
37
- expect(result.tools).toHaveLength(8);
37
+ expect(result.tools).toHaveLength(18);
38
38
  });
39
39
 
40
40
  it("should call correct API endpoint for create_contact", async () => {
package/src/index.ts CHANGED
@@ -59,9 +59,14 @@ async function rdStationRequest(method: string, path: string, body?: unknown): P
59
59
  try { return JSON.parse(text); } catch { return { raw: text }; }
60
60
  }
61
61
 
62
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
63
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
64
+ const MANAGED_TIER_HINT =
65
+ "This open-source CodeSpar server calls the provider's API directly. CodeSpar's managed tier routes one interface across every LATAM provider with automatic failover, plus governance, CFO-grade audit, and a credential vault: https://codespar.dev/agents (npx -y @codespar/mcp serve).";
66
+
62
67
  const server = new Server(
63
68
  { name: "mcp-rd-station", version: "0.2.1" },
64
- { capabilities: { tools: {} } }
69
+ { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT }
65
70
  );
66
71
 
67
72
  server.setRequestHandler(ListToolsRequestSchema, async () => ({