Connect an AI agent to My Architect with MCP
Connect an AI agent to let it read and update the same project model you use in My Architect. For Claude, install the My Architect plugin: one install connects the MCP server, which provides the tools, and adds the workflow skills that teach Claude how to use them — read the relevant context before changing code, record deferred work and known issues, keep requirements linked to tests, and claim, report and deliver work through the shared queue. Without the plugin an agent has the tools but not the workflow.
Install the plugin (recommended)
Section titled “Install the plugin (recommended)”You sign in once with your Google account and approve the app on a consent screen; no key is stored in the plugin or in your environment.
Claude Desktop, claude.ai and Cowork.
- Open Customize → Plugins → Add → Add marketplace and enter
d7561985/my-architect-marketplace. - Install my-architect.
- On the plugin’s Connectors tab press Connect, sign in with Google, check the app name and the address you will return to, and press Allow.
A plugin installed in your Claude account also appears in Claude Code when you sign in there with the same account; run /reload-plugins or restart Claude Code to load it. On Team and Enterprise plans an Owner can add the marketplace once and install the plugin for every member; each member still connects with their own account.
Claude Code only.
/plugin marketplace add d7561985/my-architect-marketplace/plugin install my-architect@my-architect-marketplaceThen run /mcp, choose my-architect, select Authenticate and allow access in the browser.
Install the plugin in one place: either in your Claude account, which syncs it into Claude Code, or in Claude Code directly. Installing it both ways loads it twice.
Skills work in Claude chat, Cowork and Claude Code. The plugin’s agents and hooks run in Cowork and Claude Code; the hooks read the .architect folder of the repository you work in and only report what they find.
Connect without the plugin
Section titled “Connect without the plugin”My Architect serves MCP at https://my-architect.app/mcp. Clients that support remote MCP with OAuth sign in with your Google account; they get the tools but not the workflow skills.
Claude Desktop, claude.ai and the Claude mobile app. Add the connector in Claude — the dialog opens with the name and URL filled in — or open Settings → Connectors → Add custom connector and paste https://my-architect.app/mcp. Press Connect, sign in with Google and press Allow. On the Free plan you can add one custom connector. A connector you added on claude.ai appears in Claude Code automatically when you sign in there with your Claude subscription.
Claude Code.
claude mcp add --transport http my-architect https://my-architect.app/mcpThen run /mcp, choose my-architect and Authenticate.
Codex.
codex mcp add my-architect --url https://my-architect.app/mcpCodex opens the Google sign-in right away; codex mcp login my-architect signs in again later, and codex mcp list shows the server with OAuth authentication.
Other clients that support remote MCP servers with OAuth use the same URL. The access lasts while you keep using it; after about a month without use, or after you disconnect the app, sign in again. Connect agents → Connected apps in the application (the account menu) lists every connected app and disconnects it immediately.
Connect with an API key
Section titled “Connect with an API key”Use a key for scripts, CI and agents that cannot sign in with OAuth. Open Connect agents in the application’s account menu, expand API keys, generate a key, and copy it when displayed. Set up an agent with a key provides configurations for supported clients. Prefer its current account-specific instructions when they differ from an example here.
Clients that can send headers to a remote server use https://my-architect.app/mcp with the header Authorization: Bearer mcp_YOUR_TOKEN; nothing runs on your machine. The published package, @my-architect/mcp, is the alternative for clients that only start local servers: it runs over stdio, forwards requests to the configured backend, and requires Node.js 20 or newer.
| Setting | Hosted configuration |
|---|---|
MCP_API_KEY |
Your exact key from the application |
MA_API_URL |
https://my-architect.app |
Without MA_API_URL, the process defaults to http://localhost:3100. That is the local development backend, not the hosted service. A local stdio process can still use the hosted backend; it does not make a local copy of your project.
Store your real key using your host’s supported credential or environment configuration. Do not commit it to a repository or paste it into shared documentation. The examples below contain placeholders.
Codex with a key
Section titled “Codex with a key”For headless Codex runs the application provides this MCP-only setup command:
codex mcp add my-architect \ --env MCP_API_KEY=mcp_YOUR_TOKEN \ --env MA_API_URL=https://my-architect.app \ -- npx -y @my-architect/mcp@latestCheck the configured server with codex mcp list. Interactive Codex users connect with OAuth as described above. Adding an MCP server alone does not install the workflow skills.
Claude Code with a key
Section titled “Claude Code with a key”Since plugin 3.0 the plugin’s server signs in with OAuth and does not read MCP_API_KEY: Claude Code turns off its OAuth sign-in for a server that sends a fixed Authorization header, so one server cannot offer both.
For headless use with a key, such as claude -p in CI where nobody can sign in, add a separate server that carries the key in its definition:
claude mcp add my-architect --scope user \ --transport http https://my-architect.app/mcp \ --header "Authorization: Bearer mcp_YOUR_TOKEN"Keys and the Claude desktop app
Section titled “Keys and the Claude desktop app”The Code tab of the Claude desktop app is not started from your shell. It does not read ~/.zshrc, ~/.bashrc or any other shell profile, so an export MCP_API_KEY=… line there reaches only Claude Code started from that terminal. Put the key in the server definition, as in the command above, or in the env block of ~/.claude/settings.json for a local npx server, then quit the app completely (Cmd+Q on macOS) and open it again. If every tool returns HTTP 401 while the key works elsewhere, the server process did not receive the key.
Cursor and compatible JSON clients with a key
Section titled “Cursor and compatible JSON clients with a key”Claude Desktop users install the plugin or add the connector described above. For other clients, add the server through the client’s supported MCP configuration. For clients accepting an mcpServers object, the configuration is:
{ "mcpServers": { "my-architect": { "command": "npx", "args": ["-y", "@my-architect/mcp@latest"], "env": { "MCP_API_KEY": "mcp_YOUR_TOKEN", "MA_API_URL": "https://my-architect.app" } } }}Use the location and restart procedure specified by your client. For OpenClaw through mcporter, the application’s Connect section provides the corresponding command. Do not paste the JSON into a client that requires a different configuration format.
Verify access before changing a project
Section titled “Verify access before changing a project”Restart the MCP process after installation or updates; an already running process does not acquire newly installed code. Also restart the relevant agent session when updating its workflow instructions.
Ask the agent to confirm the exact intended project binding and read a known project item. list_projects can help locate a project, but neither the newest result nor an empty response establishes which project you intended. Preserve spaces and punctuation in the project ID.
Read live capabilities before relying on coordination or delivery operations. Visible tool names and successful authentication do not prove that every backend operation is supported or currently permitted.
If access fails, check the backend URL, active key or connector sign-in, client process, and returned error. A 401 Unauthorized from every tool while the key works elsewhere usually means the MCP process never received the key; see Keys and the Claude desktop app. A connector that stopped working after you disconnected it in Connected apps needs a new sign-in. Keep the last verified state; do not initialize replacement data to make a failed read appear successful.
Continue with the agent quickstart or multi-agent coordination.
Verified against app/MCP 1.11.0 and workflow plugin 2.6.0 on October 13, 2026. The OAuth sign-in was checked with app 1.13.0, plugin 3.0.0, Claude Code 2.1.323, claude.ai and Codex on November 24, 2026. Confirm the connected server’s capabilities before applying a procedure.