Modal MCP Server is an MCP server that integrates Modal cloud infrastructure operations into Model Context Protocol clients like Cursor. It connects directly to the Modal command-line interface, enabling developers and machine learning engineers to manage distributed cloud storage and deploy serverless applications without leaving their code editor. Through standardized tool interfaces, the server exposes operations for listing, exploring, and modifying files stored inside Modal volumes. Users can transfer assets, create directories, duplicate data, or remove remote files programmatically via chat prompts. Additionally, it provides deployment capabilities, allowing users to trigger application deployments for local Python files using Modal environments managed by uv. The server normalizes responses into consistent JSON and execution output objects, making remote cloud development workflows easier to monitor, debug, and automate from within AI-assisted development environments.
Category: Cloud & Infrastructure
Tags: cloud, deployment, modal, serverless, volumes
bash git clone https://github.com/smehmood/modal-mcp-server.git cd modal-mcp-server 2. Install dependencies using uv: bash uv sync 3. Ensure Python 3.11+ is installed and your local Modal CLI is configured with valid credentials. 4. Open your Cursor MCP configuration file (~/.cursor/mcp.json) and add the server entry under mcpServers: 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" ] } } } Replace /path/to/modal-mcp-server with your cloned repository path.Part of MCP Servers
Clone the GitHub repository locally and run uv sync to install the required dependencies. Ensure you have Python 3.11 or higher and an authenticated Modal CLI. Then add the server definition pointing to your uv executable and script path into your ~/.cursor/mcp.json file.
The server enables listing volumes, browsing directory contents, copying files within volumes, uploading local files, downloading volume contents, and deleting remote files. It also allows deploying Modal applications from local file paths provided the target project uses uv and has the modal CLI installed.
Modal MCP Server is specifically documented for configuration in Cursor using its ~/.cursor/mcp.json file. However, because it follows standard Model Context Protocol specifications over stdio, it can also run with other standard MCP-compliant clients.
To deploy an application using the deploy_modal_app tool, your project must use uv for Python dependency management, and the modal CLI package must be installed directly inside that specific project virtual environment.
Yes, Modal MCP Server is open-source software licensed under the MIT License, and its source code is accessible on GitHub.