mcp-code-exec-python
If you are the rightful owner of mcp-code-exec-python and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
This document provides a comprehensive guide on deploying and testing a Model Context Protocol (MCP) server using Heroku, specifically for Python code execution.
The Heroku MCP Code Execution setup allows developers to deploy a Python-based MCP server on Heroku, enabling both local and remote code execution capabilities. The setup supports both Streamable HTTP and Server-Sent Events (SSE) for remote interactions, as well as STDIO for local and remote testing. The guide includes instructions for automatic and manual deployment, setting environment variables, and testing the server in various modes. The document also hints at future integration with the Heroku MCP Gateway for enhanced communication with one-off dynos.
Features
- Automatic and Manual Deployment: Provides options for deploying the MCP server on Heroku using either automatic or manual methods.
- Local and Remote Testing: Supports testing the MCP server both locally and remotely using different protocols like HTTP, SSE, and STDIO.
- Environment Configuration: Guides on setting up necessary environment variables using the Heroku CLI for seamless deployment and testing.
- Streamable HTTP and SSE Support: Offers support for both Streamable HTTP and SSE protocols for remote server interactions.
- Future Integration with Heroku MCP Gateway: Plans for future integration with Heroku's MCP Gateway for improved communication with one-off dynos.
Tools
code_exec_python
Executes Python code with specified packages and returns the output.