Skip to main content
Glama

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

Related MCP server: Fused MCP Agents

用法

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

发展

npx @modelcontextprotocol/inspector uv --directory /path/to/mcp-server-modal run modal-server
Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Flux159/mcp-server-modal'

If you have feedback or need assistance with the MCP directory API, please join our Discord server