Instaclean 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., "@Instaclean MCPShow my recent urgent-help requests and their status"
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.
Instaclean MCP
Remote Model Context Protocol server for Instaclean. It gives AI clients such as ChatGPT, Claude, Cursor, and internal operations agents a standardized tool interface while keeping Mithril as the source of truth for authorization, pricing, booking, availability, dispatch, and audit rules.
Architecture
ChatGPT / Claude / Cursor / Ops Agent
|
| MCP over HTTP
v
instaclean-mcp (/mcp)
|
| authenticated HTTP/JSON
v
api.tryinstaclean.com
|
v
MithrilThe MCP server does not connect directly to PostgreSQL and does not duplicate Mithril business logic.
Related MCP server: ParcelPilot MCP Server
Tools
Read
search_customers- admin customer search by name, email, or phonelist_dispatch_requests- admin urgent-help/replacement queuelist_my_service_requests- current customer's urgent-help/replacement requestslist_booking_services- active Direct booking serviceslist_available_workers- verified professionals eligible for a serviceget_booking- current customer's booking details
Write
create_admin_booking- admin-assisted booking with explicit customer consentcreate_urgent_help_request- non-medical urgent household helprequest_replacement- replacement request for an owned bookingassign_worker- vetted worker assignment through Mithril's assignment endpointupdate_service_request- triage/matching/resolve/cancel transitions
Payments, refunds, payouts, pricing mutation, account deletion, and verification mutation are intentionally not exposed in the initial MCP surface.
Authentication
The server supports two modes.
passthrough (default)
The MCP request must contain:
Authorization: Bearer <mithril-access-token>The token is forwarded to Mithril. Mithril validates the user and enforces customer/admin authorization. This is the preferred model for user-scoped MCP connections.
service
Use this only for an internal Instaclean operations agent with a dedicated active admin account. The caller authenticates to the MCP server with MCP_API_KEY; the MCP server then calls Mithril using the configured Direct gateway token and actor user ID.
Required environment variables:
AUTH_MODE=service
MCP_API_KEY=...
MITHRIL_DIRECT_TOKEN=...
MITHRIL_ACTOR_USER_ID=...Do not use a customer account as the service actor and do not put these values in source control.
Origin protection
MCP clients normally make server-to-server requests without an Origin header. If an Origin header is present, the server requires it to match ALLOWED_ORIGINS. This protects the HTTP MCP endpoint against browser-based DNS-rebinding attacks.
Development
Requires Node.js 22+.
cp .env.example .env
npm install
npm run check
npm run devThe local endpoints are:
GET/POST http://127.0.0.1:3000/mcp
GET http://127.0.0.1:3000/healthThe MCP SDK's HTTP handler also retains stateless compatibility with 2025-era clients while supporting the current 2026 protocol.
Example Cursor configuration
For service mode or development clients that support static headers:
{
"mcpServers": {
"instaclean": {
"type": "http",
"url": "https://mcp.tryinstaclean.com/mcp",
"headers": {
"Authorization": "Bearer ${env:INSTACLEAN_MCP_TOKEN}"
}
}
}
}Never commit the token to a Cursor configuration checked into the repository.
Deployment
The included Dockerfile is suitable for Fly.io or another container host. Production should expose only HTTPS externally.
For Fly.io, create the app and set secrets rather than editing fly.toml with credentials:
fly secrets set \
MITHRIL_API_URL=https://api.tryinstaclean.com \
AUTH_MODE=service \
MCP_API_KEY=... \
MITHRIL_DIRECT_TOKEN=... \
MITHRIL_ACTOR_USER_ID=...Then point mcp.tryinstaclean.com to the deployed service.
Next security milestone: OAuth
The initial server deliberately supports bearer passthrough and a service-agent mode without implementing a second identity system. Before broadly connecting third-party users, add OAuth 2.1 / MCP Protected Resource Metadata so ChatGPT, Claude, and other clients can obtain scoped Mithril tokens interactively instead of receiving manually copied access tokens.
Mithril remains responsible for role checks and business invariants even after OAuth is added.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
No tool schema history has been recorded yet.
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.
Related MCP Connectors
- FullmaktOAuthai.fullmakt
Credential broker for AI agents: scoped, revocable API access with policy enforcement and audit.
Connect AI agents to 1000+ apps with managed authentication and tool-calling.
- StackOneOAuthcom.stackone
Give AI agents 30,000+ safe, token-optimized actions across Workday, SAP, Oracle + hundreds more.
- odooOAuthcom.odooconsole
Odoo ERP for AI agents: hosted OAuth endpoint, gated writes, one endpoint for every instance.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceMCP server that gives AI agents controlled access to a building services company's daily operations, including customer records, scheduling, and offer calculations. All write operations are protected by a two-stage approval mechanism with time-limited tokens to prevent unauthorized changes.MIT
- FlicenseNot gradedqualityCmaintenanceEnables AI agents to retrieve customer, order, ticket, policy, and agreement information, and to prepare or execute state-changing support actions like escalations and follow-ups with confirmation and access control.-
- AlicenseNot gradedqualityCmaintenanceEnables secure support-ticket and customer-account operations with signed JWT authentication, prompt-injection and tool-poisoning guardrails, and human-in-the-loop confirmation for destructive actions.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP-compatible AI agents to safely act on business backends by enforcing per-agent permissions, autonomy thresholds, human approval with review-and-edit, and full audit trails.MIT