Identity Admin MCP Server
Enables admin operations for an Identity-Service, including user management, role assignments, and approval decisions via Cloudflare Workers.
README
Identity Admin MCP Server
Cloudflare Worker MCP server that exposes a focused Identity-Service admin toolset.
Endpoints
GET /healthzis public and returns service health./mcpis the MCP Streamable HTTP endpoint and requiresAuthorization: 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 omitschannel(mcpby 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.createUserauth.assignProjectRoleauth.revokeProjectAccessauth.revokeSessionauth.banUserauth.unbanUserauth.readmitProjectMembershipauth.decideApprovalauth.listProjectUsersauth.getUserAccessStatusauth.listPendingApprovals
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 are JSON text content with common secret fields redacted.
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.