返回 MCP 目录
public公开dns本地运行

Render微云平台

与 Render(https://render.com)交互,轻松部署您的服务。

article

README

Render MCP Server

Deploy to Render.com directly through AI assistants.

This MCP (Model Context Protocol) server allows AI assistants like Claude to interact with the Render API, enabling deployment and management of services on Render.com.

Features

  • List all services in your Render account
  • Get details of a specific service
  • Deploy services
  • Create new services
  • Delete services
  • Get deployment history
  • Manage environment variables
  • Manage custom domains

Installation

npm install -g @niyogi/render-mcp

Configuration

  1. Get your Render API key from Render Dashboard
  2. Configure the MCP server with your key:
node bin/render-mcp.js configure --api-key=YOUR_API_KEY

Alternatively, you can run node bin/render-mcp.js configure without the --api-key flag to be prompted for your API key.

Usage

Starting the Server

node bin/render-mcp.js start

Checking Configuration

node bin/render-mcp.js config

Running Diagnostics

node bin/render-mcp.js doctor

Note: If you've installed the package globally, you can also use the shorter commands:

render-mcp start
render-mcp config
render-mcp doctor

Using with Different AI Assistants

Using with Cline

  1. Add the following to your Cline MCP settings file:

    {
      "mcpServers": {
        "render": {
          "command": "node",
          "args": ["/path/to/render-mcp/bin/render-mcp.js", "start"],
          "env": {
            "RENDER_API_KEY": "your-render-api-key"
          },
          "disabled": false,
          "autoApprove": []
        }
      }
    }
    
  2. Restart Cline for the changes to take effect

  3. You can now interact with Render through Claude:

    Claude, please deploy my web service to Render
    

Using with Windsurf/Cursor

  1. Install the render-mcp package:

    npm install -g @niyogi/render-mcp
    
  2. Configure your API key:

    node bin/render-mcp.js configure --api-key=YOUR_API_KEY
    
  3. Start the MCP server in a separate terminal:

    node bin/render-mcp.js start
    
  4. In Windsurf/Cursor settings, add the Render MCP server:

    • Server Name: render
    • Server Type: stdio
    • Command: node
    • Arguments: ["/path/to/render-mcp/bin/render-mcp.js", "start"]
  5. You can now use the Render commands in your AI assistant

Using with Claude API Integrations

For custom applications using Claude's API directly:

  1. Ensure the render-mcp server is running:

    node bin/render-mcp.js start
    
  2. In your application, when sending messages to Claude via the API, include the MCP server connections in your request:

    {
      "mcpConnections": [
        {
          "name": "render",
          "transport": {
            "type": "stdio",
            "command": "node",
            "args": ["/path/to/render-mcp/bin/render-mcp.js", "start"]
          }
        }
      ]
    }
    
  3. Claude will now be able to interact with your Render MCP server

Example Prompts

Here are some example prompts you can use with Claude once the MCP server is connected:

  • "List all my services on Render"
  • "Deploy my web service with ID srv-123456"
  • "Create a new static site on Render from my GitHub repo"
  • "Show me the deployment history for my service"
  • "Add an environment variable to my service"
  • "Add a custom domain to my service"

Development

Building from Source

git clone https://github.com/niyogi/render-mcp.git
cd render-mcp
npm install
npm run build

Running Tests

npm test

License

MIT

help

运行方式说明

cloud

托管运行

托管运行通常表示这个 MCP Server 由服务方环境承载,用户一般按页面提供的连接方式或授权流程接入,不需要在本地长期启动一个 MCP 进程

  1. 打开服务方连接页
  2. 完成授权或复制端点
  3. 在 MCP 客户端中连接
terminal

本地运行 / 其它方式

本地运行通常需要用户在自己的电脑或服务器上安装依赖,把 server_config 复制到 MCP 客户端,并按 env_schema 补齐环境变量、密钥或其它配置

  1. 复制 server_config
  2. 安装所需依赖
  3. 补齐环境变量后重启客户端