MCP Console Python
Python clients and adapters for persistent R, Python, and SQL sessions.
mcp_console provides Python clients and model framework adapters for Console’s persistent R, Python, and SQL workbench.
Use the package
Start with Use Console from Python, or jump to a task:
- Call Console directly: install the client and make synchronous or asynchronous calls.
- Read and display results: inspect text and images or display them in a notebook.
- Choose a model integration: select an adapter and its package extra.
- Drive send directly for call sequencing, or Requirements for dependency declarations.
API reference
The Python API reference documents arguments, return values, and complete integration examples. See MCPConsole and AsyncMCPConsole for the clients, and Requirements for dependency declarations. ConsoleResult preserves each call’s output, including the result attached to a ConsoleError.
The shared documentation covers language behavior, configuration, sandbox permissions, and recordings.