Skip to main content
Glama

mcp-sandbox-server

AIエージェントに対して、サンドボックスホストへの認証済みシェルアクセスとファイルアクセスを提供するリモートMCP(Model Context Protocol)サーバーです。さらに、フルアクセスを決して持たせてはならない本番ホストに対し、デプロイをトリガーする安全で限定的な経路も用意します。

機能

  • 中核のMCPツールrun_commandread_filewrite_filelist_directory)をStreamable HTTPで公開し、エージェントがサンドボックス上で直接コードをビルド/テストできるようにします。

  • 最小構成のOAuth 2.0認可サーバーをゼロから実装。動的クライアント登録(RFC 7591)、単一の管理者認証情報で保護された認可エンドポイント、PKCE対応のトークンエンドポイントを備えます。MCPクライアント(claude.aiのコネクタUIなど)は、貼り付けられたベアラートークンではなく、完全なOAuthフローを期待するためです。したがって、管理者が1人だけのセットアップであっても、サーバー側はOAuthフローに対応する必要があります。

  • 2つ目の、より機密性の高いホストへの制限付きゲートウェイbiscuit_statusbiscuit_logsbiscuit_deploy など)。エージェントを境界内に留めることをツールコードだけに頼るのではなく、実際の境界はもう一段下のレイヤーにあります。対象ホストの authorized_keys において専用のSSHキーが command="..." により制限されており、そのキーでクライアントが何を送信しても、実行できるのは固定されたホワイトリスト登録済みスクリプトの1本だけです。ここでのツールコードは文字通りアクション文字列を組み立てるだけで、セキュリティ境界を担うのは強制コマンド(forced command)の方です。

Related MCP server: Shellgate

なぜこのような構成なのか

興味深い制約は、同じエージェントに2つのまったく異なる信頼レベルが必要だったことです。使い捨てのサンドボックスでは、フルで無制限のシェル。一方、本番サービスが稼働しているホスト上では、事前に承認された読み取り中心の限られた数件の操作のみ。エージェントの振る舞い(プロンプトやツールの説明など)をサンドボックス化しようとするのではなく、この設計では実際の境界を、エージェントが何を送信しようともOSが強制するレイヤーに押し下げています。すなわち、強制SSHコマンドと、パストラバーサルを検査するホワイトリストスクリプトです。

技術スタック

Node.js、Express、@modelcontextprotocol/sdk、Zod。データベースは不使用——認証状態はサーバーの隣に置かれた小さなJSONファイルに永続化されます。

注記

これは、実際に本番稼働しているサーバーから余計な部分を削り、識別子を取り除いたコピーです。実際のホスト名・IP・内部プロジェクト名はプレースホルダ(your-production-server-ipproject-a / project-b / project-c など)に置き換えられています。

F
license - not found
Not graded
quality - not tested
C
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    B
    quality
    A
    maintenance
    Provides policy-driven, auditable SSH access to server fleets for AI assistants with zero-trust security controls, command whitelisting, and comprehensive audit logging to safely manage infrastructure.
    13
    27
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    A secure gateway that lets AI agents interact with APIs and SSH servers via scoped tokens, with credential injection, human-in-the-loop for dangerous commands, and MCP integration for tool access.
    10
    15
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to securely execute SSH commands on remote servers with connection pooling, session isolation, and a web audit panel.
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Let AI operate servers without SSH. Choose actions, approve risky changes, and audit every step.

  • Operate Linux, macOS and Windows from your LLM. Every action runs through an auditable allowlist.

  • The bridge from K2 agents through Wrangler to your master AI - safe, approval-gated Cloudflare ops.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/enes-sakin-dev/mcp-sandbox-server-showcase'

If you have feedback or need assistance with the MCP directory API, please join our Discord server