MyDot MCP
Provides tools for interacting with an ERPNext site via its Document APIs, enabling DocType and field discovery, document listing/counting/retrieval, report execution, draft creation and updates, submit/cancel/delete operations, and calling whitelisted methods such as invoice mappers, all under the signed-in user's roles and permissions.
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., "@MyDot MCPshow me today's sales invoices"
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.
MyDot MCP
A small Frappe app that turns an ERPNext site into a remote MCP server. Claude (desktop, web, iPhone) connects to it as a custom connector.
Endpoint:
https://<site>/api/method/mydot_mcp.mcp.handleAuth: Frappe's built-in OAuth 2 (dynamic client registration and RFC 9728 metadata). There's no API key to store anywhere. You sign in once with your ERPNext login, and every call runs as you, with your roles and permissions.
No extra dependencies. It's just the app code.
Tools
Tool | What it does |
| Signed-in user, roles |
| Discover DocTypes and their fields |
| Read data (filters, fields, paging, group_by) |
| Run Script/Query reports (Stock Balance, General Ledger, …) |
| Write drafts |
| Change docstatus or delete |
| Any whitelisted method (e.g. |
All of them go through frappe.client / Document APIs, so they get the same
permission checks as the REST API. If a tool fails, its transaction is rolled back.
Related MCP server: MCP ERPNext Plugin
Install
cd ~/frappe-bench
bench get-app https://github.com/fakeamirulhakim/mydot_mcp
bench --site go.mydotconsulting.com install-app mydot_mcp
bench restartNo migration or DocTypes are involved; installing it only makes the endpoint available.
Smoke test (it should return 401 with a WWW-Authenticate: Bearer resource_metadata=... header):
curl -si -X POST https://go.mydotconsulting.com/api/method/mydot_mcp.mcp.handle \
-H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"ping"}' | head -5OAuth Settings (already on for go.mydotconsulting.com)
Under OAuth Settings, these must be enabled: Show Auth Server Metadata, Show Protected Resource Metadata, and Enable Dynamic Client Registration.
Add to Claude
claude.ai → Settings → Connectors → Add custom connector
Name:
MYDOT ERPNextURL:
https://go.mydotconsulting.com/api/method/mydot_mcp.mcp.handle
Click Connect, log in to ERPNext and approve. The connector then shows up in every chat on every device.
Revoke access: delete the matching OAuth Client or OAuth Bearer Token in ERPNext, or disconnect the connector in Claude.
Tests
The protocol tests run against a stubbed frappe. Run them from the repo root,
not via bench run-tests:
pip install pytest werkzeug && python -m pytest testsThis server cannot be deployed
Maintenance
Related MCP Connectors
- platform7nOAuthtech.p7n
Connect Claude to your Platform7n workspaces: chat, links, work and decks. One-click OAuth.
Let Claude or ChatGPT search, read and send your WhatsApp messages over MCP. OAuth sign-in.
JusPronto is case-management software for Brazilian law firms. Its remote MCP server (OAuth 2.1 with PKCE, per-permission scopes, audit log) lets Claude and ChatGPT read the firm's own cases, deadlines, agenda, recent court movements and case files with the page cited. Write actions require the lawyer's approval. Requires a JusPronto account.
MCP server connecting AI agents to 100+ apps (Gmail, Slack, Notion, GitHub) via one-click OAuth.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceEnables Claude to interact with Acumatica ERP through a remote MCP server with per-user OAuth, role-based access, and 44 tools for querying and managing ERP data.20Apache 2.0
- AlicenseNot gradedqualityDmaintenanceIntegrates Claude with ERPNext v16, enabling CRUD operations, queries, and method calls through a secure MCP interface.MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that enables Claude, ChatGPT, and other LLMs to interact with ERPNext sites through natural language, supporting document CRUD, search, reports, workflows, and custom tools, while respecting user permissions and logging all calls.AGPL 3.0
- FlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI clients to securely read data from customers' ERPNext/Frappe sites through a multi-tenant OAuth-protected gateway, with tools for listing, searching, counting, retrieving, and reporting on documents.-