A hosted Model Context Protocol server for PrivateByte hosting. Point Claude, Cursor or any MCP client at it and an AI agent can manage your servers, snapshots, backups, firewall, proxies, billing and support tickets.
- Address:
https://mcp.privatebyte.com - Transport: Streamable HTTP (remote). Nothing to install.
- Sign-in: an API key, sent as a Bearer token.
- Registry name:
com.privatebyte/mcp - Documentation:https://privatebyte.com/docs/api#mcp
This repository holds the documentation and the registry listing. The server itself is hosted by PrivateByte and its code is not here.
Create an API key in the client area under Account, API keys. Give it only the permissions the agent should have.
Claude Code
claude mcp add -t http privatebyte https://mcp.privatebyte.com -H "Authorization: Bearer YOUR_API_KEY"
Clients that take a JSON file (Cursor and others)
{
"mcpServers": {
"privatebyte": {
"url": "https://mcp.privatebyte.com",
"headers": { "Authorization": "Bearer YOUR_API_KEY" }
}
}
}
A client connects and lists the tools even with a wrong key. Only the calls fail, so run one tool to check the key.
- The key decides. A read-only key gives a read-only agent. A call the key does not allow is refused.
- Destructive tools are marked. Your client asks you first, and the call must repeat the id of the thing it changes.
- Spending takes a ceiling. Order tools need the most you agree to pay. A higher price is refused.
- Top-ups do not charge.
top_uponly creates an unpaid invoice with a pay link.
44 tools. Each has a title and hints that tell the client whether it only reads.
| Tool | What it does | Kind |
|---|---|---|
list_products |
List products and prices | Reads |
get_product |
Get a product | Reads |
create_server |
Order a new server | Changes |
order_product |
Order a product | Changes |
list_servers |
List servers | Reads |
get_server |
Get a server | Reads |
server_power |
Start, stop or restart a server | Changes |
get_operation |
Check a running operation | Reads |
create_snapshot |
Take a snapshot | Changes |
create_backup |
Start a backup | Changes |
list_snapshots |
List snapshots | Reads |
restore_snapshot |
Restore a snapshot | Changes, asks first |
delete_snapshot |
Delete a snapshot | Changes, asks first |
list_backups |
List backups | Reads |
restore_backup |
Restore a backup | Changes, asks first |
delete_backup |
Delete a backup | Changes, asks first |
firewall |
Manage a server firewall | Changes, asks first |
server_usage |
Server resource usage | Reads |
tickets |
Read and reply to support tickets | Changes |
set_rdns |
Request reverse DNS | Changes |
rename_server |
Rename a server | Changes |
schedules |
Backup and power schedules | Changes |
iso |
Mount or unmount an ISO | Changes, asks first |
top_up |
Create a wallet top-up invoice | Changes |
add_ssh_keys |
Add SSH keys to a server | Changes, asks first |
reinstall_server |
Reinstall a server | Changes, asks first |
reset_server_password |
Reset a server password | Changes, asks first |
open_console |
Open a server console | Changes, asks first |
cancel_service |
Cancel a service | Changes, asks first |
get_balance |
Get wallet balance | Reads |
list_invoices |
List invoices | Reads |
pay_invoice |
Pay an invoice from the wallet | Changes |
proxy_status |
Proxy balance and status | Reads |
proxy_spend |
Proxy spend by tier | Reads |
list_static_proxy_ips |
List static proxy IPs | Reads |
list_proxy_whitelist |
List proxy whitelist | Reads |
add_proxy_whitelist_ip |
Add an IP to the proxy whitelist | Changes, asks first |
remove_proxy_whitelist_ip |
Remove an IP from the proxy whitelist | Changes, asks first |
get_proxy_whitelist_only |
Read whitelist-only mode | Reads |
set_proxy_whitelist_only |
Turn whitelist-only mode on or off | Changes, asks first |
test_proxy |
Send a proxy test request | Changes, asks first |
open_ticket |
Open a support ticket | Changes |
find_operation |
Search API operations | Reads |
call_operation |
Run an API operation | Changes, asks first |
find_operation and call_operation reach every operation of the REST API, for anything without its own tool.
The same API has a command line on npm:
npm install -g privatebyte
pb login
pb servers
https://www.npmjs.com/package/privatebyte
Open a ticket in the client area, or ask the agent to use open_ticket. Issues on this repository are welcome for documentation and client setup problems. Never paste an API key into an issue.