Prt Mcp — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Prt Mcp (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
MCP server exposing Pittsburgh Regional Transit (PRT) TrueTime operations as typed tools for agent clients.
tools for core TrueTime queries:prt_get_routesprt_get_directionsprt_get_stopsprt_get_vehiclesprt_get_predictionsprt_get_patternsprt_get_service_bulletinsresources:prt://capabilities (discoverability for clients)prompts:transit-arrival-workflowmodelcontextprotocol/servers (everything, fetch, filesystem)modelcontextprotocol/typescript-sdkjuctaposed/bustimePGHaidan2312/prt-apiCopy env template:
cp .env.example .envSet:
PRT_TRUETIME_API_KEY (required)PRT_TRUETIME_BASE_URLPRT_REQUEST_TIMEOUT_MSPRT_MAX_RETRIESPRT_USER_AGENTHOST (default: 127.0.0.1)PORT (default: 3000)MCP_ALLOWED_HOSTS (comma-separated Host allowlist)MCP_ALLOWED_ORIGINS (comma-separated browser Origin allowlist)MCP_AUTH_TOKEN (Bearer token expected on /mcp)MCP_RATE_LIMIT_WINDOW_MSMCP_RATE_LIMIT_MAXnpm install
npm run build
npm startFor local development:
npm run devFor hosted HTTP mode (remote MCP endpoint):
npm run build
PORT=3000 HOST=0.0.0.0 MCP_AUTH_TOKEN=change-me npm run start:httpHealth check:
curl http://localhost:3000/healthzMCP endpoint:
POST /mcpGET /mcp (SSE stream)DELETE /mcp (close session if stateful)Authorization: Bearer <MCP_AUTH_TOKEN> if auth is enabled.Alternate SSE endpoint for clients that expect /sse:
POST /sseGET /sse (SSE stream)DELETE /sse (close session if stateful){
"mcpServers": {
"prt": {
"command": "node",
"args": ["/ABSOLUTE/PATH/prt-mcp/dist/index.js"],
"env": {
"PRT_TRUETIME_API_KEY": "YOUR_KEY"
}
}
}
}You now have two transport modes:
npm start)Best for Claude Desktop / local agent tools.
npm run start:http)Best for hosting on Render/Railway/Fly.io/a VM.
Minimal production checklist:
PRT_TRUETIME_API_KEY in host environment variables.PORT your host provides./healthz).MCP_AUTH_TOKEN.MCP_ALLOWED_HOSTS and MCP_ALLOWED_ORIGINS for your deployment.Example Render/Railway start command:
npm run build && npm run start:httpBuild image:
docker build -t prt-mcp:latest .Run container:
docker run --rm -p 3000:3000 -e PRT_TRUETIME_API_KEY=YOUR_KEY prt-mcp:latestzod on every tool schemaisError resultsreadOnlyHint, idempotentHint, openWorldHint) for client safety hintsPort Authority Bus, Light Rail).rt, stpid, pid).~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.