zrok-mcp
zrok-mcp
OpenZiti上に構築されたオープンソースのセキュア共有プラットフォームzrok用のMCPサーバーです。AIエージェントがzrokのトンネル、共有、アクセスをプログラムで管理できるようにします。
3つのトランスポート(stdio(ローカル)、streamable-http、SSE(リモート/Bifrost))をサポートしています。
ツール
各ツールは action パラメータを使用して操作を選択するため、多数のツール名を覚える必要はありません。
zrok_env — 環境管理
アクション | 説明 |
| 環境ステータスを確認(有効化状態、APIエンドポイント、ID) |
| アカウントトークンを使用してzrok環境を有効化 |
| 現在のzrok環境を無効化 |
zrok_share — 共有管理
アクション | 説明 |
| パブリックまたはプライベート共有を作成 |
| トークンで共有を削除 |
| オプションのフィルターを使用してすべての共有を一覧表示 |
zrok_access — アクセス管理
アクション | 説明 |
| プライベート共有へのアクセスを作成 |
| 共有へのアクセスを削除 |
| オプションのフィルターを使用してすべてのアクセスを一覧表示 |
Related MCP server: env0
要件
Python 3.10+
zrok2 Python SDK
zrokアカウントと有効化された環境
インストール
cd zrok-mcp
pip install -e .実行
トランスポートは ZROK_MCP_TRANSPORT 環境変数(デフォルト: stdio)で選択します。
トランスポート | ユースケース |
| ローカルクライアント(Claude Desktop、Cursor、Crush) |
| リモート / Bifrostゲートウェイ(推奨) |
| リモート / Bifrostゲートウェイ(レガシーSSE) |
STDIO(デフォルト)
zrok-mcpStreamable HTTP(リモート)
ZROK_MCP_TRANSPORT=streamable-http ZROK_MCP_PORT=8000 zrok-mcpDocker(リモート)
docker build -t zrok-mcp .
docker run -p 8000:8000 -v ~/.zrok2:/root/.zrok2 zrok-mcpMCP Inspectorを使用する場合
mcp dev src/zrok_mcp/server.py環境変数
変数 | デフォルト | 説明 |
|
| トランスポート: |
|
| バインドホスト(HTTP/SSEトランスポート) |
|
| バインドポート(HTTP/SSEトランスポート) |
設定
Claude Desktop (stdio)
~/Library/Application Support/Claude/claude_desktop_config.json に追加します:
{
"mcpServers": {
"zrok": {
"command": "uv",
"args": ["--directory", "/path/to/zrok-mcp", "run", "zrok-mcp"]
}
}
}Cursor / Crush (stdio)
Crush設定またはMCP設定に追加します:
{
"zrok": {
"command": "uv",
"args": ["--directory", "/path/to/zrok-mcp", "run", "zrok-mcp"]
}
}Bifrost AI Gateway (streamable-http)
zrok-mcpをリモートHTTPサーバーとしてデプロイします(Docker、Railwayなど)
Bifrost Web UIで、MCP Gateway → New MCP Server に移動します
接続タイプとして HTTP を選択します
URLを入力します:
http://your-zrok-mcp-host:8000/mcptools_to_executeを["*"]に設定します(または必要に応じてフィルタリングします)
または設定ファイル経由:
{
"mcp": {
"mcp_clients": [
{
"name": "zrok",
"connection_type": "http",
"connection_string": "http://your-zrok-mcp-host:8000/mcp",
"tools_to_execute": ["*"]
}
]
}
}SSEトランスポートの場合は、connection_type: "sse" および connection_string: "http://your-zrok-mcp-host:8000/sse" を使用してください。
使用例
設定が完了すると、AIエージェントは以下のような操作が可能になります:
"zrokを使ってローカルサーバーのポート3000をパブリックに共有して"
エージェントは zrok_share(action="create", target="http://localhost:3000") を呼び出し、パブリックURLを返します。
"zrokの共有をすべて一覧表示して"
エージェントは zrok_share(action="list") を呼び出し、トークン、モード、ターゲット、エンドポイントを表示します。
"ポート5432のデータベース用にプライベートTCPトンネルを作成して"
エージェントは zrok_share(action="create", share_mode="private", backend_mode="tcpTunnel", target="localhost:5432") を呼び出します。
ライセンス
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Provides capabilities that let LLM agents perform a range of infrastructure management tasks.
Manage portable AI agent playbooks, Agent Skills, MCP configurations, personas, and memory.
Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.
- mcp-serverOAuthcom.make
Give your AI agents the tools to build, manage, and run automation workflows.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables AI assistants to manage agents, webhooks, and P2P connectivity on the Anycast network, allowing operations like listing agents, creating tokens, and viewing connection stats.9 npmMIT
- AlicenseBqualityAmaintenanceEnables AI agents to manage environments and access resources on the Env0 platform through natural language, including deploying, canceling, and viewing logs of environments, as well as querying Cloud Compass.144Apache 2.0
- AlicenseBqualityCmaintenanceEnables AI agents to directly manage Beyond Identity resources such as identities, groups, applications, SSO configurations, and credentials via natural language tool calls.369 npmApache 2.0

@volter/tunnel-mcpofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to manage account, usage, and abuse operations for the Volter tunnel relay.1,109 npm2Apache 2.0