pocketid-mcp
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@pocketid-mcpList all users"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
pocketid-mcp
MCP (Model Context Protocol) server for managing Pocket ID instances. Provides 57 tools for user management, OIDC client configuration, group management, audit logs, and more — all accessible through any MCP-compatible client.
Requirements
Bun v1.0+
A running Pocket ID instance with an API key
Related MCP server: AccelMCP
Installation
From Release Binary
Download the latest binary for your platform from the Releases page.
From Source
git clone https://github.com/nikkomiu/pocketid-mcp.git
cd pocketid-mcp
bun installConfiguration
Environment Variables
Variable | Required | Default | Description |
| Yes | — | Base URL of your Pocket ID instance (e.g. |
| Yes | — | API key for authentication (create via Pocket ID admin dashboard under Settings > API Keys) |
| No |
| Log level ( |
| No |
| Log file name or absolute path |
| No | (auto-resolved) | Directory for log file |
| No |
| Also write logs to stderr |
| No |
| Truncate old log entries on startup |
| No |
| Max age in hours for log truncation |
Claude Code
Add to your Claude Code MCP settings (~/.claude/settings.json or project .mcp.json):
{
"mcpServers": {
"pocketid": {
"command": "/path/to/pocketid-mcp",
"env": {
"POCKETID_URL": "https://auth.example.com",
"POCKETID_API_KEY": "your-api-key"
}
}
}
}Or when running from source:
{
"mcpServers": {
"pocketid": {
"command": "bun",
"args": ["run", "/path/to/pocketid-mcp/src/index.ts"],
"env": {
"POCKETID_URL": "https://auth.example.com",
"POCKETID_API_KEY": "your-api-key"
}
}
}
}Usage
Once configured, the following tools are available through your MCP client:
Users
Tool | Description |
| List users with pagination, search, and sorting |
| Get a user by ID |
| Create a new user |
| Update an existing user |
| Delete a user |
| List groups for a specific user |
| Update group memberships for a user |
| Create a one-time access token for a user |
| Send a one-time access email to a user |
User Groups
Tool | Description |
| List user groups with pagination and search |
| Get a user group by ID |
| Create a new user group |
| Update a user group |
| Delete a user group |
| Add or remove users from a group |
| Configure which OIDC clients can access this group |
OIDC Clients
Tool | Description |
| List OIDC clients with pagination and search |
| Get an OIDC client by ID |
| Create a new OIDC client |
| Update an OIDC client |
| Delete an OIDC client |
| Generate a new client secret |
| Configure allowed user groups for a client |
| Preview token claims for a specific user |
| List authorized clients for a user |
| Revoke a client authorization |
API Keys
Tool | Description |
| List API keys |
| Create a new API key |
| Renew an API key's expiration |
| Delete an API key |
Audit Logs
Tool | Description |
| List current user's audit logs |
| List all audit logs (admin only) |
| Get client names for audit log filtering |
| Get usernames for audit log filtering |
Custom Claims
Tool | Description |
| Get suggested custom claim names |
| Set custom claims for a user |
| Set custom claims for a user group |
App Configuration
Tool | Description |
| Get public application configuration |
| Get all configuration (admin only) |
| Update application configuration |
| Send a test email |
| Trigger LDAP synchronization |
Signup Tokens
Tool | Description |
| List signup tokens |
| Create a signup token |
| Delete a signup token |
SCIM Provisioning
Tool | Description |
| Create a SCIM service provider |
| Update a SCIM service provider |
| Delete a SCIM service provider |
| Trigger a manual SCIM sync |
OIDC Discovery
Tool | Description |
| Get OpenID Connect discovery document |
| Get JSON Web Key Set |
App Images
Tool | Description |
| Upload or update the application logo |
| Upload or update the favicon |
| Upload or update the background image |
| Remove the default profile picture |
Utility
Tool | Description |
| Check Pocket ID instance health |
| Get the latest available Pocket ID version |
Audit Trail
All mutating operations (POST, PUT, DELETE) are automatically logged at info level with structured fields:
{
"level": 30,
"time": "2026-02-13T10:30:00.000Z",
"tool": "user_create",
"httpMethod": "POST",
"path": "/api/users",
"resourceId": null,
"success": true,
"msg": "audit: user_create POST /api/users OK"
}Request/response bodies, API keys, and PII are never logged.
Development
Run from Source
bun run startBuild Standalone Binary
bun run buildProduces dist/pocketid-mcp.
Type Check
bun run type-checkLint
bun run lintFormat
bun run formatLicense
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for mandates, delegation, policy-gated execution, credential grants, and audit.
FusionAuth Documentation MCP server
- StytchOAuthdev.stytch.mcp
The Stytch MCP server is a reference implementation that demonstrates remote MCP server authentication and authorization using Stytch Connected Apps. It provides OAuth 2.1-compliant authorization (including PKCE), Dynamic Client Registration, and validates Stytch-issued access tokens to enable AI agents to securely interact with external services through permissioned access, supporting scopes like openid, email, profile, and manage:project_data.
MCP server for Product Management
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceA production-ready MCP server for Identity and Access Management with Okta integration, providing user and group management, audit logging, and permission guardrails.-
- FlicenseNot gradedqualityBmaintenanceAn MCP server with HTTP/stdio support, a web admin panel for managing services, capabilities, and user permissions with Bearer token authentication, enabling relay and access control for MCP tools.-
- AlicenseNot gradedqualityAmaintenanceMCP server for managing Ory Kratos identities, sessions, and authentication flows, enabling AI assistants to perform identity management tasks via natural language.341 npm1MIT
- FlicenseNot gradedqualityBmaintenanceMulti-tenant MCP server with OAuth 2.1 authorization, enabling tenant-scoped tool access and audit logging.-