1. Conduid
  2. AI
  3. permit-server
MCP server · AI

permit-server

MCP Server for Permit.io read-only operations

Unclaimed ai
39Low

Scored 7 days ago · breakdown

About permit-server

permit-server is an MCP server published by git+stevearagonsite in the AI category: mCP Server for Permit.io read-only operations.

Install

Install
npx permit-mcp-server
Claude Code
claude mcp add permitiomcp -- 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-server

Powered by Claude · Grounded in docs

I know everything about permit-server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ✓README presentThe repository ships documentation.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

4 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-server

How do I install permit-server?

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

Is permit-server safe to use with an AI agent?

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

Is permit-server still maintained?

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