Modal (Serverless Python)

by flux159

4 stars
Not rated
GitHub

About

Integrates with Modal's serverless platform to deploy and execute Python scripts in the cloud, enabling efficient distributed computing and data processing.

Details

Author
flux159
Repository
Flux159/mcp-server-modal
GitHub stars
4
Categories
Cloud Service, Infrastructure, Design, Workplace, Developer Tools, AI, API, Automation

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Modal (Serverless Python)
    Command (node, npx, python, etc.) uv
    Arguments
    • Argument 1 --directory
    • Argument 2 /path/to/mcp-server-modal
    • Argument 3 run
    • Argument 4 modal-server

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "modal (serverless python)": {
            "cwd": null,
            "env": {},
            "args": [
                "--directory",
                "/path/to/mcp-server-modal",
                "run",
                "modal-server"
            ],
            "shell": false,
            "command": "uv"
        }
    }
}

Linux

{
    "cwd": null,
    "env": [],
    "args": [
        "--directory",
        "/path/to/mcp-server-modal",
        "run",
        "modal-server"
    ],
    "shell": false,
    "command": "uv"
}

Macos

{
    "cwd": null,
    "env": [],
    "args": [
        "--directory",
        "/path/to/mcp-server-modal",
        "run",
        "modal-server"
    ],
    "shell": false,
    "command": "uv"
}

Windows

{
    "cwd": null,
    "env": [],
    "args": [
        "--directory",
        "/path/to/mcp-server-modal",
        "run",
        "modal-server"
    ],
    "shell": false,
    "command": "uv"
}

https://docs.google.com/document/d/1DcrSKbcsXrzCoyMe0XtAsDcE3IgBV1bLirUG80VxPq8/edit?tab=t.0

An MCP Server that allows users to deploy python scripts tomodal.

pip install modal python3 -m modal setup

Then setup the server with the filesystem server in your Claude desktop app:

{ "mcpServers": { "mcp-server-modal": { "command": "uv", "args": [ "--directory", "/path/to/mcp-server-modal", "run", "modal-server" ] }, "filesystem": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-filesystem", "/Users/user/Desktop/", "/path/to/other/dir" ] } } }

In claude, give a python script and ask it to create a modal application and deploy it for you. After code generation, you will get a link to the modal application which you can try out and share with others.

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-modal run modal-server

Core AWS MCP server providing prompt understanding and server management capabilities.

An MCP service for deploying HTML content to EdgeOne Pages and obtaining a publicly accessible URL.

Create, build, deploy, and manage Netlify resources using natural language.

An MCP server for 1Panel, a modern Linux server operation and maintenance panel.

An authentication-free, remote MCP server designed for deployment on Cloudflare Workers.

An authentication-free, remote MCP server designed for deployment on Cloudflare Workers.

A remote MCP server without authentication, deployable on Cloudflare Workers.

An authentication-free, remote MCP server designed for easy deployment on Cloudflare Workers.

A remote MCP server for Cloudflare Workers that does not require authentication.

An example MCP server deployed on Cloudflare Workers, without authentication.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.