Platform

Platform MCP Server

Connect AI assistants to Rasepi platform administration over the Model Context Protocol. The rasepi-mcp-platform server exposes 35 tools for users, groups, and tenant configuration.

Overview

The Platform MCP server gives an assistant administrative access to your workspace: manage users and groups, invite members and set roles, and configure tenant-wide settings such as languages, categories, tags, notification channels, content rules, and review checklists. Every operation is tenant-scoped.

35 Tools

User and group management plus full tenant configuration.

Admin-Scoped

Operations require admin rights and are scoped to your tenant.

Config as Code

Read and set hub and tenant rules, checklists, and heuristics from the assistant.

stdio Transport

Standard stdio transport works with Claude Desktop, VS Code, and any MCP client.

Install

cd developers/mcp
npm install
npm run build

For development without building, run the Platform server directly:

npm run dev:platform

Authentication

The server authenticates with a Bearer token passed via environment variables:

RASEPI_API_URL=http://localhost:5000
RASEPI_API_TOKEN=dev-token-{tenantId}:{userId}

Platform operations need admin rights. Dev tokens use the format dev-token-{'{'}tenantId{'}'}:{'{'}userId{'}'}. In production, use a JWT from the OAuth flow.

Claude Desktop Configuration

Add the Platform server to claude_desktop_config.json, pointing at bin/platform.js:

{
  "mcpServers": {
    "rasepi-platform": {
      "command": "node",
      "args": ["path/to/developers/mcp/dist/bin/platform.js"],
      "env": {
        "RASEPI_API_URL": "http://localhost:5000",
        "RASEPI_API_TOKEN": "dev-token-tenant:user"
      }
    }
  }
}

Users & Groups Tools (9)

list_users

List users in the tenant

get_user

Get a user by ID with roles

invite_user

Invite a new user to the tenant

list_groups

List tenant groups

create_group

Create a new group

add_group_member

Add a user to a group

remove_group_member

Remove a user from a group

update_membership_role

Change a member's tenant role

remove_membership

Remove a user from the tenant

Tenant Config Tools (26)

list_languages

List languages enabled for the tenant

set_default_language

Set the tenant default language

get_known_languages

List all languages the platform supports

list_categories

List content categories

create_category

Create a new category

list_tags

List tags

create_tag

Create a new tag

list_notification_channels

List configured notification channels

test_notification_channel

Send a test message to a channel

get_hub_rules

Read content rules for a hub

set_hub_rules

Set content rules for a hub

get_tenant_rules

Read tenant-wide content rules

set_tenant_rules

Set tenant-wide content rules

list_review_checklists

List review checklists

list_block_type_heuristics

List block-type detection heuristics

create_tenant

Provision a new tenant

Showing 16 of 26 — see full reference for the rest.