Skip to main content
Annie Remote MCP lets your AI coding assistant ask Annie about your production context, generate reports and run investigations over HTTP with OAuth authentication. No local server or API token is required. Your client handles browser-based login.
Use Annie Remote MCP when you want the AI SRE agent to investigate infrastructure, analyze logs, debug incidents, and produce recommendations. If your agent needs fast, deterministic production graph evidence while it performs another task, use Graph MCP instead.

Setup

Reuse an existing Annie connection if you already have one. Otherwise, choose one setup method below.

Codex

Sign in to Anyshift in the browser, then ask Codex to use Annie’s list_projects to confirm the intended project before starting an investigation.

One-command install

Install across all your editors at once using add-mcp:
This auto-detects your installed editors (Claude Code, Cursor, Windsurf, VS Code, Claude Desktop, etc.) and configures them all.

Manual configuration

Add to your editor’s MCP config file (e.g. .cursor/mcp.json, ~/.claude.json, claude_desktop_config.json):

First Use

If you have not authenticated yet, start login from your client’s MCP settings or first tool call. In Codex, use codex mcp login annie.
  1. Log in with your Anyshift account
  2. If you see Finish connecting your MCP client and the client runs on this computer, select Continue on this computer. Hosted clients connect automatically.
  3. Your editor stores the credentials for subsequent tool calls.
Before reading data or starting an investigation, use list_projects to confirm the intended project. Reuse an existing connection rather than installing it again. For a complete task example, see Investigate a deployment alert.

Authenticate over SSH

When Claude Code runs on an SSH host, you can finish authentication from your local browser without forwarding a port:
  1. Start authentication from Claude Code’s /mcp menu on the SSH host and open its authorization link in your browser.
  2. Sign in to Anyshift. On Finish connecting your MCP client, select Copy callback URL.
  3. Paste the full URL into Claude Code’s URL > prompt on the SSH host and submit it. Do not paste only the code, or open the callback URL in your local browser.
  4. Close the browser tab once Claude Code confirms it is connected.
If copying is blocked, select and copy the URL manually. The URL is temporary: use it promptly, do not share it, and restart authentication from the client if it expires. Other remote clients need support for pasting a callback URL. Continue on this computer is for clients running on the same computer as your browser.

Available Tools

Asking Annie

Custom Reports

After an ask_annie call with hint="report", you can save the answer as a reusable report definition and re-run it later.

Feedback

Ratings flow back into Annie so future investigations can take your judgment into account.

Pre-built skills for Claude Code

If your agent runs in Claude Code, install the Annie Skills plugin to skip the prompt-engineering work. The plugin ships ready-made skills that teach Claude Code when to call which MCP tool, how to chain calls, and how to recover from auth or staleness failures. Source: anyshift-io/annie-skills. This is separate from the Plugin, which packages Graph MCP and a portable production-evidence workflow for compatible agent clients.

Example Prompts

Annie typically takes 30 seconds to a few minutes depending on the complexity of the question. The calling agent must retrieve the result with get_annie_response; automatic polling depends on the client.

Managing Access

You can view and revoke authorized MCP connections from your profile page under Authorized Apps.

Troubleshooting

If your session expires, reset the connection and try again:
Your next Annie tool call will re-open the browser for login.
Make sure your default browser is set in your OS settings. For remote or SSH sessions, follow Authenticate over SSH.
Check the existing investigation with get_annie_response. If it is still running, continue polling that run; if it failed, report the failure. Do not start another investigation just because the first response was not final.