M

MCP Frappe

by DannyFiallo030503 · io.github.DannyFiallo030503/mcp-frappe

Enables AI agents to explore and operate Frappe Framework, ERPNext, and HRMS sites at runtime by discovering installed apps, permission-visible DocTypes, schemas, records, child tables, reports, workflows, workspaces, print formats, files, and translations through the authenticated Frappe session. It also supports guarded create, update, delete, submit, cancel, and workflow actions alongside standard DocType, Custom Field, Property Setter, Client Script, permission, and app-customization export operations, each gated by preview and explicit confirmation.

pypi Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-dannyfiallo030503-mcp-frappe": {
      "command": "uvx",
      "args": [
        "mcp-frappe"
      ],
      "env": {
        "FRAPPE_URL": "<VALUE>",
        "FRAPPE_SITE": "<VALUE>",
        "FRAPPE_API_KEY": "<YOUR_VALUE>",
        "FRAPPE_API_SECRET": "<YOUR_VALUE>",
        "FRAPPE_USERNAME": "<VALUE>",
        "FRAPPE_PASSWORD": "<YOUR_VALUE>",
        "FRAPPE_APPS_PATH": "<VALUE>",
        "FRAPPE_MCP_TOOLSETS": "<VALUE>",
        "FRAPPE_MCP_READ_ONLY": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-dannyfiallo030503-mcp-frappe": {
      "command": "uvx",
      "args": [
        "mcp-frappe"
      ],
      "env": {
        "FRAPPE_URL": "<VALUE>",
        "FRAPPE_SITE": "<VALUE>",
        "FRAPPE_API_KEY": "<YOUR_VALUE>",
        "FRAPPE_API_SECRET": "<YOUR_VALUE>",
        "FRAPPE_USERNAME": "<VALUE>",
        "FRAPPE_PASSWORD": "<YOUR_VALUE>",
        "FRAPPE_APPS_PATH": "<VALUE>",
        "FRAPPE_MCP_TOOLSETS": "<VALUE>",
        "FRAPPE_MCP_READ_ONLY": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-dannyfiallo030503-mcp-frappe": {
      "command": "uvx",
      "args": [
        "mcp-frappe"
      ],
      "env": {
        "FRAPPE_URL": "<VALUE>",
        "FRAPPE_SITE": "<VALUE>",
        "FRAPPE_API_KEY": "<YOUR_VALUE>",
        "FRAPPE_API_SECRET": "<YOUR_VALUE>",
        "FRAPPE_USERNAME": "<VALUE>",
        "FRAPPE_PASSWORD": "<YOUR_VALUE>",
        "FRAPPE_APPS_PATH": "<VALUE>",
        "FRAPPE_MCP_TOOLSETS": "<VALUE>",
        "FRAPPE_MCP_READ_ONLY": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-dannyfiallo030503-mcp-frappe": {
      "command": "uvx",
      "args": [
        "mcp-frappe"
      ],
      "env": {
        "FRAPPE_URL": "<VALUE>",
        "FRAPPE_SITE": "<VALUE>",
        "FRAPPE_API_KEY": "<YOUR_VALUE>",
        "FRAPPE_API_SECRET": "<YOUR_VALUE>",
        "FRAPPE_USERNAME": "<VALUE>",
        "FRAPPE_PASSWORD": "<YOUR_VALUE>",
        "FRAPPE_APPS_PATH": "<VALUE>",
        "FRAPPE_MCP_TOOLSETS": "<VALUE>",
        "FRAPPE_MCP_READ_ONLY": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-dannyfiallo030503-mcp-frappe": {
      "command": "uvx",
      "args": [
        "mcp-frappe"
      ],
      "env": {
        "FRAPPE_URL": "<VALUE>",
        "FRAPPE_SITE": "<VALUE>",
        "FRAPPE_API_KEY": "<YOUR_VALUE>",
        "FRAPPE_API_SECRET": "<YOUR_VALUE>",
        "FRAPPE_USERNAME": "<VALUE>",
        "FRAPPE_PASSWORD": "<YOUR_VALUE>",
        "FRAPPE_APPS_PATH": "<VALUE>",
        "FRAPPE_MCP_TOOLSETS": "<VALUE>",
        "FRAPPE_MCP_READ_ONLY": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-dannyfiallo030503-mcp-frappe": {
      "command": "uvx",
      "args": [
        "mcp-frappe"
      ],
      "env": {
        "FRAPPE_URL": "<VALUE>",
        "FRAPPE_SITE": "<VALUE>",
        "FRAPPE_API_KEY": "<YOUR_VALUE>",
        "FRAPPE_API_SECRET": "<YOUR_VALUE>",
        "FRAPPE_USERNAME": "<VALUE>",
        "FRAPPE_PASSWORD": "<YOUR_VALUE>",
        "FRAPPE_APPS_PATH": "<VALUE>",
        "FRAPPE_MCP_TOOLSETS": "<VALUE>",
        "FRAPPE_MCP_READ_ONLY": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
FRAPPE_URL Yes Base URL of the Frappe site, e.g. http://127.0.0.1:8000
FRAPPE_SITE No Site name sent as the Host header on a multi-site Bench
FRAPPE_API_KEY secret Yes Frappe API key for a dedicated Frappe user, used with the token authentication header: Authorization: token <api_key>:<api_secret>.
FRAPPE_API_SECRET secret Yes Frappe API secret corresponding to the API key, used with the token authentication header: Authorization: token <api_key>:<api_secret>. Store it in the MCP client's secret store or environment, never in a checked-in config file.
FRAPPE_USERNAME No Login user for password auth; defaults to Administrator
FRAPPE_PASSWORD secret No Password for password auth
FRAPPE_APPS_PATH No The Bench apps folder, for standard DocTypes and file exports
FRAPPE_MCP_TOOLSETS No Comma-separated toolsets: read, data, customize, developer (default: all)
FRAPPE_MCP_READ_ONLY No YES lists only the read tools; NO allows writes to a remote site

Similar servers