Back to Home
TingjiaInFuture icon

allbeapi

by TingjiaInFuture

Overview

Transforms any Python library or local script into an LLM-callable Model Context Protocol (MCP) server, enabling LLMs to execute local functions and manage stateful objects.

Installation

Run Command
allbeapi start <library_name>

Security Notes

The core functionality involves dynamically importing and executing user-specified Python code or libraries within the server's process. While designed for trusted local environments and implementing basic input sanitization for `pip install` (`installer.py`), there are no explicit sandboxing mechanisms to isolate the executed code. An LLM could potentially instruct the server to call dangerous methods on exposed objects (`_call_stored_method` using `getattr`) if a vulnerability exists in the exposed library or if a 'jailbreak' allows for unintended command execution through trusted functions. The security of this tool heavily relies on the trustworthiness of the Python code it is configured to expose.

Similar Servers

Stats

Interest Score15
Security Score6
Cost ClassMedium
Avg Tokens500
Stars7
Forks2
Last Update2025-12-17

Tags

LLM ToolingPythonAPI GenerationState ManagementLocal Execution