Back to MCP directory
publicPublicdnsLocal runtime

restate-mcp-server

这是一个MCP服务器项目,通过MCP协议暴露Restate Admin API作为工具,支持管理服务部署、调用操作及状态查询等基础功能。

article

README

🚀 重新表述操作 MCP 服务器

这是一个 MCP 服务器,它将 Re:state 管理控制台 API 公开,作为工具运行在 MCP 上,为用户提供便利的服务管理功能。

🚀 快速开始

📦 构建服务器

执行以下命令来构建服务器:

npm run clean-install && npm run build

📝 注册 MCP 服务器

在相关配置文件中添加如下内容以注册 MCP 服务器:

{
  "mcpServers": {
    "restate": {
      "command": "node",
      "args": [".../restate-mcp-server/dist/index.js"]
    }
  }
}

✨ 主要特性

目前该工具支持的功能虽较为基础,但已涵盖了最常见的操作:

  • 服务管理与部署:可对服务进行管理和部署,还能更新配置设置。
  • 服务调用操作:能够列出、取消或终止服务调用。
  • 状态与属性查询:可查询 KV 状态以及其他通过 introspection schema 暴露的属性。

你可以尝试以下操作指令:

你能列出我的 Re:state 服务吗? 部署一个运行在...的服务 更新幂等性保留为...

help

Runtime guide

cloud

Hosted runtime

Hosted servers run from a provider-managed environment. You usually connect the MCP client to the hosted endpoint or follow the provider's authorization flow, without keeping a local process alive

  1. Open provider connection page
  2. Authorize or copy endpoint
  3. Connect from your MCP client
terminal

Local runtime / other methods

Local servers run on your own machine or infrastructure. You normally copy the server_config into your MCP client, install the required package, and provide env variables from env_schema when needed

  1. Copy server_config
  2. Install required package
  3. Fill env variables and restart client