View the source code for this module on GitHub: https://github.com/mcp-use/mcp-use/blob/main/libraries/python/mcp_use/client/code_executor.py
Client
Code Executor
Code execution engine for MCP tools API Documentation
Code execution engine for MCP tools.
This module provides secure code execution capabilities for MCP clients,
allowing agents to interact with tools through Python code instead of
direct tool calls.