frappe_mcp_server

frappe_mcp_server

43

The Frappe MCP Server is a protocol server designed for Frappe Framework, enabling AI assistants to efficiently interact with applications through document operations and schema handling via the Frappe REST API. It includes tools and error handling features to support seamless integration and operation with AI platforms.

What are the prerequisites for running the Frappe MCP Server?

You need Node.js 18 or higher and a running Frappe instance (version 15 or higher) with an API key and secret.

How do I authenticate with the Frappe MCP Server?

Authentication is done using API key/secret via the Frappe REST API. Username/password authentication is not supported.

What should I do if I encounter authentication errors?

Ensure that both FRAPPE_API_KEY and FRAPPE_API_SECRET environment variables are set correctly, the API key is active, and the Frappe URL is correct.

Can I use the Frappe MCP Server without installing it?

Yes, you can run it directly using npx with the command npx frappe-mcp-server.

What kind of error handling does the server provide?

The server provides detailed error messages with context, including missing parameters, invalid field values, permission errors, and network issues.