- Developer home
- MCP for AI apps
- Install the MCP server
Install the MCP server
Add MR Office's MCP server to Claude, ChatGPT, Cursor, VS Code, Codex, Gemini CLI and any MCP client: one line, no key, no environment variables.
This page is not yet translated into your language; it is shown in English.
One line per app
The hosted server needs nothing installed, no API key and no environment variable: add its address, and the first time it is used you sign in to MR Office in your browser.
One click for Cursor and VS Code; Claude, ChatGPT and Codex take the one line below (or the address in their connector settings).
claude mcp add --transport http mroffice https://mcp.mroffice.ai/mcpcodex mcp add mroffice --url https://mcp.mroffice.ai/mcpcode --add-mcp '{"name":"mroffice","type":"http","url":"https://mcp.mroffice.ai/mcp"}'// ~/.cursor/mcp.json
{
"mcpServers": {
"mroffice": { "url": "https://mcp.mroffice.ai/mcp" }
}
}https://mcp.mroffice.ai/mcpIn claude.ai, Claude Desktop and ChatGPT, add a custom connector with the address https://mcp.mroffice.ai/mcp. The server speaks Streamable HTTP with OAuth; its registry name is ai.mroffice/office.
Run it on your computer
Apps that start local servers run it with one line (stdio is the default; --stdio still works). Documents then stay on your machine.
npx -y mroffice-mcp{
"mcpServers": {
"mroffice": { "command": "npx", "args": ["-y", "mroffice-mcp"] }
}
}gemini mcp add -s user mroffice npx -- -y mroffice-mcp// ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mroffice": { "command": "npx", "args": ["-y", "mroffice-mcp"] }
}
}- Node.js 22 or newer (npx comes with it).
- For page pictures: Google Chrome or Microsoft Edge, or npx playwright-core install chromium-headless-shell.
With the desktop app: MR Office as the screen
With MR Office's desktop app running, the same local line connects the assistant to the app instead: it opens your files in the app's window and edits them live while you watch. See MR Office as your AI's screen.
Inline editor or link
| App | Editor |
|---|---|
claude.ai, Claude Desktop, ChatGPT | Inline |
Cursor, VS Code (GitHub Copilot), Goose | Inline |
Claude Code, Codex, Gemini CLI, Windsurf, Cline, Roo Code, Continue, Zed, JetBrains, Cherry Studio, Chatbox | Link + picture |
The tools are the same everywhere; apps that render MCP Apps views show the editor in the conversation, the others get a link to the same editor in your browser and a picture of the page.
Sign in
Word, Excel and PowerPoint files are read and written by MR Office's Office engine as your own MR Office account (a free account works). The hosted server asks you to sign in the first time; a local one signs in once per computer, by asking the assistant to "sign in to MR Office" or from a terminal. The sign-in is OAuth 2.1 with PKCE; the server never sees your password.
npx -y mroffice-mcp login # opens the browser; allow the app there
npx -y mroffice-mcp whoami
npx -y mroffice-mcp logout # revokes this computer's access