1. Conduid
  2. Security
  3. Permit MCP Server
MCP server · Security

Permit MCP Server

MCP Server for Permit.io read-only operations

37Low

Scored 6 months ago · breakdown

About Permit MCP Server

Permit MCP Server is an MCP server in the Security category: mCP Server for Permit.io read-only operations.

Install

Claude Code
claude mcp add permit-mcp-server -- npx -y permit-mcp-server
npx
npx -y permit-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Permit MCP Server

Powered by Claude · Grounded in docs

I know everything about Permit MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.

5 checks have not been run yet.

README

Permit MCP Server

Read-only MCP Server for querying Permit.io configuration.

Quick Start with npx

Run directly without installation:

PERMIT_API_KEY=your_key npx permit-mcp-server

Requirements

  • Node.js 22+
  • pnpm (for development)
  • Docker (optional)

Installation

Global Installation

npm install -g permit-mcp-server

Local Installation

cd permit-mcp
pnpm install
pnpm build

Configuration

Create a .env file based on .env.example:

PERMIT_API_KEY=permit_key_xxxxx
PERMIT_PROJECT_ID=default
PERMIT_ENV_ID=dev

Environment Variables

Variable Required Description
PERMIT_API_KEY Yes Permit.io API Key
PERMIT_PROJECT_ID No Project ID (default: "default")
PERMIT_ENV_ID No Default environment

Docker

Start with Docker Compose

cd permit-mcp && docker compose -f docker-compose.local.yml up -d --build

Stop

docker compose -f docker-compose.local.yml down

View logs

docker logs -f permit-mcp

Available Tools

Environments

  • list-environments: List all environments in the project
  • get-environment: Get details of a specific environment

Roles

  • list-roles: List all roles in an environment
  • get-role: Get a role with its permissions

Resources

  • list-resources: List all defined resources
  • get-resource: Get a resource with its actions and attributes

Users

  • list-users: List users with optional filters (pagination, search)
  • get-user: Get user information
  • get-user-permissions: Get effective permissions for a user

Usage with Claude Code

Add to workspace .mcp.json:

Using npx (Recommended)

{
  "mcpServers": {
    "permit": {
      "command": "npx",
      "args": ["-y", "permit-mcp-server"],
      "env": {
        "PERMIT_API_KEY": "${PERMIT_API_KEY}",
        "PERMIT_PROJECT_ID": "default"
      }
    }
  }
}

Using local installation

{
  "mcpServers": {
    "permit": {
      "command": "node",
      "args": ["permit-mcp/dist/index.js"],
      "env": {
        "PERMIT_API_KEY": "${PERMIT_API_KEY}",
        "PERMIT_PROJECT_ID": "default"
      }
    }
  }
}

Development

# Build
pnpm build

# Watch mode
pnpm dev

# Type check
pnpm typecheck

# Run
pnpm start

Architecture

permit-mcp/
├── src/
│   ├── index.ts              # MCP server entry point
│   ├── permit-client.ts      # HTTP client for Permit.io API
│   └── types/
│       └── permit.ts         # Permit.io API types
├── Dockerfile                # Docker image
├── docker-compose.local.yml  # Docker Compose for development
├── package.json
├── tsconfig.json
└── README.md

README copy captured when this server was indexed; it may lag the repository. The original is authoritative.

Questions

About Permit MCP Server

How do I install Permit MCP Server?

Run claude mcp add permit-mcp-server -- npx -y permit-mcp-server, then add the server to your MCP client's configuration.

Is Permit MCP Server safe to use with an AI agent?

Its trust score is 37 out of 100 (low). It passes 1 of the 1 static security checks run so far. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Permit MCP Server still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.