Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

crenyaMCP for Frappe and ERPNext

Latest version: v0.6.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
MCP server Transport: Streamable HTTP Publisher: crenya
0 Stars
0 Forks
1 Versions
Python Repo language

Scan summary

crenyaMCP for Frappe and ERPNext was last scanned on 29 Nov 2026 at version 0.6.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 29 Nov 2026.
  • Findings: No rules fired in version 0.6.0.
  • MCP server: Runs over Streamable HTTP.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0.6.0 LATEST 29 Nov 2026 No rules fired

No rules fired in 0.6.0

Findings

Findings for v0.6.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.6.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Frappe MCP

Version 0.2.0 · Frappe v15 · MIT

MCP connector so Claude can query and, when you allow it, work in Frappe / ERPNext with each user's own permissions.

Users on claude.ai (Pro, Max, Team, Enterprise) add your site as a custom connector, sign in with their normal ERPNext login through OAuth, and then ask Claude questions such as "show me overdue sales invoices for customer X". Every call runs as that user, so roles, user permissions and field-level permissions apply exactly as in the desk. Out of the box the connector is read-only; switch on Allow Write in MCP Settings to let Claude create, change, submit, cancel, amend and delete documents and press UI buttons such as Make Sales Invoice (see Write & actions).

Requirements

  • Frappe v15 (ERPNext is optional).
  • A publicly reachable site served over HTTPS (claude.ai connects from Anthropic's servers).
  • host_name set in site_config.json to the public URL, for example bench --site <site> set-config host_name https://erp.example.com. OAuth discovery and metadata URLs are built from it.

Install

Frappe Cloud:

  1. On a private bench, add the app from GitHub: https://github.com/crenya/frappe_mcp.
  2. Deploy, then install frappe_mcp on the site.

Self-hosted:

bench get-app https://github.com/crenya/frappe_mcp
bench --site <site> install-app frappe_mcp

Configure

Open MCP Settings:

  • Enabled: master switch for the endpoint and dynamic client registration.
  • Max rows: upper bound for rows returned per tool call (hard cap 1000).
  • Log requests: write an MCP Request Log row for every tool call and every denied request (see Audit log).
  • Allowed roles: only users with one of these roles can use the connector. Left empty, every System (desk) user can use it and website users get 403. Restrict it to the roles you trust.
  • Blocked doctypes: never readable through MCP, whatever the user's permissions. On install this list is filled with defaults (users and roles, OAuth and token doctypes, logs, email queue, webhooks and integration settings, Version, Deleted Document, DocShare, payroll and bank doctypes when ERPNext/HRMS is installed, and so on). Review it for your site. Each default is added once, the first time its DocType exists on the site: defaults added in later versions, or belonging to apps you install later, are added on the next bench migrate. A default you remove stays removed, and an emptied list stays empty.
  • Allowed redirect URIs: OAuth redirect allowlist for dynamic registration. Defaults to the claude.ai and claude.com callbacks. Add a client's custom-scheme callback here (for example cursor://... or vscode://...) if it does not use a loopback callback.
  • Allow desktop clients (loopback redirects): also accept http://127.0.0.1, http://localhost and http://[::1] callbacks on any port and path (RFC 8252). Desktop MCP clients such as Claude Code, Cursor and VS Code use these. On by default.

Open OAuth Provider Settings and set Skip Authorization to Force. With "Auto" the consent screen is skipped and any client is silently authorised for a logged-in user. "Force" shows the Allow/Deny screen every time.

Connect from claude.ai

  1. claude.ai: Settings, Connectors, Add custom connector.
  2. URL: https://<site>/api/method/frappe_mcp.api.mcp
  3. Click Connect, sign in with your ERPNext login, then click Allow.

Fallback if dynamic registration fails: create an OAuth Client manually (grant type Authorization Code, response type Code, scopes all openid, redirect URIs https://claude.ai/api/mcp/auth_callback and https://claude.com/api/mcp/auth_callback, skip authorization off), then enter its Client ID and Client Secret under Advanced settings when adding the connector.

Connect from other MCP clients

The connector is a standard remote MCP server (Streamable HTTP, protocol versions 2025-03-26 to 2025-11-25) with standard MCP sign-in (OAuth 2.1 with PKCE, discovery and dynamic client registration). Any MCP client works with the same URL, https://<site>/api/method/frappe_mcp.api.mcp:

Client supports How to connect
Remote MCP with OAuth (claude.ai, Claude Desktop, Claude Code, Codex, Cursor, VS Code and most current desktop apps) Add the URL, sign in with your ERPNext login, click Allow. Desktop apps that receive the sign-in on http://127.0.0.1:<port> / localhost work out of the box (Allow Desktop Clients); an app with its own callback such as myapp://oauth/callback needs that exact URI in Allowed Redirect URIs (look for redirect_uri= in the address bar of the ERPNext sign-in page it opens).
Remote MCP with custom headers, no OAuth API key header: Authorization: token <api_key>:<api_secret> (keys from your User, API Access).
Remote MCP but no dynamic client registration Create an OAuth Client in ERPNext with the client's redirect URI (as in the claude.ai fallback above) and enter its Client ID / Secret in the client.
Local (stdio) servers only Bridge with an MCP stdio-to-HTTP proxy, e.g. npx -y mcp-remote https://<site>/api/method/frappe_mcp.api.mcp (third-party package; it handles the OAuth sign-in, or pass --header "Authorization: token <key>:<secret>").

Sign-in is per user: everyone connects as themselves and sees only what their ERPNext permissions allow. A "401" from a client's "test connection" button before you sign in is expected: it is the challenge that starts the sign-in.

Claude Code

claude mcp add --transport http erp https://<site>/api/method/frappe_mcp.api.mcp
# then run /mcp and choose Authenticate; or, with an API key instead:
claude mcp add --transport http erp https://<site>/api/method/frappe_mcp.api.mcp \
  --header "Authorization: token <api_key>:<api_secret>"

Codex (CLI, IDE extension and the Codex tab in the ChatGPT app share ~/.codex/config.toml). Adding the server detects OAuth and opens the ERPNext sign-in in your browser:

codex mcp add erp --url https://<site>/api/method/frappe_mcp.api.mcp
codex mcp list            # erp ... enabled  OAuth
codex mcp login erp       # sign in again later, e.g. as another user

Or in config.toml directly:

[mcp_servers.erp]
url = "https://<site>/api/method/frappe_mcp.api.mcp"
# API key instead of OAuth: export ERP_MCP_AUTH="token <api_key>:<api_secret>"
# env_http_headers = { "Authorization" = "ERP_MCP_AUTH" }

Cursor (~/.cursor/mcp.json) and VS Code (.vscode/mcp.json, or Command Palette, MCP: Add Server, HTTP); leave out headers to sign in with OAuth:

{ "mcpServers": { "erp": { "url": "https://<site>/api/method/frappe_mcp.api.mcp",
  "headers": { "Authorization": "token <api_key>:<api_secret>" } } } }
{ "servers": { "erp": { "type": "http", "url": "https://<site>/api/method/frappe_mcp.api.mcp",
  "headers": { "Authorization": "token <api_key>:<api_secret>" } } } }

Open-source coding agents (OAuth unless noted; add the Authorization: token <api_key>:<api_secret> header where a client cannot sign in):

Client Setup
OpenCode ~/.config/opencode/opencode.jsonc: { "mcp": { "erp": { "type": "remote", "url": "https://<site>/api/method/frappe_mcp.api.mcp", "enabled": true } } }, then opencode mcp auth erp
Gemini CLI ~/.gemini/settings.json: { "mcpServers": { "erp": { "httpUrl": "https://<site>/api/method/frappe_mcp.api.mcp" } } }, then /mcp auth erp
Continue ~/.continue/config.yaml: under mcpServers, - name: erp, type: streamable-http, url: https://<site>/api/method/frappe_mcp.api.mcp
Goose goose configure, Add Extension, Remote Extension (Streamable HTTP), paste the URL
Cline, Roo Code, Kilo Code MCP Servers panel, Remote Servers: type streamableHttp, the URL
Pi Desktop and other desktop apps Add a remote (Streamable HTTP) MCP server with the URL. If sign-in fails with a redirect error, copy redirect_uri= from the ERPNext sign-in page's address bar into Allowed Redirect URIs, or use the API key header
Clients that only run local (stdio) servers Command npx, args -y mcp-remote https://<site>/api/method/frappe_mcp.api.mcp
Using it

Once connected, just ask in plain language; the client picks the tools, and you see each call before anything is changed (unless you have allowed it):

  • "What needs me today?" (my_day)
  • "Which customers owe us more than 60 days? Draft a reminder for the top five." (receivables_summary, customer_360)
  • "Which purchase orders are late, and has anything been billed but not received?" (overdue_purchase_orders, three_way_match)
  • "Read the PDF attached to Purchase Invoice ACC-PINV-0012 and check it against the PO." (read_attachment)
  • "What is waiting in the support queue for me?" (support_queue)

Playbooks give the same procedure to everyone: run one as a prompt (Claude Code /mcp__erp__ar_follow_up, VS Code /mcp.erp.ar_follow_up) or ask "list the playbooks and run ar_follow_up for ACME". To run one on a schedule, create an MCP Agent, press Copy Prompt, and paste it into a scheduled task of your client (a Claude routine, codex exec "<prompt>" from cron, and so on); see Scheduled agents.

Tools

Live check

Not yet probed. This server declares a remote endpoint but we have not observed it, so nothing below is known either way.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • MCP Registry com.crenya/frappe-mcp

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229