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.0.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.0-py3-none-any.whl (11.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: frappe_mcp_server-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 55a21aa70097376b56767f98c2c3542b2e95ee1cd4e57b8fd675f0fd890eb849
MD5 4a6a31c04e0cd8901e74e14ae6c5b6fd
BLAKE2b-256 865e3767304b970c2f126c6f0756981c49b7a5dc46ec119af30bf757af7a3bf3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for frappe_mcp_server-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c05d5e786e3fc0c9692423ce80a96473c7a5c69a72901f2929fb67836983a7e1
MD5 7d54cf3e07daed45233326b9a6642c57
BLAKE2b-256 fd3fce689a92b27f2df41327ed648f2bd62d1c8c4968ed144350ea4cc43eef40

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