Atlas / MCP servers / buildswithpaul / Frappe Assistant Core

Frappe Assistant CoreBLOCK

mcp/buildswithpaul/frappe-assistant-core

Infrastructure that connects LLMs to ERPNext. Frappe Assistant Core works with the Model Context Protocol (MCP) to expose ERPNext functionality to any compatible Language Model

Verdict
BLOCK
Grade
F
Trust score
57 /100
Exposed tools
5 2r · 2w · 1d
Transport
streamable-http
License
AGPL-3.0
Stars
317
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

Talk to your ERPNext site. FAC lets Claude, ChatGPT, and other MCP-ready LLMs work directly with your invoices, customers, stock, workflows, and custom apps — inside your ERPNext permissions, with every call logged.

[](https://github.com/buildswithpaul/FrappeAssistantCore/releases) [](https://pypi.org/project/frappe-assistant-core) [](LICENSE) [](https://modelcontextprotocol.io) [](https://docs.assistantcore.cloud/api/tool-reference) [](https://docs.assistantcore.cloud)

[](https://github.com/buildswithpaul/FrappeAssistantCore/actions/workflows/ci.yml) [](https://cloud.frappe.io/marketplace/apps/frappeassistantcore) [](https://github.com/buildswithpaul/FrappeAssistantCore/stargazers) [](https://github.com/buildswithpaul/FrappeAssistantCore/network/members) [](https://github.com/sponsors/buildswithpaul)

New in FAC 3.0: FAC Chat

FAC 3.0 introduces FAC Chat — an opt-in, in-Frappe AI chat assistant powered by FAC Cloud, our managed service. What it does, what it costs and how to sign up: ****.

FAC now offers two ways to use it:

  • **BYO-LLM (MCP ser
Read from source at commit 262c0f89d197OBSERVED · 2026-10-05
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add frappe_assistant_core --env FRAPPE_API_KEY=${FRAPPE_API_KEY} --env FRAPPE_API_SECRET=${FRAPPE_API_SECRET} -- npx -y frappe_assistant_core
claude-desktop
{
  "mcpServers": {
    "frappe_assistant_core": {
      "command": "npx",
      "args": [
        "-y",
        "frappe_assistant_core"
      ],
      "env": {
        "FRAPPE_API_KEY": "${FRAPPE_API_KEY}",
        "FRAPPE_API_SECRET": "${FRAPPE_API_SECRET}"
      }
    }
  }
}
03

Exposed tools (5)

2 read · 2 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
create_taskwriteCreate a task in the default project.
deletedestructiveDelete a document
searchreadFind
search_tasksreadFull-text search across every task you can see.
sendwriteSend a message
04

Trust audit

BLOCKgrade F · trust 57/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)FAIL
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (5 observation(s))
Shell
declared (5 observation(s))
Dependencies
not all pinned
Secrets in source
none-found

Findings (25)

HIGHPrompt injection · prompt.tool_poisoning · CWE-94, CWE-1427
docs/development/TEST_CASE_CREATION_GUIDE.md:108
# IMPORTANT: Always include patch('frappe.log_error') in all test methods to prevent MagicMock pickling errors
Why it matters. a tool description carrying instructions to the agent
Fix. tool descriptions describe the tool; nothing else
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
frappe_assistant_core/api/handlers/initialize.py:53
module = __import__(app_name)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
frappe_assistant_core/core/base_tool.py:384
__import__(dep)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
frappe_assistant_core/core/tool_registry.py:400
module = importlib.import_module(module_path)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
frappe_assistant_core/plugins/base_plugin.py:169
__import__(dep)
MEDIUMCode injection · code.dynamic_import · CWE-78, CWE-94, CWE-95
frappe_assistant_core/utils/code_execution_subprocess.py:283
mod = __import__(pkg)
MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.pre-commit-config.yaml
.pre-commit-config.yaml
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.releaserc
.releaserc
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWInventory / provenance · inv.hidden_file · CWE-1104
.semgrepignore
.semgrepignore
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
frappe_assistant_core/chat/frontend/src/stores/__tests__/widgetRouting.spec.js:17
new Function(readFileSync(`${WIDGET_DIR}/widget_routing.js`, "utf8"))();
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
frappe_assistant_core/chat/frontend/src/stores/__tests__/widgetRouting.spec.js:36
new Function(readFileSync(`${WIDGET_DIR}/widget_streaming.js`, "utf8"))();
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
frappe_assistant_core/chat/frontend/src/stores/__tests__/widgetStreamingModelEvent.spec.js:31
new Function(readFileSync(WIDGET_SRC, "utf8"))();
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
frappe_assistant_core/chat/frontend/src/stores/chat/widgetSession.spec.js:16
new Function(source).call(globalThis);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWCode injection · code.eval_exec · CWE-78, CWE-94, CWE-95
frappe_assistant_core/chat/frontend/src/widget/widgetAttachments.spec.js:20
return new Function("attached_files", `${body}\nreturn attachments;`)(attachedFiles);
Why it matters. evaluates text as code
Fix. remove; use a parser or a dispatch table
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
frappe_assistant_core/chat/api/curated.py:23
return f"curated_{hashlib.sha1(text.encode()).hexdigest()[:8]}"
LOWInsecure crypto · crypto.weak_hash · CWE-327, CWE-338
frappe_assistant_core/hooks.py:338
digest = hashlib.sha1()
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
frappe_assistant_core/chat/frontend/src/components/layout/sidebar-height.spec.js:36
"../../views/ChatView.vue",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
frappe_assistant_core/chat/frontend/src/components/layout/sidebar-height.spec.js:37
"../../views/SettingsView.vue",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
frappe_assistant_core/chat/frontend/src/components/layout/sidebar-height.spec.js:38
"../../views/AnalyticsView.vue",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
frappe_assistant_core/chat/frontend/src/components/layout/sidebar-height.spec.js:39
"../../views/KnowledgeBase.vue",
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
frappe_assistant_core/chat/frontend/src/components/layout/sidebar-height.spec.js:40
"../../views/WorkflowList.vue",
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
frappe_assistant_core/api/oauth_token.py:99
decoded = base64.b64decode(encoded).decode("utf-8")
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
frappe_assistant_core/chat/api/settings/uploads.py:162
content = b64.b64decode(file_data)
LOWObfuscation / stealth · obf.decode_call · CWE-506, CWE-94
frappe_assistant_core/chat/api/support.py:293
content = base64.b64decode(file_data)

Gates applied: no_behavioural_pass.

Audited 2026-10-05 · audit v0.4.1 · source sha 262c0f89d197full audit observations/trust-audit/mcp-server/buildswithpaul__frappe-assistant-core.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-05262c0f89d197BLOCKF57first audit
06

Questions

What is the Frappe Assistant Core MCP server?

Infrastructure that connects LLMs to ERPNext. Frappe Assistant Core works with the Model Context Protocol (MCP) to expose ERPNext functionality to any compatible Language Model

What tools does Frappe Assistant Core expose?

5 in total: 2 read-only, 2 that write, and 1 that can delete or overwrite (delete). Every one is listed on this page with its risk.

Is Frappe Assistant Core safe to connect to an agent?

No — not without reading the findings first. The audit graded it F (57/100) and found 1 critical or high issue in the source. Each one is listed on this page with the file and line it is on. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does Frappe Assistant Core need?

It reads FRAPPE_API_KEY and FRAPPE_API_SECRET from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does Frappe Assistant Core run?

It speaks streamable-http, so it runs as a service you connect to over the network. It is published on npm as frappe_assistant_core.

How current is this page?

The grade is for one exact copy of the source (262c0f89d197), read on 2026-10-05. The repository is watched and re-audited when it changes.

Advertisement