Back to Home
buildswithpaul icon

Frappe_Assistant_Core

Verified Safe

by buildswithpaul

Overview

Integrates Large Language Models (LLMs) with Frappe/ERPNext systems to enable AI-powered business data analysis, document management, and reporting through a secure Model Context Protocol (MCP) server.

Installation

Run Command
bench start

Environment Variables

  • FRAPPE_SITE_PORT

Security Notes

The server employs robust multi-layered security measures, including: stringent OAuth 2.0 and API key authentication; comprehensive role-based access control integrated with Frappe's permission system; extensive static code scanning for dangerous Python and SQL operations ('exec', 'eval', direct DB modifications, file/network access) within the `run_python_code` tool; a read-only database wrapper (`ReadOnlyDatabase`) for script execution; strict control over available built-in functions and module imports; and detailed audit logging of all LLM interactions and tool executions. Dynamic client registration is configurable and defaults to enabled. While the `run_python_code` tool directly uses `exec()`, the sandboxing and validation mechanisms are exceptionally thorough, making it one of the safest implementations of arbitrary code execution in such a context.

Similar Servers

Stats

Interest Score60
Security Score9
Cost ClassMedium
Avg Tokens1500
Stars112
Forks65
Last Update2025-12-03

Tags

ERPNextAILLMData AnalysisDocument Management