wasabi-mcp
MCP server for Wasabi (S3-compatible hot cloud storage). Exposes theWasabi Stats API's bucket utilization data as an MCP tool.
MSPbots Connector
The MCP Gateway built for MSPs: visible, controlled, and your data stays where it belongs.
MSPbots Connector gives your AI clients one MCP URL to reach your entire MSP stack (RMM, PSA, documentation, security, finance), and gives you control over who can call which tool and a record of everything that was called.
Hosted service: connect.mspbots.ai · Free to use.
Why Connector

| Visible | Every tool call is logged: who, which vendor, when. Usage dashboard, CSV export, SIEM streaming. |
| Controlled | Role-based, per-tool allowlist. Deny by default. |
| Protected | Credentials encrypted per record. AI clients never see your vendor passwords or tokens. |
| MSP-native | Built for the MSP stack only: RMM, PSA, documentation, security, finance. |
Quick start
- Sign up at connect.mspbots.ai.
- Connect your vendors. Pick from 150+ connectors and authorize each one on the vendor's own page, or bring your own API keys. No extra vendor accounts needed.
- Set access. Create roles and decide which tools each role may call. Nothing is allowed until you allow it.
- Add your MCP URL to your AI client. Copy the URL from your Connector dashboard into Claude, ChatGPT, Cursor, VS Code, Gemini, Codex, or any MCP-capable client.
- Ask your AI to do real work, and watch every call appear in the audit log.
Features
Unified gateway
- One MCP URL for all your AI clients
- 150+ connectors across the MSP stack
- Custom MCP servers supported, free
- Authorization happens on each vendor's own page; the AI never sees passwords or tokens
- Bring your own credentials: use the vendor API keys you already have
- Multiple accounts per app; connect once, reuse across AI clients
- Tool search: finds the right action for the task
- One sign-in; vendor credentials are injected behind the scenes and OAuth tokens refresh automatically
Visibility
- Audit log for every tool call (who, which vendor, when)
- Usage dashboard: call volume, top vendors, error rate, per-user activity
- Export audit logs to CSV, or stream to Loki, Graylog, or LogScale (SIEM)
- Optional recording of tool arguments and result summaries (off by default, enabled per organization)
Control
- Per-role, per-tool allowlist, deny by default
- owner / admin / member roles
- SCIM provisioning with Entra ID, Okta, JumpCloud, and Google Workspace
Security
- Credentials encrypted one record at a time (AES-256-GCM, per-record key)
- AI clients authenticate with OAuth 2.1 + PKCE
- Vendor responses are scanned for prompt-injection patterns and returned as structured data. This is one layer of defense, not a guarantee against every attack.
- Static egress IP for customer firewall and API allowlisting
Pricing
Free.
Links: connect.mspbots.ai · mspbots.ai
Overview
- Stateless HTTP service. No credentials are ever persisted — each requestsupplies its own credentials via headers, used only for the lifetime ofthat single request.
- Supports concurrent requests; per-request credential isolation is done viaPython
contextvars, not a global/shared client instance. - Entry points:
POST /mcp(MCP protocol) andGET /health(health check). - Default port:
8080(configurable viaMCP_HTTP_PORT).
Authentication
The Wasabi Stats API (stats.wasabisys.com) — a separate, simpler APIfrom the S3-compatible object storage API — uses a single static header,with no login/token exchange:
Authorization: <AccessKey>:<SecretKey>
The keys used must be Wasabi Root keys, or sub-user keys with an attachedbilling/stats policy (WasabiAccountStatsAccess orWasabiBucketStatsAccess) — plain storage-only keys are rejected. This isalready fully stateless by the vendor's own design; nothing is cachedacross MCP calls.
HEADER authentication parameters
| Header | Type | Required | Default | Allowed values | Description | Example |
|---|---|---|---|---|---|---|
X-Wasabi-Access-Key |
string | Yes | None | None | Wasabi API Access Key (must be a Root key or a key with a billing/stats permission policy) | AGWZ1234567890ABCDEF |
X-Wasabi-Secret-Key |
string | Yes | None | None | Corresponding Secret Key | a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8g9h0 |
Missing either header returns 401:
{
"error": "Missing credentials",
"message": "This server requires the X-Wasabi-Access-Key and X-Wasabi-Secret-Key headers",
"required_headers": ["X-Wasabi-Access-Key", "X-Wasabi-Secret-Key"],
"optional_headers": []
}
Environment Variables
| Variable | Type | Required | Default | Description |
|---|---|---|---|---|
MCP_HTTP_PORT |
int | No | 8080 |
HTTP listen port |
MCP_HTTP_HOST |
string | No | 0.0.0.0 |
HTTP listen address |
WASABI_STATS_BASE_URL |
string | No | https://stats.wasabisys.com |
Wasabi Stats API base URL (independent of the region where the bucket lives; fixed) |
MCP Endpoint
POST /mcp— MCP protocol (streamable HTTP transport)GET /health— health check, returns{"status": "ok"}(pure local probe, does not call the Wasabi API)
Tool List
| Tool | Function | Parameters |
|---|---|---|
wasabi_get_bucket_utilizations |
List daily storage/API call usage records for all buckets in the account | page_size (optional, default 100, hard limit 100 — the per-page limit of the Wasabi Stats API itself), page_num, from_date, to_date (all optional) |
Responses are the vendor's raw JSON ({"PageInfo": {...}, "Records": [...]}), serialized compactly (no indentation, ensure_ascii=False) and capped at 20,000 characters — if the Records list would push the response past that, it is truncated with truncated/truncated_field/original_count markers added to the payload.
Error Handling
On failure, tools return a JSON error envelope (as a string, not a protocol-level error) instead of raising:
{"error": {"code": "upstream_error", "message": "...", "retryable": true}}
code is one of a fixed vocabulary: not_configured, unauthorized, not_found, invalid_argument, rate_limited, upstream_error. retryable tells the caller whether retrying is worthwhile. Empty result sets (no usage records for the requested range) are returned as a normal empty result, not as an error.
Test Example
# Health check
curl -s http://localhost:8080/health
# Call a tool via the MCP protocol (streamable HTTP) — requires an
# initialize handshake first per the MCP spec; abbreviated example below
# shows the tool-call request body only:
curl -s -X POST http://localhost:8080/mcp \
-H "X-Wasabi-Access-Key: <your-access-key>" \
-H "X-Wasabi-Secret-Key: <your-secret-key>" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-H "mcp-session-id: <session-id-from-initialize>" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "wasabi_get_bucket_utilizations",
"arguments": {}
}
}'
Live-verified (2026-07-30) against a real Wasabi account:wasabi_get_bucket_utilizations called end-to-end through this runningserver returned real data — 540 real bucket-utilization records across270 pages, including real bucket names (e.g. "oraclegroup","centrewestib") in the ap-southeast-2 region, with real storage/API-callmetrics.
API Reference
- Public, no login required:
Known Gaps
- Scope is exactly MSPbots' 1 configured endpoint, not the vendor's fullAPI surface — the Wasabi Stats API also offers an account-levelsummary endpoint (
GET /v1/standalone/utilizations) and per-bucketdetail lookups by name or number; those are out of scope here. TheWasabi S3-compatible object storage API (bucket/object CRUD) is anentirely separate API and also out of scope. - The
regionfield MSPbots also stores for this integration is notused by this server — the one endpoint MSPbots actually uses (StatsAPI bucket utilizations) has a fixed base URL(https://stats.wasabisys.com) regardless of which Wasabi region agiven bucket lives in; each returned record already includes its ownRegionfield.regionwould only matter for direct S3-compatibleobject storage calls, which this server does not make. from/todate range defaults are vendor-controlled — if omitted,Wasabi defaults to "one month ago" through "today"; this server does notapply its own default and simply omits the parameter when not provided.