Overview of MCP Scripts
mainMCP Scripts is an extension to the MCP Gateway that allows developers to define custom Model Context Protocol (MCP) tools directly within workflow frontmatter. This enables rapid tool development without the need for external MCP server implementations.
Key Features:
- Inline Definition: Define tools using JavaScript, shell scripts, Python, or Go directly in your workflow.
- Process Isolation: Tools execute in containerized or in-process environments for security.
- Secret Isolation: Controlled access to secrets via explicit environment variable mapping.
- Ephemeral Execution: Stateless, containerized tool invocations that clean up after use.