@codespar/mcp-dock 0.2.0-alpha.2 → 0.2.0-alpha.3
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 +4 -1
- package/package.json +2 -2
- package/server.json +14 -5
- package/src/index.ts +6 -1
package/README.md
CHANGED
|
@@ -143,13 +143,13 @@ PR welcome from anyone with a Dock sandbox.
|
|
|
143
143
|
- TED / bank transfers (non-Pix rails)
|
|
144
144
|
- Credit underwriting endpoints (Dock's credit stack)
|
|
145
145
|
|
|
146
|
-
Want to contribute? [Open a PR](https://github.com/codespar/mcp-dev-
|
|
146
|
+
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).
|
|
147
147
|
|
|
148
148
|
## Links
|
|
149
149
|
|
|
150
150
|
- [Dock](https://www.dock.tech)
|
|
151
151
|
- [Dock Developers](https://developers.dock.tech) (gated — requires merchant login)
|
|
152
|
-
- [MCP Dev
|
|
152
|
+
- [MCP Dev LATAM](https://github.com/codespar/mcp-dev-latam)
|
|
153
153
|
- [Landing Page](https://codespar.dev/mcp)
|
|
154
154
|
|
|
155
155
|
## Enterprise
|
package/dist/index.js
CHANGED
|
@@ -109,7 +109,10 @@ async function dockRequest(method, path, body) {
|
|
|
109
109
|
const text = await res.text();
|
|
110
110
|
return text ? JSON.parse(text) : {};
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
113
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
114
|
+
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).";
|
|
115
|
+
const server = new Server({ name: "mcp-dock", version: "0.2.0" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
|
|
113
116
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
114
117
|
tools: [
|
|
115
118
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codespar/mcp-dock",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
4
|
-
"description": "MCP server for Dock
|
|
3
|
+
"version": "0.2.0-alpha.3",
|
|
4
|
+
"description": "MCP server for Dock — Brazilian Banking-as-a-Service (accounts, Pix, card issuing) for fintechs and embedded-finance products",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"bin": {
|
package/server.json
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
3
|
"name": "io.github.codespar/mcp-dock",
|
|
4
|
-
"description": "MCP server for Dock — Brazilian Banking-as-a-Service
|
|
4
|
+
"description": "MCP server for Dock — Brazilian Banking-as-a-Service: accounts, Pix, card issuing for fintechs",
|
|
5
5
|
"repository": {
|
|
6
|
-
"url": "https://github.com/codespar/mcp-dev-
|
|
6
|
+
"url": "https://github.com/codespar/mcp-dev-latam",
|
|
7
7
|
"source": "github",
|
|
8
8
|
"subfolder": "packages/banking/dock"
|
|
9
9
|
},
|
|
10
|
-
"version": "0.2.0-alpha.
|
|
10
|
+
"version": "0.2.0-alpha.3",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "@codespar/mcp-dock",
|
|
15
|
-
"version": "0.2.0-alpha.
|
|
15
|
+
"version": "0.2.0-alpha.3",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|
|
@@ -40,5 +40,14 @@
|
|
|
40
40
|
}
|
|
41
41
|
]
|
|
42
42
|
}
|
|
43
|
-
]
|
|
43
|
+
],
|
|
44
|
+
"provider": {
|
|
45
|
+
"homepage": "https://www.dock.tech",
|
|
46
|
+
"logoUrl": "https://logo.clearbit.com/dock.tech",
|
|
47
|
+
"logoFallback": "https://www.google.com/s2/favicons?domain=dock.tech&sz=128",
|
|
48
|
+
"docsUrl": "https://docs.dock.tech",
|
|
49
|
+
"sandbox": {
|
|
50
|
+
"available": true
|
|
51
|
+
}
|
|
52
|
+
}
|
|
44
53
|
}
|
package/src/index.ts
CHANGED
|
@@ -118,9 +118,14 @@ async function dockRequest(method: string, path: string, body?: unknown): Promis
|
|
|
118
118
|
return text ? JSON.parse(text) : {};
|
|
119
119
|
}
|
|
120
120
|
|
|
121
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
122
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
123
|
+
const MANAGED_TIER_HINT =
|
|
124
|
+
"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).";
|
|
125
|
+
|
|
121
126
|
const server = new Server(
|
|
122
127
|
{ name: "mcp-dock", version: "0.2.0" },
|
|
123
|
-
{ capabilities: { tools: {} } },
|
|
128
|
+
{ capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT },
|
|
124
129
|
);
|
|
125
130
|
|
|
126
131
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|