fairlead
Click on "Deploy 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., "@fairleadtrigger a refund for CUST-22019 for 50 due to duplicate order"
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.
fairlead
FDE take-home. Python 3.11, official mcp SDK.
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pytest1. MCP server (stdio)
The prompt asks for stdio, so this process talks JSON-RPC on stdin/stdout. Logs are stderr only.
python -m mcp_lab.task1.serverget_customer_record(customer_id)—CUST-plus five digitstrigger_refund(customer_id, amount, reason)— amount > 0, reason >= 10 chars
Pydantic rejects junk; that becomes JSON-RPC -32602. Sample ids: CUST-10428, CUST-22019.
Related MCP server: MCP Starter
2. MCP gateway
python -m mcp_lab.task2.downstream
python -m mcp_lab.task2.proxyAuthorization: Bearer admin or Bearer viewer. tools/list always goes downstream. tools/call on admin_* needs admin; otherwise -32001 and we don't forward.
3. Streaming PII filter
python -m mcp_lab.mocks.llm --mode leak --port 8092
python -m mcp_lab.task3.serverRewrites SSE deltas as they arrive ([REDACTED] for email / SSN / card). Doesn't wait for the full reply.
4. Rate limit + failover
python -m mcp_lab.task4.serverSQLite file data/gateway.sqlite, 50k tokens/min per API key. Primary 429 or 3s timeout → backup. Errors are {code, message, request_id} only.
This server cannot be deployed
Maintenance
Related MCP Connectors
A paid remote MCP for CLI tool MCP, built to return verdicts, receipts, usage logs, and audit-ready
MCP Gateway: wrap any MCP server with cold-start retries, uptime SLA, and per-execution MPP billing.
MCP server for Modern Treasury — payment orders, transactions, counterparties and ledgers.
MCP server for detecting and redacting PII (Personally Identifiable Information) in PDF documents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceMCP server exposing Shopify commerce backend with ~22 typed tools for orders, inventory, logistics, and fulfillment, including read/write separation and structured errors.-
- FlicenseNot gradedqualityCmaintenanceA production-grade MCP server for order management, featuring tools for looking up and refunding orders with safety measures like confirmation tokens, rate limiting, and error handling.-
- AlicenseNot gradedqualityCmaintenanceGoverned MCP server for bank-grade agent tool access with RBAC, PII redaction, rate limiting, and audit logging.MIT
- FlicenseNot gradedqualityCmaintenanceRemote MCP server for fetching order status and checking refund eligibility, built with FastMCP, FastAPI, and MySQL.-