Control MASAIC from your coding agent
Connect Claude Code, Codex, Cursor, Windsurf, or Claude Desktop to your MASAIC workspace over MCP, and manage agents, skills, tests, and automations by asking.
MASAIC runs an MCP server. MCP (Model Context Protocol) is a standard way for an AI assistant to use outside tools — so once your coding agent is connected, it can read and change your workspace because you asked it to, in plain language.
This is useful when you know what you want but not where it is in the console, when a change touches a dozen agents at once, or when you would rather describe a change than click it.
What you need
| Item | Why |
|---|---|
The masaic CLI | It does the wiring and holds your sign-in (install it) |
| A coding agent | Claude Code, Codex CLI, Cursor, Windsurf, or Claude Desktop |
| Access to a project | The assistant sees exactly what you can see (Teams and access) |
Connect it
Sign in once, then wire up your assistant:
masaic login masaic mcp install claude-code
Restart the assistant and it will have MASAIC available. To check:
masaic mcp status
That prints which assistants are wired up and whether MASAIC actually answers — use it before you start blaming the assistant.
Pick your assistant
masaic mcp install takes the name of the assistant, and each one keeps its settings in a different place:
| Command | Wires up | Config it writes |
|---|---|---|
masaic mcp install claude-code | Claude Code, this project only | .mcp.json in the current folder |
masaic mcp install claude-code-user | Claude Code, all your projects | ~/.claude.json |
masaic mcp install codex | Codex CLI | ~/.codex/config.toml |
masaic mcp install cursor | Cursor | ~/.cursor/mcp.json |
masaic mcp install windsurf | Windsurf | ~/.codeium/windsurf/mcp_config.json |
masaic mcp install claude-desktop | Claude Desktop | Claude Desktop's config file |
The project-scoped claude-code form writes a file in your repository, so your whole team gets the same connection when they check it out. The others are per-user.
Want to see the change before it happens?
masaic mcp install cursor --dry-run
That prints the resulting config and writes nothing. Adding MASAIC never disturbs the other MCP servers already in those files.
To disconnect:
masaic mcp uninstall cursor
No token in the config file
Worth knowing, because it is the usual worry with MCP setups: the config file gets no credential. What it gets is an instruction to launch the CLI, which resolves — and refreshes — your sign-in per message from the store masaic login wrote.
So a config file you commit to your repository carries no secret, and your teammates each authenticate as themselves.
What you can ask for
Once connected, the assistant can work with:
- Agents — list them with their versions, create one, change one (which publishes a new version), read its voice, runtime, and guardrail settings, delete one.
- Skills — list, create, delete.
- Prompts and resources — the instruction and knowledge content your agents use.
- Test cases and runs — list and create test cases, start a run, then read back its status, scores, and transcripts.
- Mock users and personas — the synthetic customers your tests talk to, including their tone, language, and emotional state.
- Automation tasks — list, create, change, pause, resume, run one immediately, and read the run history.
- Analytics — conversations, token usage, tool calls, and latency for the workspace or one agent.
Things that read well as questions:
- "List the agents in this project and say which have no test cases."
- "Create a test persona who is impatient and speaks German, then run the billing agent's test suite against it."
- "Which agent used the most tokens last week?"
- "Pause every automation task that posts to Slack."
Because the assistant does the reading, you do not need to know which console screen holds the answer.
Before you let it change things
The assistant acts as you, with your permissions — not a reduced set. Two habits worth keeping:
- Start in a non-production project or environment. "Tidy up the unused agents" is a real instruction with real consequences (Environments).
- Keep the production step manual. Let the assistant prepare and test a change; promote it through your normal release process (Safe rollouts).
Destructive operations ask for confirmation, but the reliable protection is the project you pointed it at.
If it does not work
| Symptom | Likely cause |
|---|---|
| Assistant shows no MASAIC tools | It was not restarted after masaic mcp install. |
masaic mcp status says MASAIC does not answer | Not signed in (masaic login), or the endpoint is wrong — masaic config view prints what it resolved. |
| Tools answer for the wrong workspace | The wrong project is selected — see project and context. |
| It can read but not change | Your role lacks the permission (Teams and access). |
Related
- The masaic CLI — the same operations as commands, plus YAML you can keep in git.
- MCP servers and tools — the other direction: giving your agents tools to call.
- Testing and release — the test suites an assistant can run for you.