get_documents
Get a list of documents for a specific doctype
How to use it
get_documents is exposed by the Erpnext MCP Server MCP server. Add the server to your MCP client (Claude Desktop, Cursor, Windsurf and others), and the get_documents tool becomes available to the model automatically. See the full listing for setup details and every tool this server provides.
FULL ERPNEXT MCP SERVER LISTINGOther tools in Erpnext MCP Server (10)
Call an ERPNext/Frappe whitelisted server-side API method
Cancel a submitted document (set docstatus to 2)
Create a new document in ERPNext
Permanently delete a document
Get fields list for a specific DocType
Get a list of all available DocTypes
Get a single document by name, including all child tables
Run an ERPNext report
Submit a document (set docstatus to 1)
Update an existing document in ERPNext