MetorialDocs

Set up SimpleKPI in Metorial for Claude, ChatGPT and Cursor

Share SimpleKPI with your team in Claude, ChatGPT and Cursor through Metorial: basic auth sign-in, 37 tools (12 read-only).

To give your team SimpleKPI in Claude, ChatGPT, Cursor and other AI clients, an admin shares the SimpleKPI integration in a Metorial portal, and each person connects with a basic auth. Agents can track and manage key performance indicators (KPIs) for business performance management. The integration has 37 tools, 12 read-only, 16 write and 9 destructive, plus 2 triggers.

What you'll learn

  • How an admin shares SimpleKPI in a portal and how each person connects
  • What SimpleKPI asks for when you connect, and where to find it
  • How to keep the 12 read-only tools and reject the other 25

Before you start

Sign-in method

MethodTypeWhat a person provides
Basic AuthCustom credentialsemail and token

Basic Auth

To connect, a person enters these values:

  • email: Your SimpleKPI account email address
  • token: Your API token from Settings > Developer API

Setup settings

Setup also asks for:

  • subdomain: Your SimpleKPI account subdomain (e.g., "mycompany" from https://mycompany.simplekpi.com)

Admin: share SimpleKPI in a portal

In the dashboard

Open Shared Resources

Open Workforce, choose the portal, and select Shared Resources under Access.

Share a new integration

Select Share a Resource, then New Integration, and choose SimpleKPI. For how members connect, choose Each person connects so everyone enters their own basic auth, or Shared connection to enter one basic auth for everyone.

Limit the tools

Under Tool Filters, set the write and destructive groups to Reject if agents should only read from SimpleKPI.

Choose who gets it

Add the access groups that should see SimpleKPI. When a person asks for access from the portal, the request appears under Access Requests.

With the CLI

The CLI cannot create the per-user SimpleKPI integration. Once it exists, check which groups have it:

metorial-admin portals access list <portal-id> --type provider_template --search simplekpi

Employee: connect SimpleKPI

In the portal

Open SimpleKPI in the catalog

Sign in to your portal and open SimpleKPI. The status reads Available.

Authenticate

Under Quick setup, select Authenticate. In the setup window, enter your basic auth (email and token).

Confirm

The status changes to Configured. If it later reads Needs reconnect, select Reconnect and sign in again.

With the CLI

metorial catalog search simplekpi
metorial setup <catalog-item-id>

catalog search prints the catalog item ID.

Add it to your AI client

metorial install adds your SimpleKPI connection to a local MCP client such as Claude Code, Cursor or Codex. metorial list prints the integration ID and metorial client list the client identifiers.

metorial list simplekpi
metorial client list
metorial install <client-identifier> <integration-id>

For a client that takes a server URL, such as ChatGPT, metorial install custom <integration-id> creates an installation token and shows the endpoint details.

Make it read-only

Open the integration's Tool Filters and set the write and destructive groups to Reject. Agents keep the 12 read-only tools, such as get_kpi and get_user, and lose the 16 write tools, such as create_kpi or update_kpi, and the 9 destructive tools, such as delete_kpi or delete_user.

Employees see the result on the integration's page in the portal under Tool access. For the full walkthrough, see Tool permissions.

Check it worked

metorial list simplekpi
metorial tools <integration-id>
metorial call <integration-id> list_kpis -d '{}'

metorial tools lists the 37 tools, minus any you rejected. list_kpis takes no input. It retrieves all KPIs from your SimpleKPI account.

To see every input a tool takes, run metorial schema <integration-id> <tool-key>.

Tools

Read-only tools (12)

  • list_users: Retrieve all users in your SimpleKPI account.
  • get_kpi: Retrieve a single KPI by its ID. Needs kpiId.
  • get_kpi_report: Query processed KPI data entries for reporting, including calculated KPIs. Needs dateFrom and dateTo.
  • list_kpis: Retrieve all KPIs from your SimpleKPI account.
  • list_kpi_entries: Retrieve KPI data entries with optional filters for user, KPI, date range, and pagination.
  • list_user_group_items: Retrieve all group items assigned to a specific user. Needs userId.
  • list_categories: Retrieve all KPI categories.
  • list_kpi_configuration: Retrieve KPI configuration reference data: available units, frequencies, and icons.
  • list_user_kpis: Retrieve all KPIs assigned to a specific user, including user-specific targets and sort order. Needs userId.
  • list_groups: Retrieve all groups.
  • get_kpi_entry: Retrieve a single raw KPI entry by ID, including actual, target, notes, user, and timestamps.
  • get_user: Retrieve a user by ID, including role, status, permissions, and login timestamps.

Write tools (16)

  • create_group_item: Create a new item within a group. Needs groupId, name and sortOrder.
  • record_kpi_entries_batch: Record multiple KPI data entries at once. Needs entries.
  • update_kpi: Update an existing KPI's configuration. Needs kpiId.
  • create_kpi: Create a new KPI in SimpleKPI. Needs name, categoryId, unitId, frequencyId, iconId, valueDirection, aggregateFunction and sortOrder.
  • assign_kpi_to_user: Assign a KPI to a user. Needs userId, kpiId and sortOrder.
  • update_user: Update an existing user's profile. Needs userId.
  • create_group: Create a new group for organizing users and KPI data (e.g., departments, teams, regions). Needs name and sortOrder.
  • update_category: Update an existing KPI category's name or sort order. Needs categoryId.
  • create_user: Create a new user account in SimpleKPI. Needs firstName, email, password and userType.
  • record_kpi_entry: Record an actual value, target, and/or notes for a KPI on a given date. Needs kpiId and entryDate.
  • assign_group_item_to_user: Assign a group item to a user. Needs userId and groupItemId.
  • create_category: Create a new KPI category for organizing KPIs. Needs name and sortOrder.
  • update_group_item: Update an existing group item's name or sort order. Needs groupId and groupItemId.
  • create_kpi_unit: Create a new KPI unit of measure. Needs name, entryFormat, displayFormat and isPercentage.
  • update_group: Update an existing group's name or sort order. Needs groupId.
  • update_user_kpi: Update the target override or display order for an existing user KPI assignment.

Destructive tools (9)

  • delete_kpi_entry: Permanently delete a KPI data entry by its ID. Needs entryId.
  • remove_kpi_from_user: Remove a KPI assignment from a user. Needs userId and kpiId.
  • delete_kpi_unit: Permanently delete a KPI unit of measure. Needs unitId.
  • remove_group_item_from_user: Remove a group item assignment from a user. Needs userId and groupItemId.
  • delete_group_item: Permanently delete a group item from a group. Needs groupId and groupItemId.
  • delete_category: Permanently delete a KPI category. Needs categoryId.
  • delete_group: Permanently delete a group and its items from SimpleKPI. Needs groupId.
  • delete_kpi: Permanently delete a KPI from SimpleKPI. Needs kpiId.
  • delete_user: Permanently delete a user account from SimpleKPI. Needs userId.

Triggers

SimpleKPI has 2 triggers, which fire on events in SimpleKPI:

  • new_kpi_entries: Triggers when new KPI data entries are created or updated.
  • inbound_webhook

Next steps