Skip to main content

MCP server for executing Python code using AgentScope

Project description

AgentScope Python Execution MCP Server

MCP server for executing Python code using AgentScope's built-in tool.

Tools

Tool Name Description
run_python_code Execute Python code

Installation

pip install mcp_python_exec_tools_etop

Usage

Using uvx (recommended)

uvx mcp_python_exec_tools_etop

Specify host and port:

uvx mcp_python_exec_tools_etop --host 127.0.0.1 --port 8000

Using command line

pip install mcp_python_exec_tools_etop
mcp_python_exec_tools_etop

Default starts at http://0.0.0.0:8000/mcp.

Specify host and port:

mcp_python_exec_tools_etop --host 127.0.0.1 --port 8000

Using Python code

from mcp_python_exec_tools_etop import run

run(host="127.0.0.1", port=8000)

Running as module

python -m mcp_python_exec_tools_etop.server

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mcp_python_exec_tools_etop-0.1.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mcp_python_exec_tools_etop-0.1.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file mcp_python_exec_tools_etop-0.1.0.tar.gz.

File metadata

File hashes

Hashes for mcp_python_exec_tools_etop-0.1.0.tar.gz
Algorithm Hash digest
SHA256 79cc98f700d12058198aef6cf28ed9b602186c2227f98c0de10f9a642bd7d548
MD5 89f7b6a4b538746f93ea41c028666343
BLAKE2b-256 52e48b052fcf66b7315e2653c9fbd1b5d3d960e6a9fb1e7157ed1f440e8ed55f

See more details on using hashes here.

File details

Details for the file mcp_python_exec_tools_etop-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcp_python_exec_tools_etop-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 15d48d368031d09d491bf89e4ef498ec765d6082aae9f0a691bd4e7e22ac9102
MD5 03c8537024aa8edefc1df219e274aa42
BLAKE2b-256 aa3e5249b535bf233d146c184f974030b2b32f72ea96ef16b7de6f080ab3d800

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page