Connect AI agents to Codegen using the Model Context Protocol (MCP) server
cline_mcp_settings.json
file:
Settings
> Feature
> MCP Servers
section, click “Add New MCP Server” and add the following:
codegen
["mcp"]
CODEGEN_API_KEY
: Your Codegen API key for authenticationCODEGEN_API_BASE_URL
: Base URL for the Codegen API (defaults to https://api.codegen.com
)CODEGEN_API_KEY
environment variable is set