Ajude-me a conectar Platic ao Claude. Siga o guia abaixo, oriente-me no meu idioma e mostre as capturas correspondentes quando eu precisar seguir um passo. # Connect Platic to Claude Code on desktop These instructions are for the assistant receiving this request. Communicate in the user's language, inferred from their conversation rather than the language of this document. This guide uses OAuth with the remote MCP at `https://api.platic.ai/mcp`. ## Choose how to act - **If you are Claude Code with terminal access on the user's computer, perform the installation yourself.** Run the checks, add or reuse the MCP, and verify the result. Do not turn commands you can execute into a tutorial or ask the user to run them for you. Continue through the setup you can perform without asking for confirmation after each routine step. Involve the user only for sign-in, workspace/access approval, a required restart or a concrete blocker. - **If you are regular Claude in the browser/desktop app without local terminal access, guide the user.** Offer the terminal steps below if they have Claude Code installed, or use the app's Plugins interface. Show the matching screenshots and wait for their result between manual steps. Do not claim to have executed a command or installed a server when you only supplied instructions. - Terminal access on an unrelated remote machine does not configure the user's local Claude Code. Confirm the target environment when it is unclear. ## 1. Check the local CLI and existing server In Claude Code, run these commands yourself. Without local terminal access, ask the user to run them: ```sh claude --version claude mcp get platic ``` If the existing `platic` entry has the expected URL and is usable in the intended scope, reuse it. If it uses another URL, resolve that conflict with the user before changing it; preserve other connectors. Inspect only the relevant entry and avoid exposing credentials in chat. If `claude` is not found, check whether the installed CLI is outside the current PATH. Do not change global environment settings or invent API-key variables to make this OAuth command work. If the CLI is unavailable, use the app flow below. Windows PATH failures were not reproduced in this macOS test. ## 2. Add the MCP If no suitable entry exists, execute this command yourself when you have local terminal access; otherwise guide the user to run it: ```sh claude mcp add --transport http --scope user platic https://api.platic.ai/mcp ``` This registers the server in Claude Code's user configuration. It does not complete sign-in. Check the command's result, then run `claude mcp get platic` to verify the saved URL and transport. If registration fails, inspect the actual error rather than declaring success. ## 3. Sign in Use the current session's MCP connection/authentication controls when available. Otherwise, ask the user to open **/mcp**, select **platic**, and choose its sign-in/authentication action. Explain only that remaining manual step; do not restart the installation tutorial. In the authorization window, let the user sign in, choose their workspaces and approve access. Never request credentials in the chat or select all workspaces automatically. If the session must reload before the new server becomes available, explain this and check before interrupting active work. After authorization, verify that Platic's tools are actually available. If a low-impact check is needed, call read-only `list_workspaces` and inspect the result. Report registration and authentication separately: a saved server definition is not a completed connection. If a manual step remains, state exactly what is pending rather than claiming everything is ready. ## Alternative: Claude's desktop app If the CLI is unavailable or the user prefers the app, guide them through its connector interface. Show these screenshots inline, one step at a time. This alternative connects the remote MCP through the app; it does not install the CLI or repair PATH. 1. Open **Plugins**. ![Plugins in the Claude desktop app](https://platic.ai/images/mcp/claude/desktop/01-plugins.png) 2. Select **Add → Add custom connector** (in Spanish, **Agregar → Agregar conector personalizado**). ![Add a custom connector in the app](https://platic.ai/images/mcp/claude/desktop/02-add-custom-connector.png) 3. Enter **Platic** and **https://api.platic.ai/mcp**, then select **Continue**. ![Name and URL in the desktop app](https://platic.ai/images/mcp/claude/desktop/03-name-and-url.png) 4. If Claude reports that a connector with this URL already exists, search Plugins for **Platic**, choose the **api.platic.ai** result, and use **Add** on that connector's page. ![Existing connector message](https://platic.ai/images/mcp/claude/desktop/04-existing-connector.png) ![Existing connector page](https://platic.ai/images/mcp/claude/desktop/05-existing-connector-details.png) 5. Complete the same OAuth flow as in the browser: **Sign in now**, **Register automatically**, and authorize only the desired workspaces. Finish by checking **Connected**. ![OAuth settings](https://platic.ai/images/mcp/claude/web/04-authentication.png) ![Connected status verified in the browser](https://platic.ai/images/mcp/claude/web/07-connected.png) If the user wants a functional check, start with read-only `list_workspaces`. Do not send messages or modify records merely to test installation. The CLI registration command was tested with Claude Code 2.1.314 in an isolated macOS configuration; CLI OAuth and Windows execution were not tested. The connected-status screenshot comes from the browser test.