Back to Browse

P31 Cli MCP Server

Developer ToolsUse Caution1.3MCP RegistryLocalRemote
Free

Server data from the Official MCP Registry

Capability-routed CLI/MCP: signed provenance exports, WCAG-validated themes, sovereign deploy modes.

About

Capability-routed CLI/MCP: signed provenance exports, WCAG-validated themes, sovereign deploy modes.

Remote endpoints: streamable-http: https://mcp.p31ca.org/mcp

Security Report

1.3
Use Caution1.3Critical Risk

The HTTP MCP server exposes tool execution without real authentication: the /tools/:name and /tasks endpoints run any tool with no auth check and bypass the RBAC and write-tool gates used on /mcp, and the /mcp gate only tests that an Authorization header is present. The server card also advertises authentication as not required. Several other items (API keys persisted in config, an unverified shell command, and minor quality issues) add to the concerns, though the rest of the visible code is reasonably structured and the permissions largely match a developer CLI. Supply chain analysis found 14 known vulnerabilities in dependencies (0 critical, 4 high severity). Package verification found 1 issue.

10 files analyzed · 28 issues found

Security scores are indicators to help you make informed decisions, not guarantees. Always review permissions before connecting any MCP server.

Permissions Required

This plugin requests these system permissions. Most are normal for its category.

HTTP Network Access

Connects to external APIs or services over the internet.

network_websocket

Check that this permission is expected for this type of plugin.

Shell Command Execution

Runs commands on your machine. Be cautious — only use if you trust this plugin.

process_spawn

Check that this permission is expected for this type of plugin.

env_vars

Check that this permission is expected for this type of plugin.

File System Read

Reads files on your machine. Normal for tools that analyze or process local data.

File System Write

Writes or modifies files on your machine. Check that this is expected for the tool.

database

Check that this permission is expected for this type of plugin.

How to Install & Connect

Available as Local & Remote

This plugin can run on your machine or connect to a hosted endpoint. during install.

Documentation

View on GitHub

From the project's GitHub README.

P31 Sovereign CLI

Sovereign AI agent for neurodivergent families. OpenCode face, P31 guts.

Install

curl -fsSL https://cli.p31ca.org/install | bash

Or from source:

git clone https://github.com/p31labs/p31-cli.git
cd p31-cli
npm install
npm run build
npm link

Quick Start

p31                    # Interactive TUI
p31 chat              # One-shot chat
p31 agent             # Autonomous agent mode
p31 mcp               # MCP stdio server (133 tools)
p31 mcp:http          # MCP HTTP server
p31 tui               # Ink TUI with themes
p31 phos              # PHOS forge commands
p31 spoons            # Spoon level management
p31 session           # Session management
p31 sync              # Cross-app sync

Architecture

  • TypeScript (ESM, Node.js >= 22)
  • MCP Protocol — 133 tools across 10 categories
  • OpenCode Plugins — 6 sovereign plugins
  • 3 LLM Providers — Anthropic, Google Gemini, OpenRouter
  • SQLite Sessions — Per-session-tree sharding
  • Ink TUI — 3 themes, spoon-aware adaptive UI
  • React Web UI — xterm.js terminal viewer

MCP Servers

CategoryToolsDescription
oasis11CLI session state
love4LOVE ledger
cognitive47Neurodivergent support
spaceship4DUNA / dome
ground-truth14Verified facts
marge12Design compliance
soulsafe153-gate verification
bob10Building ontology
component5Component registry
design11Design tokens
Total133

Configuration

// opencode.json
{
  "mcp": {
    "phos-forge": { "type": "local", "command": ["node", "/path/to/mcp-server.mjs"] },
    "p31-crypto": { "type": "remote", "url": "https://p31-crypto-mcp.trimtab-signal.workers.dev/mcp" }
  },
  "plugin": ["spoon-monitor", "sovereign-id", "care-attest", "pqc-tools", "mesh-visualize", "honest-label"]
}

Design System

  • Tokens: tokens/tokens.yml
  • Components: tokens/components.yml
  • Themes: p31ca, phosphorus31, crisis
  • Accessibility: Atkinson Hyperlegible, 48px touch targets, WCAG AAA

Environment Variables

VariableDescription
LOVE_LEDGER_URLLOVE ledger endpoint
LEDGER_BRIDGE_URLLedger bridge endpoint
P31_USER_IDDefault user ID
OPENCODE_CONFIGCustom OpenCode config path

License

MIT — P31 Labs, Inc.

Reviews

No reviews yet

Be the first to review this server!