LabMCP server

The two gates, as an MCP server

An agent should not need a browser to use my tools. This site is also an MCP server: any MCP client can call the design gate, the ship gate, and the eval validator directly. Behind it is the same deterministic code these pages run, with no model inside.

It speaks both protocol eras: the stateless 2026-07-28 revision, and the 2025 handshake, answered by a fresh server per request. No sessions, no sign-in, no state, and nothing it can change.
Connect
Endpoint
https://hamidettefagh.com/api/mcp
Claude Code
claude mcp add --transport http two-gates https://hamidettefagh.com/api/mcp
A server entry for .mcp.json or VS Code
{ "type": "http", "url": "https://hamidettefagh.com/api/mcp" }

In the Claude apps, add it as a custom connector with the endpoint above; it needs no sign-in. Then ask something like: run the design gate on a returns agent that issues refunds without a person.

ToolsMade by: Code on the server
  • design_gateDecides the least autonomous architecture that does the job, from seven answers, with an Agentforce lens.
  • ship_gate_checklistLists the 28 production readiness checks, four per dimension.
  • ship_gate_scoreScores an agent from how many checks it meets in each dimension.
  • validate_eval_caseChecks an incident-to-eval case with the skill's rules, message for message.
  • site_agent_evalsReports the latest eval run of the agent on this site.

Every tool is marked read-only and idempotent, and returns both structured JSON and a text copy of it. The tool list is public and cacheable for an hour. Calls are rate limited per client, generously: the limit only stops a runaway loop.

Try it from hereMade by: Code on the server

These are real requests from your browser to the endpoint, in the 2026-07-28 shape, where every request carries its own protocol version and no handshake comes first.

Request

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/list",
  "params": {
    "_meta": {
      "io.modelcontextprotocol/protocolVersion": "2026-07-28",
      "io.modelcontextprotocol/clientCapabilities": {}
    }
  }
}

Response

Send the request to see what the server returns.

The same gates install as skills in the two-gates plugin, for when you want them reading a real spec or codebase rather than seven answers. The method behind them is in the two gates.

Receipts onProductionTestingProjectionCountComputedIllustrative