Skip to main content
Connect Codex, Claude Code, or another MCP client to Pretty. You need a Pretty account in a workspace with external access enabled. See Pretty MCP for what the connection can do. The server URL is:
If authorization says your workspace cannot be reached from outside the app, ask your workspace admin to contact support.

Connect with Codex

Add Pretty as a remote MCP server:
Sign in to Pretty in the browser window that opens. Check the workspace named on the consent screen, then allow access. The connection uses that workspace; switch to the workspace you want in the web editor before authorizing if you belong to more than one. Run codex mcp list to check that Pretty is configured. Start a Codex session and ask it to use Pretty’s list_chats tool to verify access. The Codex CLI and IDE extension share MCP configuration. See the Codex MCP guide for client setup details.

Connect with Claude Code

In Claude Code, run /mcp, select Pretty, choose Authenticate, and complete the browser sign-in and consent flow. Run claude mcp list to check that Pretty shows as connected. The command adds Pretty to the current project. To make it available in every project, add --scope user to the claude mcp add command. See the Claude Code MCP guide for client setup details.

Connect another MCP client

Choose Streamable HTTP as the transport, enter the server URL above, and use the client’s OAuth sign-in. Pretty publishes its authorization details at /.well-known/oauth-protected-resource/mcp. The client must request the mcp:tools scope.

Try your first chat

Ask your AI client:
The client calls start_chat and receives a chatId. It then calls wait_for_chat_status with that ID. If Pretty is still queued or working after 50 seconds, the tool returns the current status and the client calls it again. When the status is finished, read lastMessage; when it is waiting_for_you, answer in the same chat with send_message. Use list_messages to read more than the latest reply. To work from a file already in your Pretty Workspace, ask the client to find its path with list_files and attach that path to start_chat or send_message. You can also attach a URL. To work from a local file, ask the client to upload it to your Pretty Workspace first. The client creates a direct upload, sends the bytes to storage, completes the upload, then attaches the new Workspace path to the chat. The file bytes do not pass through the Pretty API server. See the MCP tool reference for inputs, results, and chat statuses.