Agents

Codex (OpenAI)

Connect OpenAI Codex to Ink MCP

Setup with OAuth

If your Ink account supports OAuth, just point Codex at the MCP endpoint — it handles authentication automatically:

codex mcp add mlink --url https://mcp.ml.ink/mcp

Codex will open a browser window for you to sign in. After approving, the connection is ready.

Setup with API Key

If you already have an agent key, set it as an environment variable and pass it to Codex:

export MLINK_API_KEY="YOUR_API_KEY"
codex mcp add mlink --url https://mcp.ml.ink/mcp --bearer-token-env-var MLINK_API_KEY

Replace YOUR_API_KEY with your agent key from the Ink dashboard.

Verify

Start a new Codex session and ask:

What MCP tools do you have from mlink?

Codex should list the Ink deployment tools.

Example

Build a React app that shows a dashboard with some charts and deploy it to Ink

On this page