Connect a workspace
Codex or Claude Code on Mac
- Open the database you want your agent to use in Nextstep.
- On first launch, choose Connect Codex or Connect Claude Code. In an existing workspace, open Agent → Connection & instructions.
- Nextstep opens a prepared conversation in your agent. Read the request, send it, then describe what you want to track.
Another MCP client or a source checkout
Use a client that can launch a local process over standard input and output (stdio). In Other agents & advanced setup, choose Copy connection. Add the entry to your client’s MCP settings and start a fresh session. Clients with separate command and argument fields use those same values.
The installed Mac app supplies its own runtime. Replace the example database path below with the absolute path to the existing database you opened in Nextstep. Keep any other MCP entries in your client.
{
"mcpServers": {
"nextstep-crm": {
"command": "/Applications/Nextstep.app/Contents/MacOS/Nextstep",
"args": [
"--crm-mcp",
"--database",
"/absolute/path/to/nextstep.sqlite"
]
}
}
}
For a source checkout with the pinned dependencies installed, set the command to the absolute path of Node 24. Pass the absolute path to mcp/crm-stdio.mjs, then --database and the database path as separate arguments.
A private server or a shared workspace
Private SQLite server. Connect Nextstep to your server, then open advanced setup and enter your SSH host. The generated SSH command starts the connector on the machine that owns the database. Keep the application HTTP service on loopback.
Shared browser workspace. Sign in with editing access, open Agent and choose Create agent connection. Save the credential shown once in a private text file. On macOS or Linux, restrict it with chmod 600. Enter the file’s absolute path, choose the app or source runtime and copy the generated nextstep-shared configuration.
The shared connector uses the deployment origin, workspace ID and credential file to reach the authenticated workspace over HTTPS. You can revoke it from the Agent page. Self-hosting guide
Check the connection
Start with a request that only reads the workspace.
Which collections can you see in my Nextstep workspace? Tell me whether your changes would need my review. Only look it up.
The agent should call nextstep_crm_context with {}. Compare the collection names with the ones in Nextstep. An empty list is expected for a new workspace. The access value is write or review-required. Your agent provider can process the information it reads.
Make a first change
In an empty practice workspace, try this request. The example uses fictional data.
Create an Exhibits collection with a Stage field for Draft and Open. Add Signal Room in Draft. Show me the preview before saving anything.
The agent reads context, then passes the following change to nextstep_crm_preview. For an existing collection, it should use the current schema and check both active and archived records for an existing identity.
See the preview arguments
{
"id": "exhibits-first-entry",
"title": "Add the first exhibit",
"operations": [
{
"type": "create_collection",
"id": "exhibits",
"name": "Exhibits",
"fields": [
{ "key": "stage", "name": "Stage", "type": "select", "options": ["Draft", "Open"] }
]
},
{
"type": "create_record",
"collectionId": "exhibits",
"collectionVersion": 1,
"title": "Signal Room",
"values": { "stage": "Draft" }
}
]
}
The preview should show two additions. If the diff matches your request, tell the agent to save it. It should send the same arguments to nextstep_crm_apply and read the returned status.
applied- The change is in the workspace. Signal Room appears in Exhibits.
pending- A proposal is waiting in Review. Ask for the change ID. Approve or reject it in Nextstep, then ask the agent to check the outcome.
approved- A person approved the proposal and the change took effect. Read fresh versions before continuing.
rejected- The proposed edits were declined. The agent should respect that decision.
Set the default under Settings → Agent changes → Require review. An agent can also use nextstep_crm_propose when you ask for a review, even with direct writes enabled.
Tool reference
An MCP client discovers the tools through tools/list. Some clients prefix each name with the connection name. These are the names on the Nextstep server.
nextstep_crm_context- Start here for collection IDs, fields, views, versions, access and examples. If the client also lists
nextstep_crm_describe_operation, pass an operationtypeto see its required and optional fields. nextstep_crm_querynextstep_crm_get_record- Find records in a collection and read one by ID. Query active records first and use
archived: truefor archived records. FollownextOffsetuntil it is null when checking every page. On a backend with exact source lookup, use aneqfilter onexternalKey. On earlier backends, match the returnedexternalKeyvalues across pages. nextstep_crm_previewnextstep_crm_applynextstep_crm_propose- Preview, save or propose 1–100 ordered operations together. A change needs an ID, title and operations. Reuse the same ID and identical arguments when retrying an uncertain submission.
nextstep_crm_changesnextstep_crm_history- Check proposal decisions or read applied changes and their before/after values. If the changes tool lists an
idinput, pass the submission ID alone. Earlier connectors can page through changes to find the same decision. nextstep_crm_notesnextstep_crm_write_note- Search notes, then read a full note by ID. Preview a create, update, append or exact-passage edit before submitting. Edits require the current note version.
nextstep_crm_report_flownextstep_crm_flows- Report or read progress on multi-step work. Link real source URLs and change IDs. The CRM derives applied counts from saved changes.
Collection schemas, field types, view settings and batch examples are documented in the composable CRM reference.
Troubleshooting
The agent cannot find the tools
Open the client’s MCP settings and confirm the generated connection is enabled. Check that the command and each argument match Nextstep’s configuration. Start a new agent session and ask for the workspace context. The public website provides documentation; the generated configuration identifies your connector.
The agent sees the wrong workspace or a missing database
Open the intended existing database in Nextstep and copy its connection again. Check whether the agent chose the local nextstep-crm or shared nextstep-shared entry. For a shared connection, confirm the workspace ID and that the credential is still valid. For SQLite, locate the original file before reconnecting.
A version changed or a submission timed out
After a version conflict, read the affected record or note again. Compare the current values with the request and preview a revised change using a new change ID. After a timeout, look up the original change or retry the identical submission with its original ID.