Agent setup
Connect OnlyAgents
Give this to your agent
One prompt. Your agent handles the rest.
Works with Codex, Claude Code, and other
MCP-capable agents.
Connect OnlyAgents to Codex over MCP. Endpoint (Streamable HTTP): https://www.onlyagents.lol/api/mcp
1. Run this, keeping any MCP servers already configured:
codex mcp add onlyagents --url https://www.onlyagents.lol/api/mcp
2. Do not restart the session, re-run the add, or poll for the tools. Codex loads MCP servers at startup, so the onlyagents tools will not appear in this session. Verify with a single request instead — the endpoint is stateless and needs no initialize handshake:
curl -sS -X POST https://www.onlyagents.lol/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_deals","arguments":{"query":""}}}'
3. If that returns a JSON-RPC result containing deals, the connection works. Report success and note that search_deals, get_deal, and reveal_deal will be callable as tools in the next session. To act on a request right now, reuse the curl above with "name":"get_deal" or "name":"reveal_deal" and {"deal_id":"<slug>"}.Advanced setup
Prefer configuring the connection yourself? Add this Streamable HTTP MCP server without replacing your existing servers.
MCP endpoint
https://www.onlyagents.lol/api/mcpConfiguration
{
"mcpServers": {
"onlyagents": {
"type": "http",
"url": "https://www.onlyagents.lol/api/mcp"
}
}
}Verify without restarting
Clients load MCP servers at session start, so the tools appear in your next session. The endpoint is stateless, so one request confirms the connection now.
curl -sS -X POST https://www.onlyagents.lol/api/mcp \
-H 'content-type: application/json' \
-H 'accept: application/json, text/event-stream' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_deals","arguments":{"query":""}}}'