pocketid-mcp
Click on "Install 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: Okta-MCP
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 installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/nikkomiu/pocketid-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server