Modal MCP Server
モーダルMCPサーバー
モーダル ボリュームと対話し、カーソル内からモーダル アプリケーションを展開するための MCP サーバー実装。
インストール
このリポジトリをクローンします:
git clone https://github.com/smehmood/modal-mcp-server.git
cd modal-mcp-serveruvを使用して依存関係をインストールします。
uv syncRelated MCP server: Coolify MCP Server
構成
Cursor でこの MCP サーバーを使用するには、 ~/.cursor/mcp.jsonに次の構成を追加します。
{
"mcpServers": {
"modal-mcp-server": {
"command": "uv",
"args": [
"--project", "/path/to/modal-mcp-server",
"run", "/path/to/modal-mcp-server/src/modal_mcp/server.py"
]
}
}
}/path/to/modal-mcp-serverクローンしたリポジトリへの絶対パスに置き換えます。
要件
Python 3.11以上
uvパッケージマネージャー有効な資格情報で構成されたモーダル CLI
モーダルデプロイのサポート:
デプロイされるプロジェクトは依存関係の管理に
uvを使用する必要がありますモーダルはプロジェクトの仮想環境にインストールする必要があります
サポートされているツール
モーダルボリューム操作
モーダルボリュームの一覧表示(
list_modal_volumes)環境内のすべてのモーダルボリュームを一覧表示します
JSON形式のボリューム情報を返します
パラメータ: なし
ボリュームの内容の一覧表示(
list_modal_volume_contents)モーダルボリューム内のファイルとディレクトリを一覧表示します
パラメータ:
volume_name: モーダルボリュームの名前path: ボリューム内のパス(デフォルト: "/")
ファイルのコピー(
copy_modal_volume_files)モーダルボリューム内のファイルをコピーします
パラメータ:
volume_name: モーダルボリュームの名前paths: 最後のパスが宛先であるパスのリスト
例:
["source.txt", "dest.txt"]または["file1.txt", "file2.txt", "dest_dir/"]
ファイルを削除(
remove_modal_volume_file)モーダルボリュームからファイルまたはディレクトリを削除します
パラメータ:
volume_name: モーダルボリュームの名前remote_path: 削除するファイル/ディレクトリへのパスrecursive: 再帰削除のブールフラグ(デフォルト: false)
ファイルのアップロード(
put_modal_volume_file)ファイルまたはディレクトリをモーダルボリュームにアップロードします
パラメータ:
volume_name: モーダルボリュームの名前local_path: アップロードするローカルファイル/ディレクトリへのパスremote_path: アップロード先のボリューム内のパス(デフォルト: "/")force: 既存のファイルを上書きするためのブールフラグ(デフォルト: false)
ファイルをダウンロード(
get_modal_volume_file)モーダルボリュームからファイルをダウンロードします
パラメータ:
volume_name: モーダルボリュームの名前remote_path: ダウンロードするボリューム内のファイル/ディレクトリへのパスlocal_destination: ダウンロードしたファイルを保存するローカルパス(デフォルト: 現在のディレクトリ)force: 既存のファイルを上書きするためのブールフラグ(デフォルト: false)
注: ファイルの内容を標準出力に書き込むには、
local_destinationとして "-" を使用します。
モーダル展開
モーダルアプリをデプロイする(
deploy_modal_app)モーダルアプリケーションを展開する
パラメータ:
absolute_path_to_app: モーダルアプリケーションファイルへの絶対パス
注: モーダル アプリを含むプロジェクトでは次の条件を満たす必要があります。
依存関係の管理には
uvを使用するmodalCLIを仮想環境にインストールする
応答フォーマット
すべてのツールは、操作の種類に応じて若干の違いはあるものの、標準化された形式で応答を返します。
# JSON operations (list volumes, list contents):
{
"success": True,
"data": {...} # JSON data from Modal CLI
}
# File operations (put, get, copy, remove):
{
"success": True,
"message": "Operation successful message",
"command": "executed command string",
"stdout": "command output", # if any
"stderr": "error output" # if any
}
# Error case (all operations):
{
"success": False,
"error": "Error message describing what went wrong",
"command": "executed command string", # for file operations
"stdout": "command output", # if available
"stderr": "error output" # if available
}貢献
貢献を歓迎します!お気軽にプルリクエストを送信してください。
ライセンス
このプロジェクトは MIT ライセンスに基づいてライセンスされています - 詳細についてはLICENSEファイルを参照してください。
Maintenance
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
- FlicenseDqualityFmaintenanceAn MCP server that allows users to deploy Python scripts to Modal directly from Claude, providing a link to the deployed application that can be shared with others.14
- AlicenseNot gradedqualityCmaintenanceAn MCP server that enables AI assistants to manage infrastructure, applications, databases, and services through the Coolify PaaS platform.74MIT
- AlicenseAqualityDmaintenanceAn MCP server that enables AI applications to access 20+ model providers (including OpenAI, Anthropic, Google) through a unified interface for text and image generation.230MIT
- AlicenseAqualityBmaintenanceAn MCP server for managing Modal — apps, containers, volumes, and secrets — and for deploying & running Modal apps directly from Claude Code and other MCP clients.26MIT
Related MCP Connectors
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Cloud-hosted MCP server for durable AI memory
MCP server for secureFlows: token-free URL builders and integration-linting tools for AI agents.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/smehmood/modal-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server