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
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
MCPify
Exposes ASP.NET Core endpoints and OpenAPI specifications as Model Context Protocol (MCP) tools for AI assistants.
ACI_MCP
A Node.js-based Model Context Protocol (MCP) server for managing and configuring Cisco ACI fabrics through its APIC REST API.
codex-mcp-server
Integrates OpenAI's Codex CLI with Model Context Protocol (MCP) clients to enable AI-powered code analysis, generation, and brainstorming directly within development environments.
ancplua-mcp
Provides C#/.NET Model Context Protocol (MCP) servers to expose development tools for filesystem, Git, CI, Roslyn, and multi-AI orchestration workflows.