Connect OpenClaw, Cursor and Other MCP Clients
Create a personal API token, add Lumenbase's remote MCP server to OpenClaw or Cursor, and test the connection.
What this is
Lumenbase runs a remote MCP server. MCP is the standard way AI agents borrow tools from another app. Point OpenClaw, Cursor or another MCP client at it with a personal API token, and your agents can search and update your CRM.
The token acts as you. Agents see only what your own account can see. Using Claude? The Claude connector is easier: it signs in with OAuth and needs no token.
Before you begin
| You need | Details |
|---|---|
| A Lumenbase account | Any member can create a personal token. |
| An MCP client | One that supports Streamable HTTP and a custom Authorization header. OpenClaw and Cursor both do. |
Connect OpenClaw
Generate a personal API token
Go to SettingsPersonalMy integrationsMCPToken and click Generate API Token.
Generate API Token
Create a token for an agent framework such as OpenClaw or Hermes. You will see the full token once.
- 1Label: optional. Name the machine, such as Home gateway, if you run more than one.
Click Generate, then Copy token. Store it safely: Lumenbase shows the full token only once.
Give the token to the gateway
Set LUMENBASE_AGENT_TOKEN where the gateway runs. The easiest place is ~/.openclaw/.env, which OpenClaw reads on start:
LUMENBASE_AGENT_TOKEN=<paste-your-token>Or export it in the shell that starts the gateway:
export LUMENBASE_AGENT_TOKEN="<paste-your-token>"~/.openclaw/.env or the service definition.Add Lumenbase as an MCP server
Add this under mcp.servers in ~/.openclaw/openclaw.json. OpenClaw fills in ${LUMENBASE_AGENT_TOKEN} from the environment, so the token itself never sits in the file.
{
"mcp": {
"servers": {
"lumenbase": {
"url": "https://lumenbase.io/api/mcp",
"transport": "streamable-http",
"headers": {
"Authorization": "Bearer ${LUMENBASE_AGENT_TOKEN}"
}
}
}
}
}Or write the same entry from the command line:
openclaw mcp set lumenbase '{"url":"https://lumenbase.io/api/mcp","transport":"streamable-http","headers":{"Authorization":"Bearer ${LUMENBASE_AGENT_TOKEN}"}}'Restart the gateway and test the connection
openclaw gateway restart
openclaw mcp doctor lumenbase --probeThe probe connects to Lumenbase and lists its tools, such as fetch_contacts and fetch_deals. Lumenbase lists its tools even without a token, so the real test is the next step: a CRM answer means the token works.
Ask your agent about the CRM
Start a chat and ask, for example, "List my open deals". To limit which Lumenbase tools a chat can use, open +, Connectors, Tool access in the OpenClaw Control UI.
Connect Cursor or another MCP client
Every client needs the same two values: the server URL, and your token sent as a Bearer header. For Cursor, put this in ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (one project), and set LUMENBASE_AGENT_TOKEN in your environment.
{
"mcpServers": {
"lumenbase": {
"url": "https://lumenbase.io/api/mcp",
"headers": {
"Authorization": "Bearer ${env:LUMENBASE_AGENT_TOKEN}"
}
}
}
}| Setting | Value |
|---|---|
| Server URL | https://lumenbase.io/api/mcp |
| Transport | streamable-http |
| Header | Authorization: Bearer <your-token> |
What your agents can do
The server offers the same CRM tools Lumo and Claude use, more than 70 of them. A personal token has read and write access. Your admin's Lumo capability settings can turn tools off for the whole workspace.
Look up
Read CRM records and context without changing data.
Create
Add records, organize work and prepare drafts when you ask.
Update
Change existing records and organize your workspace.
Remove
Delete records or remove membership where your permissions allow it. Client confirmation settings still apply.
Messages and meetings
Sending needs the relevant connected account. Remote LinkedIn delivery also needs an extension session.
Enrich and reconcile
Enrich contacts or companies, record job changes and propose duplicate merges. Provider setup and credits may be needed.
Workspace administration
Available only with the required role and workspace settings.
Troubleshooting
OpenClaw often fails an MCP connection without an error in chat: the agent just answers without CRM data. Test the token on its own first. This call asks for one contact, so it only succeeds with a valid token:
curl -s -X POST https://lumenbase.io/api/mcp \
-H "Authorization: Bearer $LUMENBASE_AGENT_TOKEN" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"fetch_contacts","arguments":{"limit":1}}}'| You see | Fix |
|---|---|
| Lumenbase is not connected | No token reached the server: the variable is empty in that shell or process. Set it and try again. |
| Access token not recognized | The token is mistyped or cut off. Paste it again, or generate a new one. |
| This access token has been revoked | Generate a new token under SettingsPersonalMy integrationsMCPToken and update the variable. |
| This access token is no longer valid for your workspace | You were removed from the workspace. Ask an admin to invite you again, then create a new token. |
| Rate limit exceeded. Maximum 60 requests per minute. | Wait a minute. Each token also has a cap of 5,000 requests a day. |
| The probe connects but lists no tools | Check toolFilter in the server entry, and ask your admin whether Lumo tools are turned off. |
| Changes to openclaw.json have no effect | Run openclaw gateway restart. Follow the log with openclaw logs --follow. |
Quick reference
- Create or revoke tokens
- SettingsPersonalMy integrationsMCPToken
- Server URL
https://lumenbase.io/api/mcp- Environment variable
LUMENBASE_AGENT_TOKEN- Limits
- 60 requests a minute, 5,000 a day, per token
Was this article helpful?

