Connect Codex to Apryse docs
Bring Apryse SDK documentation into your Codex workflows.
This guide explains how to connect Codex CLI to a Model Context Protocol (MCP) server that exposes published Apryse docs. After configuring the connection, Codex can access your documentation directly and use it to answer questions, retrieve information, and assist with documentation-related tasks.
Prerequisites
Before you start, make sure to:
Obtain an OpenAI account with access to Codex. See OpenAI's licensing details.
Install Codex CLI using the get-started instructions.
Sign in to Codex with your OpenAI account.
1. Add the MCP server
First, add the MCP server to Codex and verify the connection. See the Codex MCP quickstart for more.
Open your terminal.
Add the MCP server:
codex mcp add apryse-docs --url https://docs.apryse.com/~gitbook/mcpapryse-docsis the local name that Claude Code uses to identify the server.You can replace
apryse-docsas you prefer. It doesn't need to match the site name.This server supports HTTP only. Don't use
stdio. Configure with aurlparameter and an HTTP endpoint.
Launch Codex:
codexIf prompted, sign in and complete browser authentication. Subsequent launches typically open directly in your terminal.
Verify that the server was added successfully:
codex mcp listSuccessful output:
Configured MCP servers:
Name URL Status
apryse-docs https://docs.apryse.com/~gitbook/mcp enabled2. Try a sample prompt
Ask Codex questions about the documentation content the MCP server exposes.
3. Remove the MCP server
These steps are optional and remove the Apryse documentation MCP server.
Remove the configured MCP server:
Remove the configured MCP server:
Troubleshooting
Next steps
Explore setup guides for other supported AI coding assistants:
Last updated
Was this helpful?