erebrus-mcp
OfficialClick on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@erebrus-mcp create a new organization and generate an API key"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
erebrus-mcp
MCP server so agents can onboard onto Erebrus: authenticate (wallet or email), create orgs, mint API keys and node registration tokens, run nodes (via install plan + registration token), provision VPN clients, and use Drop — against the public gateway API.
Transports
Transport | When to use |
stdio (default) | Most agents/IDEs — Grok, Cursor, Claude Code spawn the process |
HTTP (local) | Allowed — agent or tooling connects to a local MCP URL ( |
Both share the same tools and session auth (wallet/email). You do not need a remote hosted MCP for agents; local stdio or local HTTP is enough. Dockerfile/compose ship the binary for packaging (stdio by default; pass --http if you want a local HTTP listener).
Not exposed: admin, leaderboard/rank/perks/social, deep firewall rule editing, billing webhooks.
Quick start (stdio — default)
# from npm (once published)
npx -y @netsepio/erebrus-mcp
# from clone
npm install && npm run build && node dist/index.jsGrok
# ~/.grok/config.toml
[mcp_servers.erebrus]
command = "npx"
args = ["-y", "@netsepio/erebrus-mcp"]
env = { EREBRUS_GATEWAY_URL = "https://gateway.erebrus.io" }Or pin a local build:
[mcp_servers.erebrus]
command = "node"
args = ["/absolute/path/to/erebrus-mcp/dist/index.js"]
env = { EREBRUS_GATEWAY_URL = "https://gateway.erebrus.io" }Cursor / Claude Code
{
"mcpServers": {
"erebrus": {
"command": "npx",
"args": ["-y", "@netsepio/erebrus-mcp"],
"env": {
"EREBRUS_GATEWAY_URL": "https://gateway.erebrus.io"
}
}
}
}Agents authenticate with tools (wallet or email). No env token required for interactive use.
Related MCP server: dpay-mcp
Local HTTP (optional)
Agents may run the MCP as a local HTTP server and connect with a URL transport:
# from clone
npm run build
node dist/index.js --http
# or: MCP_TRANSPORT=http MCP_PORT=3100 node dist/index.js
# Docker image, HTTP mode
docker run --rm -p 3100:3100 \
-e EREBRUS_GATEWAY_URL=https://gateway.erebrus.io \
ghcr.io/netsepio/erebrus-mcp:latest \
--httpEndpoint:
http://127.0.0.1:3100/mcpHealth:
http://127.0.0.1:3100/healthzOptional gate:
MCP_AUTH_TOKEN→ clients sendAuthorization: Bearer <token>
Example Grok remote-style config against localhost:
[mcp_servers.erebrus_http]
url = "http://127.0.0.1:3100/mcp"
# headers = { Authorization = "Bearer <MCP_AUTH_TOKEN>" } # if setSession auth to the Erebrus gateway is still via wallet/email tools (or optional EREBRUS_BEARER_TOKEN). MCP_AUTH_TOKEN only locks the local MCP HTTP door if you set it.
Optional env (see .env.example):
Env | Use |
| Gateway base (default |
| Optional pre-seeded user PASETO (CI/operators only) |
| Org API key — today only |
| Default |
Auth model
Agents log in via tools, not a pre-shared MCP secret:
Flow | Tools |
Wallet |
|
Email OTP |
|
Import |
|
Status |
|
Successful login stores a user PASETO in the MCP session for that process.EREBRUS_BEARER_TOKEN is an optional env fallback only.
Credential | Source | Use |
Session PASETO | auth tools | Orgs, keys, node tokens, VPN, Drop |
Env PASETO |
| Fallback if no session login |
Org API key |
|
|
Agent responsibilities outside MCP: wallet signing or reading email OTP; choosing a VPS and running the install command from node_install_plan with the registration token.
Tool map
Session / health
gateway_health, whoami, auth_*
Orgs & keys
org_create, org_list, org_get, org_entitlements, apikey_create, apikey_list, apikey_revoke
Nodes
node_registration_token_create, org_nodes_list, org_node_get, operator_nodes_list, nodes_directory, node_install_plan
VPN
vpn_client_list, vpn_client_create, vpn_client_get_config, vpn_client_delete, org_vpn_client_create, org_vpn_client_list, org_usage
Drop
drop_nodes_list, drop_upload_reserve, drop_upload_content, drop_upload_status, drop_files_list, drop_file_get, drop_file_delete, drop_usage, org_drop_files, org_drop_usage
Suggested agent flow
auth_methods→ wallet or email login toolswhoami→org_create/org_listOptional
apikey_create(store secret offline)node_registration_token_create→node_install_plan→ run installer on the agent’s chosen VPSvpn_client_create+vpn_client_get_configDrop:
drop_nodes_list→ reserve → upload content
Develop
npm install
npm run typecheck
npm run build
npm run dev # stdio
node dist/index.js --http # local HTTP on :3100Requirements: Node.js ≥ 20.
Docker image
CI publishes ghcr.io/netsepio/erebrus-mcp (GHCR). Default entrypoint is stdio; pass --http for a local HTTP listener.
docker pull ghcr.io/netsepio/erebrus-mcp:latest
# stdio (attach stdin/stdout)
docker run --rm -i \
-e EREBRUS_GATEWAY_URL=https://gateway.erebrus.io \
ghcr.io/netsepio/erebrus-mcp:latest
# local HTTP
docker run --rm -p 3100:3100 \
-e EREBRUS_GATEWAY_URL=https://gateway.erebrus.io \
ghcr.io/netsepio/erebrus-mcp:latest \
--httpSecurity
HTTP client path allowlist blocks admin/rank/social/firewall-rules/referrals.
One-time secrets (
api_key,ere_reg_*, PASETO) — store offline; avoid chat logs.Drop upload via MCP is capped at ~15MB base64 payload.
Do not commit
.envor long-lived tokens.
CI
CI — typecheck + build on push/PR to
mainDocker — build/push
ghcr.io/netsepio/erebrus-mcponmainand version tagsnpm — publish
@netsepio/erebrus-mcponv*tags whenNPM_TOKENis set
License
MIT (see LICENSE).
Available Tools
40 toolsapikey_createCreate org API keyA
Mint org API key (returned ONCE). Owner only. Useful for long-lived machine VPN/usage via X-Api-Key.
Inputs: name, org_id.
apikey_listList org API keysBRead-only
List key metadata (prefixes only).
Inputs: org_id.
apikey_revokeRevoke org API keyADestructive
Revoke API key by id. Owner only.
Inputs: key_id (required), org_id.
auth_email_login_startEmail login — send OTPA
Passwordless email login: send a 6-digit OTP (POST /api/v2/auth/email/login/start). Public; no prior session.
Inputs: email (required), app.
auth_email_login_verifyEmail login — verify OTPA
Verify email OTP and log in (POST /api/v2/auth/email/login/verify). Stores PASETO in MCP session.
Inputs: code (required), email (required), ref.
auth_import_tokenImport existing PASETOA
Store an already-issued user PASETO in this MCP session (e.g. from a previous login). Prefer wallet/email tools for agents.
Inputs: token (required), user_id.
auth_logoutClear session tokenA
Clear the MCP session PASETO. Env EREBRUS_BEARER_TOKEN fallback (if set) still applies until process exit.
Inputs: no named parameters.
auth_methodsList auth methodsARead-only
Which login methods the gateway has configured (public).
Inputs: no named parameters.
auth_statusAuth session statusARead-only
Show whether this MCP session has a user PASETO (from login tools or EREBRUS_BEARER_TOKEN fallback).
Inputs: no named parameters.
auth_wallet_challengeWallet login challengeA
Start wallet-signature login (GET /api/v2/auth). Returns flow_id + message to sign with the wallet.
Inputs: chain (required), wallet_address (required).
auth_wallet_completeComplete wallet loginB
Complete wallet login (POST /api/v2/auth). Stores the PASETO in this MCP session for subsequent tools.
Inputs: flow_id (required), signature (required), ref, public_key.
drop_file_deleteDelete Drop fileBDestructive
Delete a Drop file by id.
Inputs: file_id (required).
drop_file_getGet Drop file metadataARead-only
Get metadata for one Drop file.
Inputs: file_id (required).
drop_files_listList Drop filesARead-only
List authenticated user's Drop files.
Inputs: no named parameters.
drop_nodes_listList Drop-capable nodesARead-only
List nodes available for Drop uploads (GET /api/v2/drop/nodes). scope=public or private (private requires org_id).
Inputs: scope (required), org_id.
drop_upload_contentUpload Drop file bytesA
PUT raw content for a reserved upload (base64-encoded body, max ~15MB decoded recommended for MCP).
Inputs: upload_id (required), content_base64 (required), content_type.
drop_upload_reserveReserve Drop uploadA
Reserve an upload slot (POST /api/v2/drop/uploads). Then call drop_upload_content with the upload id.
Inputs: node_id (required), size_bytes (required), scope, org_id, +7 more.
drop_upload_statusDrop upload statusARead-only
GET status for a reserved/in-progress upload.
Inputs: upload_id (required).
drop_usageDrop storage usageBRead-only
User Drop usage stats.
Inputs: no named parameters.
gateway_healthGateway healthARead-only
Check gateway liveness, readiness, and build version (public, no auth).
Inputs: no named parameters.
node_install_planNode install runbookARead-only
Build install command + port checklist. Does not SSH. Needs a registration token string.
Inputs: access (required), registration_token (required), drop, zone, +4 more.
node_registration_token_createMint node registration tokenB
Create ere_reg_* token for node install. Returned once. Requires user session.
Inputs: org_id, scopes, peer_id, ttl_hours.
nodes_directoryPublic node directoryCRead-only
Public node directory (GET /api/v2/nodes).
Inputs: region.
operator_nodes_listList operator runtime nodesARead-only
Runtime VPN nodes for orgs the caller belongs to (includes private).
Inputs: no named parameters.
org_createCreate organizationA
Create an organization; caller becomes owner. Requires user session/Bearer.
Inputs: name (required), slug.
org_drop_filesList org Drop filesARead-only
Org-scoped Drop file metadata (GET /orgs/{id}/drop/files).
Inputs: org_id.
org_drop_usageOrg Drop usageARead-only
Org-scoped Drop usage (GET /orgs/{id}/drop/usage).
Inputs: org_id.
org_entitlementsOrg entitlementsCRead-only
Plan entitlements / limits for an org.
Inputs: org_id.
org_getGet organizationARead-only
Get one organization by id.
Inputs: org_id.
org_listList organizationsARead-only
List organizations for the authenticated user.
Inputs: no named parameters.
org_node_getGet org nodeBRead-only
Get one org control-plane node by id.
Inputs: node_id (required), org_id.
org_nodes_listList org control-plane nodesBRead-only
List nodes registered to the org control plane.
Inputs: org_id.
org_usageOrg API — usageARead-only
Org usage via X-Api-Key (GET /api/v2/org/usage) or user Bearer on /orgs/{id}/usage.
Inputs: org_id, period.
org_vpn_client_createOrg API — provision VPN clientA
Provision via org API key route POST /api/v2/org/vpn/clients (X-Api-Key). Requires EREBRUS_API_KEY. Node must belong to the key's org.
Inputs: name (required), node_id (required), wg_public_key (required), wg_preshared_key.
org_vpn_client_listOrg API — list VPN clientsARead-only
List clients for the API key's org (GET /api/v2/org/vpn/clients).
Inputs: no named parameters.
vpn_client_createProvision VPN clientA
Provision a VPN client on a node. Requires name, node_id, and client WireGuard public key. User needs org membership (public nodes) or node org membership (private).
Inputs: name (required), node_id (required), wg_public_key (required), idempotency_key, +1 more.
vpn_client_deleteDelete VPN clientCDestructive
Delete a VPN client by id.
Inputs: client_id (required).
vpn_client_get_configGet VPN client configARead-only
Fetch WireGuard/credentials config for a client (owner/admin).
Inputs: client_id (required).
vpn_client_listList VPN clientsARead-only
List VPN clients for the authenticated user (Bearer session).
Inputs: no named parameters.
whoamiWho am IARead-only
Authenticated user profile. Uses MCP session token or EREBRUS_BEARER_TOKEN. If unauthenticated, returns session status + how to log in.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
Many tools overlap in purpose: multiple node listing tools (org_nodes_list, operator_nodes_list, nodes_directory) and two VPN client creation routes (vpn_client_create, org_vpn_client_create) could confuse an agent. Detailed descriptions help, but the sheer number of similar list/create operations creates ambiguity.
Naming is inconsistent: some tools use noun_verb (org_create, apikey_revoke), others use compound prefixes (drop_upload_content, auth_email_login_start), and a few are standalone (whoami, gateway_health). Verb placement and word order vary, making the pattern hard to predict.
With 40 tools, the server feels over-scoped even for a broad domain like VPN plus file storage. Many tools are near-duplicates distinguished only by auth scope (user vs org vs API key), which could have been consolidated into fewer, more flexible tools.
Core workflows (auth, org creation, VPN client lifecycle, Drop upload/list/delete) are covered, but there are notable gaps: no org update/delete, no node removal, no Drop file download, and no upload cancellation. These missing operations could force agents to use workarounds.
Maintenance
Related MCP Connectors
Tenzro Network MCP server: wallet, identity, payments, inference, staking, bridges, verification.
Secure and manage MCP servers through the Speakeasy AI Control Plane from your agent.
MCP server for Appcircle mobile CI/CD platform.
Hosted MCP server for live Bittensor chain reads and self-custodial on-chain writes.
Related MCP Servers
AlicenseAqualityCmaintenanceMCP server for Ethereum Swarm decentralized storage. Provides 12 tools for uploading and downloading data and files, managing postage stamp batches, and working with Swarm feeds — all via the Bee API. Works with the public Swarm gateway or a local Bee node.79ISC- AlicenseAqualityDmaintenanceAn MCP server for creating, settling, disputing, and refunding escrows on EVM chains.84 npmApache 2.0
- AlicenseNot gradedqualityDmaintenanceMCP server for VoidSend enabling AI agents to send and receive end-to-end encrypted messages.MIT
- AlicenseAqualityBmaintenanceMCP server for Remnawave panel API. Manage VPN users, nodes, hosts, and system stats from Claude Code or any MCP-compatible client.341MIT