fieldroutes-mcp
Ask FieldRoutes (fieldroutes-mcp)
Read-only MCP server so pest and lawn owners can ask FieldRoutes questions in plain English — in Claude, ChatGPT, or Cursor.
Sister product to Ask Fieldwork. Same Relay pattern: owner-shaped tools with an answer string, /connect vault (no Terminal-first setup), lookup only.
Why this exists
Most FieldRoutes MCPs are thin API wrappers: search_tickets, env vars in JSON, pip + Terminal. Owners bounce.
Ask FieldRoutes leads with questions owners actually ask:
Ask… | Tool |
How many customers do I have? |
|
Find customer Smith |
|
Who owes me money? |
|
What’s on the schedule? |
|
Who are my technicians? |
|
How are my routes doing? |
|
Lower-level search_* / get_* tools stay available as a fallback. Writes (create/update/cancel) are refused.
Auth
FieldRoutes uses API key + token (Settings → API), sent in the JSON body as authenticationKey / authenticationToken.
Optional company subdomain → https://{subdomain}.pestroutes.com/api.
Quick start (local stdio)
cd fieldroutes-mcp
python3 -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
cp .env.example .env
# fill FIELDROUTES_AUTHENTICATION_KEY and FIELDROUTES_AUTHENTICATION_TOKENPoint Cursor / Claude at scripts/run_mcp.sh (see mcp.json.example).
Hosted connect (no Terminal)
./scripts/run_mcp_http.sh
# open http://127.0.0.1:8000/connectPaste key + token → encrypted SQLite vault → bearer token for Streamable HTTP MCP at /mcp.
URL | Role |
| Relay landing |
| Ask FieldRoutes product page |
| Paste credentials → token |
| Streamable HTTP MCP |
| Health |
Deploy
Vercel (
vercel.json): staticlanding/only (marketing).Docker: full MCP +
/connect+ vault. SetFIELDROUTES_VAULT_SECRETand optionallyFIELDROUTES_PUBLIC_BASE_URL.
Safety
Client allowlists only
searchandget.Tool annotations mark everything read-only.
Vault stores encrypted credentials; connect tokens are hashed at rest.
Vs thin wrappers
Typical FieldRoutes MCP | Ask FieldRoutes | |
Tools | API-shaped ( | Owner-shaped + |
Setup | pip + env + JSON |
|
Writes | Often on by default | Off |
Technicians | Often missing |
|
Audience | Developers | Owners |
License
MIT