P

mcp-server-modal

...
Created 12/11/2024byFlux159

Language:

Python

Stars:

4

Forks:

2

mcp-server-modal

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

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

Installation

Make sure that modal is setup:

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"
			]
		}
   }
}

Usage

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.

Development

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-modal run modal-server
Last updated: 2/16/2025

Publisher info

Flux159's avatar

Suyog Sonwalkar

AI developer, Python, Javascript / React

Ex-Facebook, Ex-Oscar
San Francisco, CA
19
followers
11
following
41
repos

More MCP servers built with Python

MCP Server for Bing Webmaster Tools

An MCP (Model Context Protocol) server that provides access to Bing Webmaster Tools functionality

By isiahw1
usgs-water-mcp

This MCP server provides access to real-time water data from the USGS Water Services API. It allows you to fetch instantaneous water measurements including stream flow, gage height, temperature, and other water quality parameters from thousands of monitoring stations across the United States.

By pgiffy
screeny

Privacy-focused macOS MCP server for secure, user-approved window screenshots

By rohanrav