Skip to main content
Glama

Python Code Runner

by shibing624
setup.py1.76 kB
# -*- coding: utf-8 -*- """ @author:XuMing(xuming624@qq.com) @description: """ import sys import os from setuptools import setup, find_packages __version__ = "0.0.3" if sys.version_info < (3,): sys.exit('Sorry, Python3 is required.') readme = "" if os.path.exists('README.md'): with open('README.md', 'r', encoding='utf-8') as f: readme = f.read() setup( name='mcp-run-python-code', version=__version__, description='mcp-run-python-code: MCP server for running Python code, installing packages, and executing Python files.', long_description=readme, long_description_content_type='text/markdown', author='XuMing', author_email='xuming624@qq.com', url='https://github.com/shibing624/mcp-run-python-code', license='Apache License 2.0', zip_safe=False, python_requires='>=3.10', entry_points={"console_scripts": ["mcp-run-python-code=run_python_code.__main__:main"]}, classifiers=[ 'Intended Audience :: Developers', 'Operating System :: OS Independent', 'Natural Language :: Chinese (Simplified)', 'Natural Language :: Chinese (Traditional)', 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Topic :: Text Processing', 'Topic :: Text Processing :: Indexing', 'Topic :: Text Processing :: Linguistic', ], keywords='python-interpreter, mcp, run-python-code, install-python-package, execute-python-file', install_requires=[ "mcp", "requests", "loguru", "fastapi", "uvicorn", ], packages=find_packages(exclude=['tests']), package_dir={'mcp-run-python-code': 'run_python_code'}, package_data={'mcp-run-python-code': ['*.*']} )

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/shibing624/mcp-run-python-code'

If you have feedback or need assistance with the MCP directory API, please join our Discord server