open-index/open-npm huggingface dataset:
npm package: @my-architect/mcp
Description: My Architect MCP server — connect AI agents to your architecture workspace
Latest version: 1.1.2

# @my-architect/mcp

MCP server for [My Architect](https://my-architect.app) — connect AI agents to your architecture workspace.

## Quick Setup

Get your API token from **Settings → Connect Agent** at [my-architect.app](https://my-architect.app).

### Claude Code

```bash
claude mcp add my-architect \
  --scope user \
  --env MCP_API_KEY=mcp_YOUR_TOKEN \
  --env MA_API_URL=https://my-architect.app \
  -- npx -y @my-architect/mcp
```

Then run `/mcp` in Claude Code to verify.

### OpenClaw (via mcporter)

```bash
mcporter config add my-architect \
  "npx -y @my-architect/mcp" \
  --env MCP_API_KEY=mcp_YOUR_TOKEN \
  --env MA_API_URL=https://my-architect.app
```

Then run `mcporter list` to verify.

### Cursor

Add to `~/.cursor/mcp.json` (global) or `.cursor/mcp.json` (project):

```json
{
  "mcpServers": {
    "my-architect": {
      "command": "npx",
      "args": ["-y", "@my-architect/mcp"],
      "env": {
        "MCP_API_KEY": "mcp_YOUR_TOKEN",
        "MA_API_URL": "https://my-architect.app"
      }
    }
  }
}
```

## Environment Variables

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| `MCP_API_KEY` | Yes (prod) | — | API token from Settings page |
| `MA_API_URL` | No | `http://localhost:3100` | Backend URL |

## Local Development

If you have the repo cloned, run the MCP server directly:

```bash
npm run mcp
# or with custom env:
MCP_API_KEY=mcp_dev MA_API_URL=http://localhost:3100 npm run mcp
```