1. Conduid
  2. Developer Tools
  3. mcp_python_exec_server_v2
MCP server · Developer Tools

mcp_python_exec_server_v2

Unclaimed devtools
30Low

Scored 4 months ago · breakdown

About mcp_python_exec_server_v2

mcp_python_exec_server_v2 is an MCP server in the Developer Tools category. It has been installed 0 times through Conduid.

Install

Clone
git clone https://github.com/navalmen007/mcp_python_exec_server_v2

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

Ask AI about mcp_python_exec_server_v2

Powered by Claude · Grounded in docs

I know everything about mcp_python_exec_server_v2. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

  • ·README presentNot checked yet.
  • ·License declaredNot checked yet.
  • ·Tests presentNot checked yet.
  • ·Dependencies pinnedNot checked yet.
  • ·No dynamic code executionNot checked yet.
  • ·Scoped permissionsNot checked yet.

README

功能描述

这是一个安全的Python代码执行工具,通过MCP服务器提供安全的执行环境。用户可以通过该工具执行Python代码片段,并获取执行结果。该工具禁用了危险的内置函数和模块,以防止恶意代码执行。

支持的标准库

  • math: 数学计算
  • statistics: 统计计算
  • decimal: 高精度小数
  • fractions: 分数运算
  • functools: 函数工具
  • random: 随机数生成
  • string: 字符串处理
  • time: 时间相关
  • datetime: 日期时间
  • json: JSON处理
  • re: 正则表达式

禁用功能

以下内置函数被禁用:

  • eval, exec, open, input, globals, locals
  • breakpoint, compile, delattr, setattr
  • exit, quit, help, memoryview, vars, dir

使用示例

调用该工具的MCP函数名为python_exec,参数为字符串类型的Python代码。

# 计算1+1
print(1+1)

返回结果:

输出:
2

如果定义了变量:

a = 10
b = 20
c = a + b
c

返回结果:

输出:
30

定义的变量/函数:
a = 10
b = 20
c = 30

注意事项

  1. 代码必须是字符串类型
  2. 代码不能为空
  3. 该工具不能执行文件操作、网络请求等危险操作
  4. 如果代码执行出错,将返回错误信息

README mirrored from the source repository 4 months ago. The original is authoritative.

Questions

About mcp_python_exec_server_v2

How do I install mcp_python_exec_server_v2?

Run git clone https://github.com/navalmen007/mcp_python_exec_server_v2, then add the server to your MCP client's configuration. Conduid has recorded 0 installs, so the command is known to work with current clients.

Is mcp_python_exec_server_v2 safe to use with an AI agent?

Its trust score is 30 out of 100 (low). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is mcp_python_exec_server_v2 still maintained?

Conduid hasn't recorded a commit date for this repository yet. Check the repository directly for recent activity.