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.
User and group management plus full tenant configuration.
Operations require admin rights and are scoped to your tenant.
Read and set hub and tenant rules, checklists, and heuristics from the assistant.
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_usersList users in the tenant
get_userGet a user by ID with roles
invite_userInvite a new user to the tenant
list_groupsList tenant groups
create_groupCreate a new group
add_group_memberAdd a user to a group
remove_group_memberRemove a user from a group
update_membership_roleChange a member's tenant role
remove_membershipRemove a user from the tenant
Tenant Config Tools (26)
list_languagesList languages enabled for the tenant
set_default_languageSet the tenant default language
get_known_languagesList all languages the platform supports
list_categoriesList content categories
create_categoryCreate a new category
list_tagsList tags
create_tagCreate a new tag
list_notification_channelsList configured notification channels
test_notification_channelSend a test message to a channel
get_hub_rulesRead content rules for a hub
set_hub_rulesSet content rules for a hub
get_tenant_rulesRead tenant-wide content rules
set_tenant_rulesSet tenant-wide content rules
list_review_checklistsList review checklists
list_block_type_heuristicsList block-type detection heuristics
create_tenantProvision a new tenant
Showing 16 of 26 — see full reference for the rest.