MCP Server Modal

local-only server

The server can only run on the client’s local machine because it depends on local resources.

Integrations

  • Allows users to deploy Python scripts to Modal, creating and sharing serverless cloud applications with a generated link that can be shared with others.

mcp-服务器-模式

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

MCP 服务器允许用户将 Python 脚本部署到模式

安装

确保模式已设置:

pip install modal python3 -m modal setup

然后在 Claude 桌面应用程序中使用文件系统服务器设置服务器:

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

用法

在 Claude 中,输入一个 Python 脚本,让它创建一个模态应用并部署。代码生成后,您将获得一个模态应用的链接,您可以试用并与他人分享。

发展

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-modal run modal-server
-
security - not tested
F
license - not found
-
quality - not tested

MCP 服务器允许用户直接从 Claude 将 Python 脚本部署到 Modal,并提供可与他人共享的已部署应用程序的链接。

  1. Installation
    1. Usage
      1. Development
        ID: 9w1qwxyep9