@codespar/mcp-andreani 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 +17 -1
- package/dist/index.js +4 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -63,4 +63,20 @@ Uses **Bearer token** authentication. The server logs in with username/password
|
|
|
63
63
|
|
|
64
64
|
---
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
## Enterprise
|
|
67
|
+
|
|
68
|
+
Need governance, budget limits, and audit trails for agent payments? [CodeSpar Enterprise](https://codespar.dev/enterprise) adds policy engine, payment routing, and compliance templates on top of these MCP servers.
|
|
69
|
+
|
|
70
|
+
## Authentication
|
|
71
|
+
|
|
72
|
+
Set these environment variables before launching the server:
|
|
73
|
+
|
|
74
|
+
- `ANDREANI_API_KEY` *(required, secret)* — API key for Andreani
|
|
75
|
+
- `ANDREANI_USER` *(required)* — Username for Andreani
|
|
76
|
+
- `ANDREANI_PASSWORD` *(required, secret)* — Password for Andreani
|
|
77
|
+
|
|
78
|
+
Issue credentials at the provider's developer portal: <https://developers.andreani.com>.
|
|
79
|
+
|
|
80
|
+
## License
|
|
81
|
+
|
|
82
|
+
MIT
|
package/dist/index.js
CHANGED
|
@@ -72,7 +72,10 @@ async function andreaniRequest(method, path, body) {
|
|
|
72
72
|
}
|
|
73
73
|
return res.json();
|
|
74
74
|
}
|
|
75
|
-
|
|
75
|
+
// Managed-tier pointer surfaced to the agent via MCP `instructions`.
|
|
76
|
+
// Informational only — nothing CodeSpar-hosted is called (MIT-safe).
|
|
77
|
+
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).";
|
|
78
|
+
const server = new Server({ name: "mcp-andreani", version: "0.2.0-alpha.2" }, { capabilities: { tools: {} }, instructions: MANAGED_TIER_HINT });
|
|
76
79
|
server.setRequestHandler(ListToolsRequestSchema, async () => ({
|
|
77
80
|
tools: [
|
|
78
81
|
{
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codespar/mcp-andreani",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
4
|
-
"description": "MCP server for Andreani
|
|
3
|
+
"version": "0.2.0-alpha.3",
|
|
4
|
+
"description": "MCP server for Andreani — Argentine courier and logistics",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"bin": {
|