Skip to main content

YepCode

Description

Enables secure execution of LLM-generated scripts and processes in isolated environments with environment variable management for teams needing to run code directly from AI assistants.

Authorisation

To use this MCP server, you need API credentials in your environment.

Usage

Remote MCP servers are available in the Portia cloud dashboard.

After you have created your Portia account (↗), you can enable the server via the Portia cloud tool registry (↗). You will be requested to provide your API key when you enable the server.

Once enabled, set your Portia API key in your environment and the tools will be available to use in the DefaultToolRegistry.

Listing the tools with the CLI:

$ PORTIA_API_KEY=<your-api-key> portia-cli list-tools

Using the DefaultToolRegistry in your code:

from portia import DefaultToolRegistry, Portia, Config

config = Config.from_default()
portia = Portia(config=config, tools=DefaultToolRegistry(config))