/platty:platty-mcp-server-setupfrom platty
Configures, starts, validates, and troubleshoots the Platty context backend exposing a read-only MCP endpoint over HTTP. Supports local, LAN, and remote profiles.
Ships in platty. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Use this skill for operator-side setup of the Platty context backend that exposes
read-only MCP JSON-RPC over direct HTTP at /api/mcp.
This belongs to the full platty operator plugin because it touches context DB
location, process execution, host/port selection, LAN/remote exposure, and
server-side validation.
Do not introduce a stdio proxy, local bridge, helper process, bearer token,
OAuth, SSO, RBAC, project mutation, analysis, sync, generation, memory writes, or
local CLI fallback. SOT artifact access is read-only and may point at an existing
export; it must not run export/sync/generation. GET /api/mcp may return 405
while SSE streaming is not enabled; validate with POST JSON-RPC.
| Profile | Bind | Client URL | Intended use |
|---|---|---|---|
| Local | HOST=127.0.0.1 | http://127.0.0.1:3027/api/mcp | Same machine development and private use |
| LAN | HOST=0.0.0.0 | http://<host-ip>:3027/api/mcp | Same trusted network |
| Remote | HOST=0.0.0.0 behind HTTPS proxy | https://<context-backend-domain>/api/mcp | Controlled remote deployment |
HOST=127.0.0.1 is the safe default. HOST=0.0.0.0 is only a bind address;
never share literal 0.0.0.0 as the client URL.
HOST=127.0.0.1
PORT=3027
PLATTY_CONTEXT_DB_PATH=<path-to-platty-db>
PLATTY_CONTEXT_SOT_ROOT=<optional-platty-home-sot-root-or-project-sot-root>
CONTEXT_BACKEND_CORS_ORIGIN=<optional-browser-origin-allowlist>
PLATTY_CONTEXT_REQUEST_TIMEOUT_MS=0
PLATTY_CONTEXT_HEADERS_TIMEOUT_MS=0
PLATTY_CONTEXT_KEEP_ALIVE_TIMEOUT_MS=0
CONTEXT_BACKEND_CORS_ORIGIN is for browser origins. It is not server-to-server
MCP authentication.
PLATTY_CONTEXT_DB_PATH enables structured retrieval. PLATTY_CONTEXT_SOT_ROOT
enables read-only artifact access to stored SOT files. If omitted, the server may
try the Platty home default <platty-home>/sot/<projectId>. Use
PLATTY_CONTEXT_FIXTURE_SOT_ROOT only for fixture/demo tests.
Inside the private Platty source checkout, a maintainer can run:
cd apps/context-backend
npm run build
HOST=127.0.0.1 PORT=3027 PLATTY_CONTEXT_DB_PATH=<path-to-platty-db> PLATTY_CONTEXT_SOT_ROOT=<path-to-sot-root> npm start
For LAN or remote deployments, use HOST=0.0.0.0 only after the network
boundary is intentional.
Set the exact URL clients will use:
export PLATTY_MCP_URL=http://127.0.0.1:3027/api/mcp
Initialize:
curl -sS -X POST "$PLATTY_MCP_URL" \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}'
List tools:
curl -sS -X POST "$PLATTY_MCP_URL" \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}'
Call project list:
curl -sS -X POST "$PLATTY_MCP_URL" \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"project_list","arguments":{}}}'
After choosing a project, call context status:
curl -sS -X POST "$PLATTY_MCP_URL" \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":4,"method":"tools/call","params":{"name":"context_status","arguments":{"projectId":"<project-id>"}}}'
If stored SOT artifacts should be available, verify the artifact tier:
curl -sS -X POST "$PLATTY_MCP_URL" \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":5,"method":"tools/call","params":{"name":"sot_file_get","arguments":{"projectId":"<project-id>","path":"overview.md"}}}'
Remote access is supported only behind deployment-layer controls such as HTTPS reverse proxy, firewall allowlist, VPN, private network, managed tunnel, or infrastructure-level authentication. Do not recommend a public unauthenticated internet endpoint.
Complete when the server returns initialize, tools/list, and at least one
project-aware read-only tool call from the same /api/mcp URL that clients will
register.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
platty, mcp-server, context-backend, server-setup, configuration
npx claudepluginhub paradigmshift-labs/platty --plugin platty13 skills in this plugin
/platty-cli-routerUse when deciding which Platty CLI root command, project workflow, repository workflow, analysis workflow, document workflow, or Platty skill should handle a request./platty-docs-target-curationUse when listing, filtering, including, deprecating, or reviewing Platty technical documentation targets before docs generation./platty-generated-docsUse when generating, validating, reviewing, resuming, or repairing Platty generated outputs through the public generate-docs workflow./platty-memoryUse when recording, updating, or removing human knowledge (why, corrections, constraints) anchored to Platty epics, documents, or document items./platty-onboardingUse when Platty CLI and agent skills are already installed and a user wants the first end-to-end project journey from repository registration through static analysis and generated SOT, or wants to resume that multi-phase onboarding journey./platty-retrievalUse when searching local Platty SOT outputs, generated docs, graph traces, code search, or source-grounded project evidence through the full Platty operator plugin.Other plugins' skills for the same job