Documentation Index
Fetch the complete documentation index at: https://docs.logic.inc/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Codex is an AI-powered CLI tool for software development. You can connect your Logic MCP server to make Logic agents available during coding sessions.Prerequisites
- Codex CLI installed
- Logic MCP server created (Quick Start guide)
- Server URL from Logic organization settings
Adding Logic MCP Server
Using Codex Commands
Important: Run this command in your terminal, not within a Codex session.
codex mcp add command:
[SERVER_NAME]- A name to identify this server (e.g., “logic-docs”)--url [MCP_SERVER_URL]- Your Logic MCP server URL from organization settings
Managing MCP Servers
List configured servers:Using Logic Agents
Once configured, Logic agents are available in your Codex sessions.Verifying Your Connection
To check if your Logic MCP server is connected:- Start a Codex session
- Type
/mcpin your chat - Verify your Logic server shows as “enabled”
Accessing Logic Agents
Codex can automatically access your Logic agents based on the conversation context. You can:- Ask Codex to use specific Logic agents by name
- Let Codex discover and suggest relevant Logic agents
- Execute Logic agents with parameters as needed
Long-running Logic agents are handled asynchronously. Learn more about
async task execution.
Next Steps
- Learn about async tasks - Handle long-running Logic agents
- Explore agent scope - Control tool availability

