Permdock
MCP server by ScaleDockHQ Verified · npm:permdock
PermDock defines typed permissions for TypeScript apps, APIs, databases and AI agents. It returns granted, denied or approval-required decisions and ships with a CLI and test runners. It is for TypeScript developers.
Install Permdock
Built from the published package, never by AI.
claude mcp add permdock -- npx -y permdockRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"permdock": {
"args": [
"-y",
"permdock"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"permdock": {
"args": [
"-y",
"permdock"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"permdock": {
"args": [
"-y",
"permdock"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add permdock -- npx -y permdock{
"mcpServers": {
"permdock": {
"args": [
"-y",
"permdock"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add permdock npx -y permdockGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the permdock block.
About
PermDock is a TypeScript permissions library for apps, APIs, databases and AI agents. You write one typed definition of permissions and roles, and it is checked in the UI, the API, SQL, Postgres RLS and agent tool approvals. Each check returns a decision object with one of three outcomes: granted, denied or approval-required.
The npm package includes core, adapters for many frameworks and agent SDKs, the permdock CLI and permdock/testing. The CLI can fail a pull request that takes access away and can verify Postgres RLS against the same rules. Every decision runs in-process, so no cloud service is needed on the decision path.
Written from the project's README and checked against it.
What you need
- Node.js 24 or later
Try asking
- Check whether this user can delete this post with PermDock
- Run permdock diff to see if a pull request removes access
- Generate Postgres RLS policies from my PermDock definitions
Good to know
- Local development requires pnpm 12.14.0 exactly
- Docker is needed only for the integration test suite
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
What you can do with it
- Adding typed permissions to a TypeScript app
- Reviewing access changes in pull requests
- Gating AI agent tool calls with approvals
Alternatives to Permdock
All alternatives →Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.
ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.
Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.
MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.
Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.
MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.
Compare with Supabase, ArcadeDB MCP Server or DBHub
Permdock: common questions
Does PermDock need a cloud account?
No. Every decision runs in-process, and PermDock Cloud is optional and never on the decision path.
Can PermDock control what AI agents do?
Yes. A subject can carry the user and the agent acting for them, policy delegations cap what an agent may do, and approvals can take a quorum, stages and escalation.
Does PermDock check database access?
It can generate Postgres RLS policies, and permdock rls verify checks the database against can().
How do I install Permdock?
In Claude Code run claude mcp add permdock -- npx -y permdock. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Permdock the official server?
Permdock is published by npm:permdock from its verified domain in the official MCP Registry.
Is Permdock free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Permdock safe to use?
It scores 86 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Permdock?
Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.
Does Permdock work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
