Flux159

Provides a Modal-based MCP server to deploy Python scripts to Modal and manage a filesystem-backed workflow.
  • other

0

GitHub Stars

other

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "mcp-mirror-flux159_mcp-server-modal": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/mcp-server-modal",
        "run",
        "modal-server"
      ]
    }
  }
}

You run an MCP server that lets you deploy Python scripts to Modal, bridging your client workflows with Modal’s scripting environment for easy, serverless execution.

How to use

You integrate the modal-based MCP server into your client workflow by configuring your MCP client to connect via the provided stdio endpoints. The two endpoints let you run the Modal deployment locally and enable a filesystem-backed API that the client can leverage to store scripts and access resources. Use the Modal MCP server to deploy Python scripts to Modal and share the resulting application links with colleagues for testing and collaboration.

How to install

Prerequisites you need before proceeding: you must have Python and Modal installed on your system, and a runtime capable of launching MCP servers via stdio.

Install Modal and set it up locally with the following commands:

pip install modal
python3 -m modal setup

Then, configure your MCP client with the two MCP server entries shown below. Use the exact command and arguments to ensure proper startup.

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

Notes

The modal-based server uses a local stdio interface, so the startup commands must be executed from your environment where the MCP client runs. The filesystem server entry demonstrates how you can couple a local filesystem-backed service with your Modal deployment workflow.

Development

If you want to inspect or debug the MCP server setup, you can run the inspector tool to validate the modal server configuration.

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-modal run modal-server
Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational