Connect AI clients and IDEs via @nodo/mcp-server
In this article
- Expose workspace context securely over Model Context Protocol
- Use read and write tools with strict RBAC and RLS enforcement
- Audit tool calls and revoke access immediately
- Move pages across databases with preview_move_page and enum optionMap
- Connect Google Antigravity IDE (manual mcp_config.json setup)
- Try it in Nodo
Expose workspace context securely over Model Context Protocol
@nodo/mcp-server lets compatible IDEs, terminal agents, and AI clients (including VS Code, Cursor, Claude Desktop, and Google Antigravity IDE) search, read, create, and update Nodo entities directly using standard MCP tools.
- Create a scoped personal MCP token in Settings → Nodo MCP → Add an MCP client → Manage personal keys → Create token with only the permissions the client needs.
- Configure @nodo/mcp-server (or the hosted Streamable HTTP endpoint) in your IDE or AI client settings with your workspace origin and token.
- Keep secrets in local environment variables or client secret stores rather than committing them to project repositories.

Use read and write tools with strict RBAC and RLS enforcement
Every MCP call authenticates as the issuing account and respects both token scopes and workspace permissions.
- Start with read-only scopes when connecting a new client so agents can search pages, inspect schemas, and read specifications without modifying data.
- Grant write scopes only when you want the client to create tasks, append meeting notes, or update entity properties.
- Row-level security guarantees an MCP client can never read or modify pages hidden from the token owner.
Audit tool calls and revoke access immediately
Full observability keeps external AI workflows safe in production teams.
- Every @nodo/mcp-server request is logged with token ID, action type, target entity, and timestamp in the security audit log.
- Rotate tokens on a regular schedule or set an explicit expiration date at creation time.
- Revoke a compromised or unused token in Settings → Nodo MCP → Add an MCP client → Manage personal keys → Revoke to terminate client access immediately.
Move pages across databases with preview_move_page and enum optionMap
When moving a page into another database (parent.type = "data_source_id"), call preview_move_page first to inspect schema conversion issues and obtain a previewToken, then commit the move with move_page using the exact same fieldMappings.
- For
select,multiselect, andstatusproperties, map every active source option UUID explicitly to a target option UUID inoptionMap— Nodo never matches enum options by display label. - Step 1 — call
preview_move_pagewithfieldMappingsandoptionMap:
{
"entityId": "11111111-1111-4111-8111-111111111111",
"parent": {
"type": "data_source_id",
"data_source_id": "22222222-2222-4222-8222-222222222222"
},
"fieldMappings": [
{
"sourceSchemaId": "33333333-3333-4333-8333-333333333333",
"sourceFieldId": "44444444-4444-4444-8444-444444444444",
"targetFieldId": "55555555-5555-4555-8555-555555555555",
"optionMap": {
"66666666-6666-4666-8666-666666666666": "77777777-7777-4777-8777-777777777777"
}
}
]
}- Step 2 — pass the returned
previewTokenand identicalfieldMappingsintomove_pagealong withexpectedRevisionand a fresh UUIDcommandId:
{
"entityId": "11111111-1111-4111-8111-111111111111",
"commandId": "88888888-8888-4888-8888-888888888888",
"expectedRevision": 4,
"parent": {
"type": "data_source_id",
"data_source_id": "22222222-2222-4222-8222-222222222222"
},
"conversion": {
"previewToken": "<previewToken from preview_move_page>",
"fieldMappings": [
{
"sourceSchemaId": "33333333-3333-4333-8333-333333333333",
"sourceFieldId": "44444444-4444-4444-8444-444444444444",
"targetFieldId": "55555555-5555-4555-8555-555555555555",
"optionMap": {
"66666666-6666-4666-8666-666666666666": "77777777-7777-4777-8777-777777777777"
}
}
]
}
}Connect Google Antigravity IDE (manual mcp_config.json setup)
Google Antigravity IDE appears in Settings → Nodo MCP as a supported client card with a hosted Streamable HTTP configuration snippet (https://app.nodo.to/api/mcp or https://<your-nodo-host>/api/mcp for Self-Host).
- Open Settings → Nodo MCP and verify that External MCP is enabled for your workspace. If the Enable control on the Google Antigravity IDE card is disabled (for example, disabled by an organization or workspace administrator policy), ask a workspace or organization administrator to enable external MCP access before creating credentials.
- Create a scoped personal MCP token in Settings → Nodo MCP → Add an MCP client → Manage personal keys → Create token (store it in your local secret manager and never commit real tokens to Git).
- In Google Antigravity IDE, open MCP Store → Manage MCP Servers →
View raw configto open the activemcp_config.jsonfile for your installed Antigravity IDE version (documented paths in the official Antigravity MCP documentation: global~/.gemini/config/mcp_config.jsonand project-local.agents/mcp_config.json), paste the hosted Streamable HTTP configuration below, and replace<PERSONAL_MCP_TOKEN>with your personal key:
{
"mcpServers": {
"nodo": {
"serverUrl": "https://app.nodo.to/api/mcp",
"headers": {
"Authorization": "Bearer <PERSONAL_MCP_TOKEN>"
}
}
}
}- If you build and run the local STDIO bridge from a source checkout instead of hosted HTTP, pass your token via
NODO_ACCESS_TOKENalongsideNODO_API_URL. - Restart Antigravity IDE or reload MCP servers, then verify connectivity with a read-only tool such as
searchorlist_entitiesbefore granting write scopes.
Try it in Nodo
- Create a scoped personal Nodo MCP key in Settings → Nodo MCP → Add an MCP client → Manage personal keys → Create token (or connect via MCP OAuth in supported clients), and note its granted scopes. You can revoke it anytime under Manage personal keys → Revoke.
- Configure @nodo/mcp-server in your IDE or AI client with the workspace origin and token.
- Run a read-only search tool call and verify that only pages accessible to your account are returned.
Expected result. MCP responses honor workspace RBAC and RLS boundaries and record tool access in the security log.