@codespar/mcp-banco-do-brasil 0.1.0-alpha.3 → 0.1.0-alpha.4

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 CHANGED
@@ -172,7 +172,10 @@ async function bbRequest(method, path, body) {
172
172
  }
173
173
  return res.json();
174
174
  }
175
- const server = new Server({ name: "mcp-banco-do-brasil", version: "0.1.0-alpha.2" }, { capabilities: { tools: {} } });
175
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
176
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
177
+ 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).";
178
+ const server = new Server({ name: "mcp-banco-do-brasil", version: "0.1.0-alpha.2" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
176
179
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
177
180
  tools: [
178
181
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codespar/mcp-banco-do-brasil",
3
- "version": "0.1.0-alpha.3",
3
+ "version": "0.1.0-alpha.4",
4
4
  "description": "MCP server for Banco do Brasil — Brazil's top public bank. Pix, Cobrança (boleto), Conta-Corrente, and Arrecadação via BB's Developer Portal APIs (OAuth2 + mTLS).",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/server.json CHANGED
@@ -7,12 +7,12 @@
7
7
  "source": "github",
8
8
  "subfolder": "packages/banking/banco-do-brasil"
9
9
  },
10
- "version": "0.1.0-alpha.3",
10
+ "version": "0.1.0-alpha.4",
11
11
  "packages": [
12
12
  {
13
13
  "registryType": "npm",
14
14
  "identifier": "@codespar/mcp-banco-do-brasil",
15
- "version": "0.1.0-alpha.3",
15
+ "version": "0.1.0-alpha.4",
16
16
  "transport": {
17
17
  "type": "stdio"
18
18
  },
package/src/index.ts CHANGED
@@ -196,9 +196,14 @@ async function bbRequest(method: string, path: string, body?: unknown): Promise<
196
196
  return res.json();
197
197
  }
198
198
 
199
+ // Managed-tier pointer surfaced to the agent via MCP `instructions`.
200
+ // Informational only — nothing CodeSpar-hosted is called (MIT-safe).
201
+ const MANAGED_TIER_HINT =
202
+ "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).";
203
+
199
204
  const server = new Server(
200
205
  { name: "mcp-banco-do-brasil", version: "0.1.0-alpha.2" },
201
- { capabilities: { tools: {} } }
206
+ { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT }
202
207
  );
203
208
 
204
209
  server.setRequestHandler(ListToolsRequestSchema, async () => ({