scorton-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@scorton-mcpscore human risk for user-42 in wire transfer approval"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
scorton-mcp
Cloudflare Workers MCP server for behavioral cybersecurity and AI risk in financial workflows.
Built with the universal @modelcontextprotocol/sdk and Cloudflare's agents McpAgent runtime.
What this server provides
MCP tools
score_human_riskscore_ai_riskscore_workflow_riskrun_ai_eval_summarygenerate_audit_snapshothealth_check
MCP resources
scorton://policy-profile— active scoring policy and thresholds.
All tool inputs are validated with Zod and outputs are machine-oriented JSON.
Architecture
src/
config/ # app metadata + scoring thresholds
mcp/ # ScortonMCP agent (tools + resources)
schemas/ # Zod input/output schemas
services/ # pure business logic / scoring
utils/ # logger + structured errors
tests/ # node:test unit testsRuntime
Framework:
@modelcontextprotocol/sdk+agents/mcpHosting: Cloudflare Workers + Durable Objects
Endpoint:
https://<worker>.workers.dev/mcp
Quick start
Prerequisites
Node.js 18+
Cloudflare account with Workers enabled
wrangler login
Local development
npm install
npm run devServer runs at http://localhost:8788/mcp.
Test with MCP Inspector:
npx @modelcontextprotocol/inspector@latest
# Open http://localhost:5173 and connect to http://localhost:8788/mcpDeploy to Cloudflare
Update
wrangler.jsoncvars:MCP_URL→ your worker URL (e.g.https://scorton-mcp.scortonlabs.workers.dev)TEAM_DOMAIN→ your Access team (e.g.https://scortonlabs.cloudflareaccess.com)POLICY_AUD→ AUD tag from Zero Trust → Access → your application
Deploy:
npm run deployConnect clients to
https://scorton-mcp.scortonlabs.workers.dev/mcp.
Cloudflare Access (required for protected workers)
If the worker is behind a self-hosted Access application, set TEAM_DOMAIN and POLICY_AUD in wrangler.jsonc (or Worker dashboard vars). The worker validates the Cf-Access-Jwt-Assertion header on /mcp requests.
Find the AUD tag: Zero Trust → Access → Applications → your app → AUD tag.
Claude Desktop (claude_desktop_config.json):
{
"mcpServers": {
"scorton": {
"command": "npx",
"args": ["mcp-remote", "https://scorton-mcp.<your-subdomain>.workers.dev/mcp"]
}
}
}Cursor — add as a remote MCP server with the same URL.
Configuration
Scoring thresholds are set via Worker vars in wrangler.jsonc:
Variable | Default | Purpose |
|
| Human baseline deviation flag threshold |
|
| Weight of eval failures in AI risk score |
|
| USD threshold for high-value workflow flag |
Scripts
npm run dev # wrangler dev (local Worker)
npm run deploy # deploy to Cloudflare
npm run typecheck # TypeScript checks
npm run test # unit tests (services layer)
npm run cf-typegen # regenerate worker Env typesExample tool payloads
score_human_risk
{
"actorId": "user-42",
"baselineDeviation": 0.61,
"velocityAnomalyScore": 0.88,
"navigationAnomalyScore": 0.74,
"repeatedEditsCount": 7,
"sourceChannel": "new-device",
"workflowContext": "wire-transfer-approval"
}score_ai_risk
{
"modelId": "llm-payments-v3",
"evalFailureRate": 0.31,
"useCaseCriticality": "mission-critical",
"complianceCategory": "aml",
"productionExposure": "full",
"recentIncidents": 2
}score_workflow_risk
{
"workflowId": "ap-invoice-2026-0009",
"sequenceAnomalyScore": 0.67,
"actorRole": "approver",
"transactionValueUsd": 240000,
"vendorOrPaymentChangeSignal": true,
"changeWindowMinutes": 22
}Optional: Cloudflare Access MCP portal
Register this server in Cloudflare Access AI controls to add OAuth governance and a managed portal for your team.
Migration from v1 (mcp-use / Dokploy)
v1 used mcp-use on Node.js + Docker. v2 runs on Cloudflare Workers with the standard MCP SDK. Tool names, schemas, and scoring logic are unchanged — only the transport/runtime changed.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/yojedesign/scorton-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server