Back to Uno

Get Started with Codex CLI

doc/articles/get-started-ai-codex.md

6.6-release-branch-cut1.1 KB
Original Source

Get Started with Codex CLI

This guide will walk you through the setup process for getting started with Codex.

Check your environment

[!includegetting-help]

Setting up Uno Platform MCPs

  1. Install Codex CLI using the official commands, for example:

    bash
    npm i -g @openai/codex
    # or on macOS
    brew install --cask codex
    
  2. Register the Uno Platform MCPs:

    bash
    codex mcp add "uno" --url "https://mcp.platform.uno/v1"
    codex mcp add "uno-app" -- dotnet dnx -y uno.devserver --mcp-app
    
  3. Start Codex CLI and type the following:

    text
    /mcp
    

    This will show the Uno Platform tools available to the agent.

    [!IMPORTANT] The uno-app MCP may fail to load unless Codex is opened in a folder containing an Uno Platform app.

Next Steps

Now that you are set up, let's create your first app.

Uno TechBite

Getting Started with Uno Platform & Codex CLI - Video Walkthrough:

[!Video https://www.youtube-nocookie.com/embed/FFEWMrp-Aq4]