Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Identity Admin Server

БесплатноНе проверен

Enables admin operations for an Identity-Service, including user management, role assignments, and approval decisions via Cloudflare Workers.

GitHubEmbed

Описание

Enables admin operations for an Identity-Service, including user management, role assignments, and approval decisions via Cloudflare Workers.

README

Cloudflare Worker MCP server that exposes a focused Identity-Service admin toolset.

Endpoints

  • GET /healthz is public and returns service health.
  • /mcp is the MCP Streamable HTTP endpoint and requires Authorization: Bearer <MCP_CLIENT_TOKEN>.

Configuration

Secrets must be configured outside source control:

pnpm install
pnpm exec wrangler secret put MCP_CLIENT_TOKEN
pnpm exec wrangler secret put IDENTITY_ADMIN_TOKEN

Non-secret variables:

  • IDENTITY_BASE_URL: Identity-Service base URL.
  • MCP_DEFAULT_CHANNEL: default mutation channel when a tool call omits channel (mcp by default).

For local development, use an uncommitted .dev.vars file.

Tools

Admin operation mutation tools require an explicit idempotencyKey, generate a per-call correlationId, default channel from MCP_DEFAULT_CHANNEL, and call Identity-Service only through @cesco_valle/identity-auth-sdk/admin. auth.decideApproval decides an already-anchored approval using the Identity contract.

  • auth.createUser
  • auth.assignProjectRole
  • auth.revokeProjectAccess
  • auth.revokeSession
  • auth.banUser
  • auth.unbanUser
  • auth.readmitProjectMembership
  • auth.decideApproval
  • auth.listProjectUsers
  • auth.getUserAccessStatus
  • auth.listPendingApprovals

Conversational clients

Tool calls return both redacted JSON text content and matching structuredContent so Claude, Codex, Telegram gateways, and other conversational clients can show readable summaries while using structured data for UI state. List-style Identity responses keep the raw redacted result intact and may add structuredContent.client.list with defensive metadata such as itemCount, detected item key, pagination fields, and action hints.

The server also exposes guidance resources/prompts for safe admin workflow, pagination, Telegram gateway responsibilities, and the no-direct-DB Identity boundary when supported by the installed MCP TypeScript SDK.

Telegram gateway contract

A Telegram gateway should authenticate to /mcp with Authorization: Bearer <MCP_CLIENT_TOKEN>, keep /healthz as a public health check, render concise text content to operators, and use structuredContent for buttons, pagination state, approval summaries, and safe follow-up actions. It must not forward secrets to chat clients.

Architecture decisions

  • ADR-0001: runtime and deployment model.
  • ADR-0002: discrete auth.* tool boundary.
  • ADR-0003: local agent instructions and ADR skill lock.

Commands

pnpm typecheck
pnpm test
pnpm build
pnpm dev

Security notes

  • No OAuth v1.
  • No direct database access.
  • Tool responses include JSON text content and matching structuredContent, with common secret fields redacted in both.

from github.com/C3SC0-V4113/Identity-Service-MCP

Установка Identity Admin Server

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/C3SC0-V4113/Identity-Service-MCP

FAQ

Identity Admin Server MCP бесплатный?

Да, Identity Admin Server MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Identity Admin Server?

Нет, Identity Admin Server работает без API-ключей и переменных окружения.

Identity Admin Server — hosted или self-hosted?

Доступен hosted-вариант: Unyly запускает сервер в облаке, локальная установка не обязательна.

Как установить Identity Admin Server в Claude Desktop, Claude Code или Cursor?

Открой Identity Admin Server на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare Identity Admin Server with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории development