Connect Klayson to Codex
Two lines in config.toml put Klayson in Codex. Then research the winning ads in your category, get a brief and make new ads in your brand from the terminal.
How to connect
- 01
Open the Codex config Open
~/.codex/config.toml. Create it if it does not exist. - 02
Add the Klayson server Add these two lines.
toml[mcp_servers.klayson] url = "https://api.klayson.com/mcp" - 03
Start Codex and sign in The first Klayson tool call opens a browser sign-in. A free account works.
- 04
Check it is there Run
codex mcp list.
What to ask first
Ask in plain words. Codex picks the Klayson tool and shows the results as tables.
Research the top performing ads for AI note-taking apps and list the hooksReturns the top performing ads and their hooks as a table.
Write a brief for 5 new ads for our app from that researchReturns a brief: one row per ad, each with its angle, its hook and the ad it borrows from.
Make the ads in our brand with our app screenshotMakes the ads in your colors, type and voice. They land on your Klayson canvas too.
Change the second ad to a dark background and a shorter headlineMakes a new version of that ad. The first one stays as it was.
Questions
Start with your website
Paste a URL. Klayson reads your brand and your agents design in it.