Rekamedika Docs

Tools

Every tool exposed by the Rekamedika MCP server, generated from the real registry.

Visibility is scope + role gated

tools/list only advertises the tools your grant can actually use: a tool is registered when the token carries its OAuth scope and the user holds one of its RBAC roles (when the tool declares any). Enforcement happens server-side on every call — hiding is a courtesy, the API is the authority.

The registry lives in apps/mcp/src/tools.ts — the single MCP endpoint at mcp.rekamedika.com. This page is generated from it.

kpis_list

KPI dashboard untuk satu grup (mis. 'farmasi', 'igd', 'ringkasan').

  • Type: query (read)
  • OAuth scope: simrs:read
  • RBAC roles: any authenticated role
  • Backing tRPC procedure: kpis.list

Prop

Type

laporan_kunjungan

Laporan jumlah kunjungan bulanan tenant Anda.

  • Type: query (read)
  • OAuth scope: simrs:read
  • RBAC roles: any authenticated role
  • Backing tRPC procedure: laporan.kunjunganBulanan

This tool takes no parameters.

pasien_create

Daftarkan pasien baru. Butuh peran admin/pendaftaran (RBAC) + scope simrs:write.

  • Type: mutation (write)
  • OAuth scope: simrs:write
  • RBAC roles: admin, pendaftaran, superadmin
  • Backing tRPC procedure: pasien.create

Prop

Type

pasien_get

Detail satu pasien berdasarkan id (UUID).

  • Type: query (read)
  • OAuth scope: simrs:read
  • RBAC roles: any authenticated role
  • Backing tRPC procedure: pasien.byId

Prop

Type

pasien_list

Daftar pasien terdaftar di tenant Anda (registry). Mendukung pencarian + paginasi.

  • Type: query (read)
  • OAuth scope: simrs:read
  • RBAC roles: any authenticated role
  • Backing tRPC procedure: pasien.list

Prop

Type

Is this page helpful?

On this page