Skip to main content
Glama
personaleasy-mcp-server

personaleasy-mcp-server

by marqprochat

personaleasy-mcp-server

PersonalEasy | EasyDental Cloud | DentalKids API 的 MCP 服务器。

工具

工具

描述

参数

personaleasy_get_agendamentos

查询指定时段内的预约记录

dt_inicio, dt_termino (YYYY-MM-DD), nm_unidade (可选)

personaleasy_get_kpi_producao

仪表板的生产力 KPI 指标

dt_inicio, dt_termino, nm_unidade (可选), nm_prestador (可选)

personaleasy_get_prestador_por_cpf

通过 CPF 查询服务商 ID 和姓名

cpf (格式 999.999.999-99)

personaleasy_get_unidades

获取活跃的服务单位列表

—

所有工具均为只读 (readOnlyHint: true)。

Related MCP server: open-dental-mcp

安装

npm install
npm run build

凭据

凭据永不存储在代码中。通过环境变量配置:

  • PERSONALEASY_API_KEY — API 密钥 (请求头 x-api-key)

  • PERSONALEASY_CLIENT_ID — 客户端 ID

  • PERSONALEASY_BASE_URL — 可选,默认值为 https://prsrb.onrender.com/v1/rpc

本地测试时,将 .env.example 复制为 .env 并填写。.env 已在 .gitignore 中——不要对其进行版本控制或共享。

在 Claude Code 中配置

claude mcp add personaleasy --env PERSONALEASY_API_KEY=SUA_KEY --env PERSONALEASY_CLIENT_ID=SEU_CLIENT_ID -- node D:/MCPS/personaleasy-mcp-server/dist/index.js

在 Claude Desktop 中配置

在 claude_desktop_config.json 中:

{
  "mcpServers": {
    "personaleasy": {
      "command": "node",
      "args": ["D:/MCPS/personaleasy-mcp-server/dist/index.js"],
      "env": {
        "PERSONALEASY_API_KEY": "SUA_KEY",
        "PERSONALEASY_CLIENT_ID": "SEU_CLIENT_ID"
      }
    }
  }
}

在 Easypanel (Docker) 上部署

该项目有两种运行模式:

  • stdio (dist/index.js) — 本地使用 (Claude Code / Claude Desktop)

  • HTTP (dist/http.js) — 远程使用;这是 Dockerfile 使用的模式

在 Easypanel 中,创建一个指向此仓库的 App 类型服务(通过 Dockerfile 构建)并配置环境变量:

变量

必填

描述

PERSONALEASY_API_KEY

是

API 的 api-key

PERSONALEASY_CLIENT_ID

是

客户端 ID

MCP_AUTH_TOKEN

推荐

/mcp 端点所需的 Bearer 令牌(生成一个长的随机值)

PORT

否

默认 3000

在服务中暴露端口 3000。端点:

  • POST /mcp — MCP 端点 (Streamable HTTP, 无状态)

  • GET /health — 健康检查

生产环境实例

  • 基础 URL: https://dk-projetos-mcps.nv8gf3.easypanel.host

  • 健康检查: GET https://dk-projetos-mcps.nv8gf3.easypanel.host/health → {"status":"ok"}

  • MCP 端点: POST https://dk-projetos-mcps.nv8gf3.easypanel.host/mcp

将 MCP 客户端连接到此实例:

claude mcp add --transport http personaleasy https://dk-projetos-mcps.nv8gf3.easypanel.host/mcp --header "Authorization: Bearer SEU_MCP_AUTH_TOKEN"

将 SEU_MCP_AUTH_TOKEN 替换为在 Easypanel 服务的 MCP_AUTH_TOKEN 变量中配置的值。

重要提示: 如果服务未配置 MCP_AUTH_TOKEN,任何拥有此 URL 的人都可以查询诊所数据。请确认该变量在生产环境中已设置。

底层 API

所有调用均发送至单个 RPC 端点:

POST {BASE_URL}
Headers: x-api-key
Body: { "clientId": "...", "method": "RPCGet...", "params": { ... } }

使用的方法:RPCGetAgendamentos, RPCGetKPIPrd, RPCGetPrestadorCPF, RPCGetUnidadeAtendimento。

Available Tools

4 tools
personaleasy_get_agendamentosBuscar agendamentosA
Read-only

Retorna os agendamentos no período informado. Opcionalmente filtra por unidade de atendimento (use personaleasy_get_unidades para descobrir os nomes válidos).

Inputs: dt_inicio (required), dt_termino (required), nm_unidade.

personaleasy_get_kpi_producaoKPIs de produçãoA
Read-only

Retorna dados de produção (KPIs de dashboard) no período informado. Filtros opcionais por unidade e por prestador.

Inputs: dt_inicio (required), dt_termino (required), nm_unidade, nm_prestador.

personaleasy_get_prestador_por_cpfBuscar prestador por CPFA
Read-only

Retorna o ID e o Nome do prestador a partir do CPF.

Inputs: cpf (required).

personaleasy_get_unidadesListar unidades ativasA
Read-only

Retorna o ID e o Nome das unidades de atendimento ativas.

Inputs: no named parameters.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 4 tools

    Disambiguation5/5

    Each tool targets a distinct resource: appointments (agendamentos), production KPIs, provider lookup by CPF, and units. There is no overlap in purpose, and the descriptions clearly differentiate them.

    Naming Consistency4/5

    All tools follow the pattern `personaleasy_get_<resource>`, using the same prefix and verb. The resource names are in Portuguese, which is consistent with the domain, though the prefix adds redundancy.

    Tool Count4/5

    Four tools is appropriate for a focused server that provides read-only access to core entities (appointments, KPIs, providers, units). It is not too few for the apparent scope, and each tool serves a clear purpose.

    Completeness3/5

    The tool set covers reading key entities, but there are obvious gaps: no filtering by provider for appointments, no tool for patients or procedures, and only a CPF-based lookup for providers. Write operations (create, update, delete) are absent, limiting the surface to querying.

    Maintenance

    ActivityInactive
    ResponsivenessNo recent community issues

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      B
      quality
      C
      maintenance
      MCP server for the DataGate billing platform API, providing read-only tools to manage customers, invoices, products, agreements, sites, and payments.
      13
      MIT
    • A
      license
      A
      quality
      D
      maintenance
      Enables interaction with Open Dental practice management software, allowing reading of patients, appointments, providers, procedures, and recalls, as well as writing communications back to patient charts via MCP clients.
      14
      7
      MIT