python-mcp-server
This MCP server runs a Python environment to execute code generated by an LLM, useful for web scraping.
The Sample MCP Server in Go is designed to facilitate the execution of code generated by a Language Learning Model (LLM) within a Python environment. This server is particularly useful for tasks such as web scraping. The project is a modified version of a demo available on YouTube and utilizes Podman as the container engine instead of Docker. The server is built using Go 1.23+ and can be tested using the 'mcphost' tool. Configuration involves setting up a JSON file to define the command for the MCP server, and the server can be run using Claude-3.5 Sonnet as the default LLM, which does not require a local GPU. The server allows users to prompt requests for web scraping and other tasks, showcasing the integration of LLMs with practical applications.
Features
- Python Environment: Executes code generated by LLMs for tasks like web scraping.
- Podman Integration: Uses Podman as the container engine instead of Docker.
- Go Language: Built using Go 1.23+ for efficient performance.
- LLM Compatibility: Works with Claude-3.5 Sonnet as the default LLM.
- Configurable: Easily configured through a JSON file for command setup.
Usage with Different Platforms
Build Project
shell
$ go mod tidy && go install
Configure MCP Server
{
"mcpServers": {
"python-repl": {
"command": "python-mcp-server"
}
}
}
Run mcphost
shell
$ export ANTHROPIC_API_KEY='your-api-key'
$ mcphost
Related MCP Servers
View all browser_automation servers →Fetch
by modelcontextprotocol
A Model Context Protocol server that provides web content fetching capabilities, enabling LLMs to retrieve and process content from web pages.
markdownify-mcp
by zcaceres
Markdownify is a Model Context Protocol (MCP) server that converts various file types and web content to Markdown format.
mcp-playwright
by executeautomation
A Model Context Protocol server that provides browser automation capabilities using Playwright.
playwright-mcp
by microsoft
Playwright MCP is a Model Context Protocol server that provides browser automation capabilities using Playwright, enabling LLMs to interact with web pages through structured accessibility snapshots.
mcp-server-weibo
by Selenium39
The Weibo MCP Server (TypeScript Version) is designed for scraping Weibo user information, feeds, and search functionality using the Model Context Protocol.
web-eval-agent
by Operative-Sh
operative.sh's MCP Server is a tool for autonomous debugging of web applications directly from your code editor.
browser-tools-mcp
by AgentDeskAI
BrowserTools MCP is a browser monitoring and interaction tool that enhances AI applications by capturing and analyzing browser data through a Chrome extension.