StealthSurf MCP Server
An MCP server that enables AI agents to manage VPN configurations, cloud servers, and account settings through the StealthSurf API. It supports natural language commands for tasks such as creating VPN configs, managing cloud server orders, and performing device security audits.
README
StealthSurf MCP Server
MCP (Model Context Protocol) server for StealthSurf VPN API. Allows AI agents (Claude Desktop, Cursor, etc.) to manage VPN configs, cloud servers, paid options, and more through natural language.
Architecture
Thin stateless proxy: MCP tool calls → HTTP requests to StealthSurf API.
MCP Client (Claude Desktop / Cursor)
│ POST / (Authorization: Bearer stlth_...)
▼
StealthSurf MCP Server (this service)
│ HTTP (Authorization: Bearer stlth_...)
▼
StealthSurf API
Setup
# Install dependencies
yarn install
# Development
yarn dev
# Production
yarn build && yarn start
Environment Variables
| Variable | Default | Description |
|---|---|---|
STEALTHSURF_API_URL |
https://api.stealthsurf.app |
API base URL |
PORT |
4500 |
HTTP server port |
MCP Client Configuration
Claude Desktop
Add to ~/.claude/settings.json:
{
"mcpServers": {
"stealthsurf": {
"url": "https://mcp.stealthsurf.app",
"headers": {
"Authorization": "Bearer stlth_your_api_key_here"
}
}
}
}
Getting an API Key
- Go to StealthSurf dashboard → Profile → API Keys
- Create a new key (name it anything)
- Copy the
stlth_*key (shown only once)
Resources (4)
Reference data accessible without API calls.
| URI | Description |
|---|---|
stealthsurf://guide |
Full StealthSurf documentation |
stealthsurf://updates |
Latest updates and changelog |
stealthsurf://errors |
API error codes reference |
stealthsurf://protocols |
VPN protocol comparison and compatibility matrix |
Prompts (11)
Workflow templates that guide AI agents through multi-step scenarios.
| Prompt | Description |
|---|---|
setup-vpn |
Interactive VPN config creation wizard |
troubleshoot |
Step-by-step connection issue diagnostics |
optimize-for-region |
Protocol recommendations by region |
account-overview |
Full account status report |
bulk-renew |
Batch renewal of expiring configs |
setup-family |
Custom subscription for sharing |
setup-cloud-server |
Full VPS setup wizard |
switch-protocol |
Bulk protocol migration |
setup-bridge |
Dual-hop bridge creation |
device-audit |
Device security audit |
xray-config |
Custom XRay configuration guide |
Available Tools (92)
VPN Configs (15)
configs_list— List VPN configurationsconfigs_create— Create a new VPN configconfigs_renew— Renew a config subscriptionconfigs_get_tariffs— Get available tariffsconfigs_get_available_servers— Get available serversconfigs_get_server_stats— Get server statisticsconfigs_update_settings— Update config settingsconfigs_update_xray_config— Update custom XRay configconfigs_change_title— Change config titleconfigs_toggle_auto_renewal— Toggle auto-renewalconfigs_make_bridge— Create dual-hop bridgeconfigs_get_subconfig— Get subconfig (proxy)configs_create_subconfig— Create subconfigconfigs_update_subconfig— Update subconfigconfigs_delete_subconfig— Delete subconfig
Cloud Servers (17)
cloud_servers_list— List cloud serverscloud_servers_create_order— Create server ordercloud_servers_renew— Renew servercloud_servers_reboot— Reboot servercloud_servers_get_stats— Get server statscloud_servers_toggle_auto_renewal— Toggle auto-renewalcloud_configs_list— List configs on servercloud_configs_create— Create config on servercloud_configs_change_protocol— Change config protocolcloud_configs_update_xray— Update XRay configcloud_configs_change_title— Change config titlecloud_configs_delete— Delete configcloud_proxies_list— List proxiescloud_proxies_create— Create proxycloud_proxies_change_protocol— Change proxy protocolcloud_proxies_change_title— Change proxy titlecloud_proxies_delete— Delete proxy
Paid Options (22)
paid_options_list— List paid optionspaid_options_create_order— Create/renew paid optionpaid_options_get_tariffs— Get tariffspaid_options_get_devices— Get devicespaid_options_delete_device— Delete devicepaid_options_delete_all_devices— Delete all devicespaid_options_get_subscription— Get subscription infopaid_options_update_limits— Update limitspaid_options_update_title— Update titlepaid_options_delete_title— Reset titlepaid_options_get_stats— Get statspaid_options_toggle_auto_renewal— Toggle auto-renewalpaid_option_configs_get_available_servers— Get serverspaid_option_configs_create— Create configpaid_option_configs_get_subconfig— Get subconfigpaid_option_configs_create_subconfig— Create subconfigpaid_option_configs_update_subconfig— Update subconfigpaid_option_configs_delete_subconfig— Delete subconfigpaid_option_configs_update_settings— Update settingspaid_option_configs_update_xray— Update XRaypaid_option_configs_change_title— Change titlepaid_option_configs_get_stats— Get stats
Profile (30)
profile_get— Get profile infoprofile_get_notification_settings— Get notification settingsprofile_update_notification_settings— Update settingsprofile_regenerate_subscription_link— Regenerate URLprofile_get_notifications— Get notificationsprofile_connect_telegram— Create Telegram codeprofile_check_telegram— Check Telegram connectionprofile_disconnect_telegram— Disconnect Telegramdevices_list— List devicesdevices_get_settings— Get device settingsdevices_update_settings— Update device settingsdevices_set_blocked— Block/unblock devicedevices_delete— Delete devicedevices_delete_all— Delete all devicesbalance_calculate— Calculate topup pricesbalance_topup— Topup balancereferral_get_data— Get referral datareferral_get_sbp_banks— Get SBP bank listreferral_withdraw_sbp— Withdraw via SBPreferral_withdraw_card— Withdraw via cardpayments_history_list— Payment historypromocodes_list— Purchased promocodescustom_subscriptions_list— List subscriptionscustom_subscriptions_get_available_items— Get itemscustom_subscriptions_create— Create subscriptioncustom_subscriptions_get— Get subscriptioncustom_subscriptions_update_title— Update titlecustom_subscriptions_update_items— Replace itemscustom_subscriptions_reset_key— Regenerate keycustom_subscriptions_delete— Delete subscription
Utility (2)
locations_list— List server locationsxray_generate_keys— Generate XRay key pair
Docker
docker build -t stealthsurf-mcp .
docker run -p 3000:3000 \
-e STEALTHSURF_API_URL=https://api.stealthsurf.app \
stealthsurf-mcp
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。