Generate academic paper drafts from Claude Desktop and other MCP clients with OpenPaper. Start a paper, check progress, and retrieve PDF or DOCX files.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add openpaper --env OPENPAPER_API_TOKEN='<OPENPAPER_API_TOKEN>' -- uvx openpaper-mcp~/.codex/config.toml
[mcp_servers.openpaper]
command = "uvx"
args = ["openpaper-mcp"]
env = { OPENPAPER_API_TOKEN = "<OPENPAPER_API_TOKEN>" }
# codex mcp add openpaper --env OPENPAPER_API_TOKEN='<OPENPAPER_API_TOKEN>' -- uvx openpaper-mcp~/.cursor/mcp.json
{
"mcpServers": {
"openpaper": {
"command": "uvx",
"args": [
"openpaper-mcp"
],
"env": {
"OPENPAPER_API_TOKEN": "<OPENPAPER_API_TOKEN>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"openpaper": {
"type": "stdio",
"command": "uvx",
"args": [
"openpaper-mcp"
],
"env": {
"OPENPAPER_API_TOKEN": "<OPENPAPER_API_TOKEN>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"openpaper": {
"command": "uvx",
"args": [
"openpaper-mcp"
],
"env": {
"OPENPAPER_API_TOKEN": "<OPENPAPER_API_TOKEN>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"openpaper": {
"command": "uvx",
"args": [
"openpaper-mcp"
],
"env": {
"OPENPAPER_API_TOKEN": "<OPENPAPER_API_TOKEN>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"openpaper": {
"command": "uvx",
"args": [
"openpaper-mcp"
],
"env": {
"OPENPAPER_API_TOKEN": "<OPENPAPER_API_TOKEN>"
}
}
}
}Environment variables
OPENPAPER_API_TOKEN
Replace the placeholders with your own credentials and keep them out of version control.