Skip to main content

MCP server for Frappe Framework — interact with Frappe sites via Claude, Copilot, and other MCP clients

Project description

Frappe MCP Server

frappe_mcp MCP server

frappe_mcp MCP server

mcp-name: io.github.muthanii/frappe_mcp

A Model Context Protocol (MCP) server for Frappe Framework. Connect Claude Desktop, VS Code Copilot, and other MCP clients to any Frappe/ERPNext site via its REST API.

Features

  • Document CRUD — get, create, update, delete Frappe doctypes
  • Search — full-text and filtered document search
  • Remote method calls — invoke any server-side Python method
  • Authentication — API key + secret (token-based auth)
  • Docker-first — single docker run command, no Python install needed

Quick start (Docker)

docker run -e FRAPPE_URL=https://your-site.com \
           -e FRAPPE_API_KEY=your-api-key \
           -e FRAPPE_API_SECRET=your-api-secret \
           muthanii/frappe-mcp

Available tools

Tool Description
frappe_ping Check connectivity to the Frappe site
frappe_get_doc Retrieve a single document by doctype + name
frappe_search_docs Search/list documents with filters
frappe_create_doc Create a new document
frappe_update_doc Update an existing document
frappe_delete_doc Delete a document
frappe_run_method Call a whitelisted server-side method

Configuration

Environment variable Required Description
FRAPPE_URL Yes Base URL of your Frappe site (e.g. https://erp.example.com)
FRAPPE_API_KEY Yes Frappe API key
FRAPPE_API_SECRET Yes Frappe API secret
FRAPPE_VERIFY_SSL No Set to false to skip TLS verification (default: true)
FRAPPE_TIMEOUT No Request timeout in seconds (default: 30)

MCP client config

Add this to your claude_desktop_config.json or Copilot config:

{
  "mcpServers": {
    "frappe": {
      "command": "docker",
      "args": [
        "run", "-i", "--rm",
        "-e", "FRAPPE_URL",
        "-e", "FRAPPE_API_KEY",
        "-e", "FRAPPE_API_SECRET",
        "muthanii/frappe-mcp"
      ],
      "env": {
        "FRAPPE_URL": "https://your-site.com",
        "FRAPPE_API_KEY": "your-api-key",
        "FRAPPE_API_SECRET": "your-api-secret"
      }
    }
  }
}

Local development

pip install -e .
frappe-mcp

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

frappe_mcp_server-1.1.1.tar.gz (12.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

frappe_mcp_server-1.1.1-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

Details for the file frappe_mcp_server-1.1.1.tar.gz.

File metadata

  • Download URL: frappe_mcp_server-1.1.1.tar.gz
  • Upload date:
  • Size: 12.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for frappe_mcp_server-1.1.1.tar.gz
Algorithm Hash digest
SHA256 3196c2ed0f68c8d389f9af9d4ea7445cc624e0fd103c000fa57be18734cbb48b
MD5 d1b4c4cfa35f3964e019ea2c904cca97
BLAKE2b-256 937db04186244e104f7edf20913536288fd4aecf9599d4d73d0c0ddaf3cdc38e

See more details on using hashes here.

File details

Details for the file frappe_mcp_server-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for frappe_mcp_server-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 74a7d252f8eeecbda55ab5c8eb0e0ccf75983fa61cdebf7e40fb98a37b34ef69
MD5 270ac810ca8ebea6cc35b326d1ec0fd7
BLAKE2b-256 9e47ac23eab121d1f6a5213cf037e84f565afdd0157edf254bce872047a61ff7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page