Connect with Codex
Add Pretty as a remote MCP server: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
/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: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.