Use Breign from Claude Code
Breign exposes your agents to coding assistants that speak MCP, such as Claude Code. Two uses:
- Call an agent from Claude Code: ask your company's support agent or documentation agent a question without leaving your editor.
- Edit your agents from Claude Code: describe a change ("add the GitLab tool to the review agent") and let Claude Code make it through Breign's builder MCP.
Before you start​
- A personal API key. See Account settings.
- Claude Code installed on your computer.
Call an agent from Claude Code​
-
Open the agent on Breign, and in Capabilities, turn on Reachable from local agents (MCP). You need the Update agents permission.
-
Copy the command the page shows. It looks like:
claude mcp add --transport http breign <endpoint shown on the page> --header "Authorization: Bearer <your API key>" -
Replace
<your API key>with your key and run it in a terminal. -
In Claude Code, ask your question; Claude Code calls the agent as a tool.
Edit your agents from Claude Code​
-
Open Account settings › API keys. The Edit your agents from Claude Code block shows the command:
claude mcp add --transport http breign-builder <API address>/mcp/builder --header "Authorization: Bearer <your API key>" -
Copy it with Copy the command, replace the key, and run it.
-
In Claude Code, describe the change you want. Claude Code reads and changes agents with your permissions: it can only do what you can do in Breign.
If something goes wrong​
- Claude Code gets 401: the API key is wrong or was deleted. Create a new one.
- The agent isn't offered as a tool: check that Reachable from local agents (MCP) is on for that agent, and restart Claude Code.