@codespar/mcp-foxbit 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 +2 -2
- package/dist/index.js +4 -1
- package/package.json +2 -2
- package/server.json +13 -4
- package/src/index.ts +6 -1
package/README.md
CHANGED
|
@@ -123,13 +123,13 @@ Merchants and traders use both for best execution and redundancy.
|
|
|
123
123
|
- Institutional / OTC desk integrations
|
|
124
124
|
- WebSocket market data streams (where MCP transport allows)
|
|
125
125
|
|
|
126
|
-
Want to contribute? [Open a PR](https://github.com/codespar/mcp-dev-
|
|
126
|
+
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).
|
|
127
127
|
|
|
128
128
|
## Links
|
|
129
129
|
|
|
130
130
|
- [Foxbit Website](https://foxbit.com.br)
|
|
131
131
|
- [Foxbit API Documentation](https://docs.foxbit.com.br)
|
|
132
|
-
- [MCP Dev
|
|
132
|
+
- [MCP Dev LATAM](https://github.com/codespar/mcp-dev-latam)
|
|
133
133
|
- [Landing Page](https://codespar.dev/mcp)
|
|
134
134
|
|
|
135
135
|
## Enterprise
|
package/dist/index.js
CHANGED
|
@@ -62,7 +62,10 @@ async function foxbitRequest(method, path, query, body) {
|
|
|
62
62
|
}
|
|
63
63
|
return res.json();
|
|
64
64
|
}
|
|
65
|
-
|
|
65
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
66
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
67
|
+
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).";
|
|
68
|
+
const server = new Server({ name: "mcp-foxbit", version: "0.2.1" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
|
|
66
69
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
67
70
|
tools: [
|
|
68
71
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codespar/mcp-foxbit",
|
|
3
|
-
"version": "0.2.
|
|
4
|
-
"description": "MCP server for Foxbit
|
|
3
|
+
"version": "0.2.2",
|
|
4
|
+
"description": "MCP server for Foxbit — Brazilian crypto exchange, trading, orderbook, institutional",
|
|
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-foxbit",
|
|
4
4
|
"description": "MCP server for Foxbit — Brazilian crypto exchange, trading, orderbook, institutional",
|
|
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/crypto/foxbit"
|
|
9
9
|
},
|
|
10
|
-
"version": "0.2.
|
|
10
|
+
"version": "0.2.2",
|
|
11
11
|
"packages": [
|
|
12
12
|
{
|
|
13
13
|
"registryType": "npm",
|
|
14
14
|
"identifier": "@codespar/mcp-foxbit",
|
|
15
|
-
"version": "0.2.
|
|
15
|
+
"version": "0.2.2",
|
|
16
16
|
"transport": {
|
|
17
17
|
"type": "stdio"
|
|
18
18
|
},
|
|
@@ -33,5 +33,14 @@
|
|
|
33
33
|
}
|
|
34
34
|
]
|
|
35
35
|
}
|
|
36
|
-
]
|
|
36
|
+
],
|
|
37
|
+
"provider": {
|
|
38
|
+
"homepage": "https://www.foxbit.com.br",
|
|
39
|
+
"logoUrl": "https://logo.clearbit.com/foxbit.com.br",
|
|
40
|
+
"logoFallback": "https://www.google.com/s2/favicons?domain=foxbit.com.br&sz=128",
|
|
41
|
+
"docsUrl": "https://docs.foxbit.com.br",
|
|
42
|
+
"sandbox": {
|
|
43
|
+
"available": true
|
|
44
|
+
}
|
|
45
|
+
}
|
|
37
46
|
}
|
package/src/index.ts
CHANGED
|
@@ -77,9 +77,14 @@ async function foxbitRequest(
|
|
|
77
77
|
return res.json();
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
81
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
82
|
+
const MANAGED_TIER_HINT =
|
|
83
|
+
"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).";
|
|
84
|
+
|
|
80
85
|
const server = new Server(
|
|
81
86
|
{ name: "mcp-foxbit", version: "0.2.1" },
|
|
82
|
-
{ capabilities: { tools: {} } },
|
|
87
|
+
{ capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT },
|
|
83
88
|
);
|
|
84
89
|
|
|
85
90
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|