TOKYO MANSION
ATLAS / MCP
日本語EN中文

Connect by client

Create a key in the account center. Replace the placeholder and keep the key local and out of Git. Tool calls require account allowance. Account center

Codex CLI

Set the environment variable in the terminal that launches Codex. Open a new session after registration.

export TOKYO_MANSION_API_KEY='<YOUR_API_KEY>'
codex mcp add tokyo-mansion --url https://mansion.handanrdcaidi.com/mcp --bearer-token-env-var TOKYO_MANSION_API_KEY
codex mcp list

Claude Code

Set the key in your terminal, run the command and check /mcp.

export TOKYO_MANSION_API_KEY='<YOUR_API_KEY>'
claude mcp add-json tokyo-mansion '{"type":"http","url":"https://mansion.handanrdcaidi.com/mcp","headers":{"Authorization":"Bearer ${TOKYO_MANSION_API_KEY}"}}'
claude mcp list

VS Code

Add this to .vscode/mcp.json or user MCP configuration, then enter the key when prompted.

{
  "inputs": [
    {
      "type": "promptString",
      "id": "tokyo-token",
      "description": "Tokyo Mansion Atlas API key",
      "password": true
    }
  ],
  "servers": {
    "tokyo-mansion": {
      "type": "http",
      "url": "https://mansion.handanrdcaidi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${input:tokyo-token}"
      }
    }
  }
}

ChatGPT

In an account with custom MCP support, open Settings → Apps, enable Developer mode and create an app. Paste the URL, choose OAuth, then sign in and authorize. Availability depends on the account and workspace.

https://mansion.handanrdcaidi.com/mcp

curl

Set the key and run. A tools array confirms discovery. Replace the body with a tools/call example from the manual.

export TOKYO_MANSION_API_KEY='<YOUR_API_KEY>'
curl -sS 'https://mansion.handanrdcaidi.com/mcp' \
  -H "Authorization: Bearer $TOKYO_MANSION_API_KEY" \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json, text/event-stream' \
    --data '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'