Skip to main content
Glama

@relbase/mcp

npm version npm downloads license

用于 RelBase 的 MCP 服务器,支持 Cursor 和其他 MCP 客户端。

npm 包:@relbase/mcp

通过 stdio 在本地运行,并使用您的 PRO API 令牌访问 RelBase REST API。

安装

无需单独安装该包 —— Cursor 会通过 npx 自动获取:

npx -y @relbase/mcp

或者全局安装:

npm install -g @relbase/mcp

包页面:https://www.npmjs.com/package/@relbase/mcp

Related MCP server: openEHR MCP Server

环境变量

变量

说明

RELBASE_API_URL

API 基础 URL,默认为 https://relbase.ru

RELBASE_API_TOKEN

来自 RelBase → API 和 MCP 的令牌(必填)

Cursor 配置

~/.cursor/mcp.json 或项目的 MCP 设置:

{
  "mcpServers": {
    "relbase": {
      "command": "npx",
      "args": ["-y", "@relbase/mcp"],
      "env": {
        "RELBASE_API_URL": "https://relbase.ru",
        "RELBASE_API_TOKEN": "1|rb_..."
      }
    }
  }
}

令牌在 RelBase 个人账户中创建(PRO 套餐)。

工具

  • list_diagrams — 获取图表列表

  • get_diagram — 根据 hash 获取图表(包括 DBML)

  • create_diagram — 创建图表

  • update_diagram — 更新图表

  • delete_diagram — 删除图表

  • list_projects — 获取项目列表

链接

许可证

MIT

Related MCP Connectors

Related MCP Servers

  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables interaction with the Onto platform through MCP, providing tools for managing realms, templates, entities, diagrams, and relations.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables MCP clients like Claude Desktop to interact with openEHR REST APIs (EHRbase) for creating compositions, managing EHRs, listing templates, and executing AQL queries.
    18
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables managing Cacoo diagrams, folders, organizations, and account information through MCP tools over HTTP, with OAuth-based authentication, email allowlisting, and support for multiple Cacoo accounts.
    MIT