drio
Open app

mcp-server-modal

Source

Mirror of

Catalog onlyCatalog onlySTDIO

Overview

The mcp-server-modal is a server that enables users to deploy Python scripts to Modal, facilitating the creation and sharing of modal applications.

To use mcp-server-modal, ensure that Modal is set up on your system, then configure the server with the necessary commands in your Claude desktop app. You can then provide a Python script to Claude, which will generate and deploy a modal application for you.

  • Easy deployment of Python scripts to Modal. - Integration with Claude for seamless application creation. - Command-line setup for server configuration.
  1. Deploying machine learning models as modal applications.
  2. Creating web applications using Python scripts.
  3. Sharing interactive Python applications with others.

Add to your AI client

Use these steps to connect mcp-server-modal in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "flux159-mcp-server-modal-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flux159-mcp-server-modal-mcp-mirror"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "flux159-mcp-server-modal-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flux159-mcp-server-modal-mcp-mirror"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "flux159-mcp-server-modal-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flux159-mcp-server-modal-mcp-mirror"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "flux159-mcp-server-modal-mcp-mirror": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flux159-mcp-server-modal-mcp-mirror"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "flux159-mcp-server-modal-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flux159-mcp-server-modal-mcp-mirror"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "flux159-mcp-server-modal-mcp-mirror": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-flux159-mcp-server-modal-mcp-mirror"
      ]
    }
  }
}

FAQ

What is Modal?

Modal is a platform that allows users to run and share applications easily.

Do I need to install anything to use mcp-server-modal?

Yes, you need to install Modal and set up the server as per the instructions provided.

Can I deploy any Python script?

Yes, as long as the script is compatible with Modal, you can deploy it.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":737,"uuid":"1e68a528-c6e9-442b-9435-0e6c922d4085","name":"Flux159_mcp-server-modal","title":"mcp-server-modal","description":"Mirror of","avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","created_at":"2024-12-30T03:28:01.858+00:00","updated_at":"2025-02-23T07:18:50.852+00:00","status":"created","author_name":"MCP-Mirror","author_avatar_url":"https://avatars.githubusercontent.com/u/192820360?v=4","tags":"mcp-server-modal,python-deployment,modal","category":"developer-tools","is_featured":false,"sort":1,"url":"https://github.com/MCP-Mirror/Flux159_mcp-server-modal","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]