Home/Documentation
GuideClaude Code

Claude Code Setup with MemoAir

Install MemoAir into Claude Code using Claude's native MCP CLI flow. MemoAir wraps the command so you can paste one line from the dashboard and get a working local MCP setup quickly.

Why this flow is different

Claude Code already has a native `claude mcp add` workflow for HTTP MCP servers.

MemoAir generates the exact install command so you don’t need to remember the MCP flags or headers.

This keeps Claude Code setup local and CLI-native instead of trying to force a browser-only install.

Setup

Four quick steps.

1

Get your MemoAir credentials

Open dashboard.memoair.space and copy your MCP URL, project API key, and user ID.

2

Run the MemoAir install command

Run this on the same machine where Claude Code is installed:

1npx -p memoair-mcp memoair-connect claude-code --mcp-url "https://mcp-server.memoair.space/mcp" --project-api-key "memoair_pk_your_project_key" --user-id "your-user-id" --scope local

`--scope local` is the recommended default for a single project checkout.

3

Verify MemoAir is registered

Claude Code can list configured MCP servers directly:

1claude mcp list

Confirm that memoair appears in the list.

4

Optional: enable repo memory workflow

If you also want the local memoair.md guide and repo setup used in coding workflows, run:

1npx -p memoair-mcp memoair-init

Scope guidance

Local

Best default. Keeps MemoAir available for you in the current project only.

Project

Use when you want a shared `.mcp.json` in the repo for teammates.

User

Use when you want MemoAir available across all projects on your machine.

Troubleshooting

The `claude` command is missing

Install Claude Code first and make sure the `claude` binary is available on your PATH, then rerun the MemoAir command.

MemoAir does not appear in `claude mcp list`

Rerun the generated install command and verify the MCP URL, project API key, and user ID are correct.

Project-scoped approval got stuck

Claude Code supports `claude mcp reset-project-choices` if you need to reset project MCP approval decisions.

Want the full MCP reference too?

The shared MCP page also covers Claude Desktop, Cursor, and raw config details.