Build from a Coding Tool
You can build and change Manor AI workspaces from Claude Code or Codex. The coding tool signs in to Manor AI as you and works with your role in your current team: it can only do what you can do in Manor AI.
The Manor plugin gives the tool two things:
- Skills that teach it how to build, version, test and deliver a workspace.
- A connection to Manor AI's MCP endpoint, at
<your Manor URL>/api/v1/mcp.
The plugin's built-in connection, named manor, signs in to Manor Cloud at
https://app.manorai.xyz. If you run your own Manor AI, install the plugin for
its skills and then add a connection to your own instance, as described in
Connect to your own instance. Otherwise the
tool builds in Manor Cloud instead of your instance.
Claude Code
Run these in your terminal:
claude plugin marketplace add manor-os/manor-os
claude plugin install manor@manor
Then type /mcp in Claude Code and choose manor to sign in. Your browser
opens a Manor AI consent screen where you choose full access or read-only
access.
Codex
Run this in your terminal:
codex plugin marketplace add manor-os/manor-os
Then type /plugins in Codex and install Manor. Codex opens your browser to
sign in the first time it uses the connection.
Connect to your own instance
After installing the plugin, add your instance under its own name. Replace
https://manor.example.com with the address you open Manor AI at.
For Claude Code:
claude mcp add --transport http manor-self-hosted https://manor.example.com/api/v1/mcp
Then type /mcp and choose manor-self-hosted to sign in.
For Codex:
codex mcp add manor-self-hosted --url https://manor.example.com/api/v1/mcp
codex mcp login manor-self-hosted
For sign-in to work, the server needs APP_URL set to its public address, and
must send /.well-known/oauth-authorization-server and
/.well-known/oauth-protected-resource* to the API. The bundled nginx
configuration already does this.
Check the connection
Ask the coding tool to run the whoami tool. It answers with your account,
your team and your role. If the team is not the one you expected, the tool is
signed in to a different Manor AI than the one you have open.
Access keys
Where a browser sign-in is not possible, such as in CI, create an access key
under Settings → Security → Connected apps and agents and send it as an
Authorization: Bearer manor_pat_… header. A key reaches only the MCP endpoint,
with the access chosen for it, and stops working when you revoke it, when it
expires, or when you sign out everywhere.
For a deploy job, choose one workspace under Reaches when you create the key. That key can only work inside that workspace: its database, service, rehearsals, workflows and knowledge. It cannot see other workspaces, your team's people or billing, export the workspace as a blueprint, or delete it, and it stops working as soon as you can no longer change that workspace.
Deploying from a repository
Keep the workspace's blueprint file in your repository and let CI deploy it
with a key limited to that workspace. The job sends the file with
create_upload and calls deploy_workspace, adding adopt: true the first
time. That one call publishes the file as the workspace's next release and
updates the workspace to it, keeping the changes you made in Manor AI yourself.
Before anything is written, database structure changes and a new version of the workspace's service are tried on a copy of its data: the service's acceptance checks run, then recent real read requests are replayed. If any of that fails, the workspace stays exactly as it was and the call returns an error naming the step that failed.
On a pull request, call deploy_workspace with check_only: true. It
publishes nothing and changes nothing; it reports the release the file would
become and runs the same trial on a copy.
The Manor plugin includes a ready-made GitHub Actions setup: a workflow and a
small Python script with no dependencies. Ask your coding agent to add them
next to the workspace's blueprint file. Then, in the repository's Actions
settings, add the variables MANOR_URL and MANOR_WORKSPACE_ID and the secret
MANOR_ACCESS_KEY. From then on, pull requests run the check and every push to
main deploys. The job fails, and its summary names the step that failed, if
Manor does not apply the file.
Developer view
The developer view adds a Develop section to the workspaces you manage. It shows the most recent runs, with the reason for each failure, and how each automation did over the last 30 days.
Turn it on under Settings → Developer. Manor AI also turns it on for you the first time you sign a coding tool in or create an access key. If you turn it off yourself, it stays off.
The developer view only changes what you see. It does not change what anyone is allowed to do.