@codespar/mcp-matera 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
|
@@ -135,13 +135,13 @@ Track the verification work in the repo issues; PR welcome from anyone with a Ma
|
|
|
135
135
|
- Boleto issuance
|
|
136
136
|
- Pix MED (Mecanismo Especial de Devolução) flow
|
|
137
137
|
|
|
138
|
-
Want to contribute? [Open a PR](https://github.com/codespar/mcp-dev-
|
|
138
|
+
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).
|
|
139
139
|
|
|
140
140
|
## Links
|
|
141
141
|
|
|
142
142
|
- [Matera](https://matera.com)
|
|
143
143
|
- [Matera API Documentation](https://doc-api.matera.com)
|
|
144
|
-
- [MCP Dev
|
|
144
|
+
- [MCP Dev LATAM](https://github.com/codespar/mcp-dev-latam)
|
|
145
145
|
- [Landing Page](https://codespar.dev/mcp)
|
|
146
146
|
|
|
147
147
|
## Enterprise
|
package/dist/index.js
CHANGED
|
@@ -144,7 +144,10 @@ async function materaRequest(method, path, body) {
|
|
|
144
144
|
const text = await res.text();
|
|
145
145
|
return text ? JSON.parse(text) : {};
|
|
146
146
|
}
|
|
147
|
-
|
|
147
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
148
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
149
|
+
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).";
|
|
150
|
+
const server = new Server({ name: "mcp-matera", version: "0.2.0" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
|
|
148
151
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
149
152
|
tools: [
|
|
150
153
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codespar/mcp-matera",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
4
|
-
"description": "MCP server for Matera
|
|
3
|
+
"version": "0.2.0-alpha.3",
|
|
4
|
+
"description": "MCP server for Matera — Brazilian core-banking infrastructure (BaaS) for fintechs building on top of Pix, DICT, and Pix Automático",
|
|
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-matera",
|
|
4
|
-
"description": "MCP server for Matera — Brazilian core-banking
|
|
4
|
+
"description": "MCP server for Matera — Brazilian core-banking BaaS over Pix, DICT, and Pix Automático",
|
|
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/matera"
|
|
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-matera",
|
|
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.matera.com",
|
|
46
|
+
"logoUrl": "https://logo.clearbit.com/matera.com",
|
|
47
|
+
"logoFallback": "https://www.google.com/s2/favicons?domain=matera.com&sz=128",
|
|
48
|
+
"docsUrl": "https://docs.matera.com",
|
|
49
|
+
"sandbox": {
|
|
50
|
+
"available": true
|
|
51
|
+
}
|
|
52
|
+
}
|
|
44
53
|
}
|
package/src/index.ts
CHANGED
|
@@ -152,9 +152,14 @@ async function materaRequest(method: string, path: string, body?: unknown): Prom
|
|
|
152
152
|
return text ? JSON.parse(text) : {};
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
156
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
157
|
+
const MANAGED_TIER_HINT =
|
|
158
|
+
"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).";
|
|
159
|
+
|
|
155
160
|
const server = new Server(
|
|
156
161
|
{ name: "mcp-matera", version: "0.2.0" },
|
|
157
|
-
{ capabilities: { tools: {} } },
|
|
162
|
+
{ capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT },
|
|
158
163
|
);
|
|
159
164
|
|
|
160
165
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|