AI assistants

AI assistants and coding tools that support the Model Context Protocol (MCP) can connect to CalmLens and work in one of your projects: moderate text or a URL, look up assets and decisions, explain a result, and organise folders. Add CalmLens as a remote MCP server with the URL below, then approve the connection in your browser.

https://api.calmlens.com/mcp

Connect an assistant

Add the URL as a remote MCP server in your assistant. It needs no API key or other settings: the assistant finds CalmLens's sign-in from the server and registers itself.

Claude

In Claude's settings, open Connectors, choose Add custom connector, and enter CalmLens and the URL. On Team and Enterprise plans, an owner adds it for the organisation first. Then turn CalmLens on in a conversation and sign in when Claude asks.

Claude Code

claude mcp add --transport http calmlens https://api.calmlens.com/mcp

Run /mcp in a session and choose CalmLens to sign in.

ChatGPT

Turn on developer mode in ChatGPT's Apps settings, create an app with the URL, and choose OAuth as its authentication.

Cursor

Add CalmLens to ~/.cursor/mcp.json, or to .cursor/mcp.json in a project, then choose Connect next to it in Cursor's MCP settings:

{
  "mcpServers": {
    "calmlens": {
      "url": "https://api.calmlens.com/mcp"
    }
  }
}

Visual Studio Code

Add CalmLens to .vscode/mcp.json in your workspace, or run MCP: Add Server and choose HTTP:

{
  "servers": {
    "calmlens": {
      "type": "http",
      "url": "https://api.calmlens.com/mcp"
    }
  }
}

Other assistants

Any client that supports remote MCP servers over Streamable HTTP with OAuth sign-in can connect. Developers building their own client can find the endpoints in MCP and OAuth.

Approve the connection

The first time the assistant uses CalmLens, your browser opens CalmLens to approve it. Any app can register under any name, so the page shows where approving sends you: only continue if you started connecting the app there. Choose the project and what the assistant can do:

AccessThe assistant can
Read onlyList, search and open assets, explain decisions, and read folders, hash lists and events.
Read and changeAlso moderate new content; change, move or delete assets and record review decisions on them; create, change or delete folders; and create, change or delete hash lists and their entries.

An assistant never manages members, API keys, connectors, billing or project settings, never moves folders (that needs project administration), and never shares assets publicly or creates download links for them, whatever your own role allows.

How access works

Approving a connection creates an API key for the assistant in the project, named after the assistant. It acts as you: events record its changes as made by the assistant for you, and it can only do what you can. If your role in the project changes so you no longer hold what you approved, or you leave the project, the assistant stops working until you connect it again.

Assistant keys don't expire. Your Portal › Profile lists the assistants you connected in every project, and you can disconnect any of them there whatever your role. Anyone who manages a project's keys can also revoke them under Portal › API keys. An assistant key's access can't be edited; revoke it and connect again to choose differently.

Assets hold content from your users. Treat what an assistant reads from them as untrusted: CalmLens tells assistants not to follow instructions found in asset content, and read-only access limits what a misled assistant could change.

Tools

Each tool runs one API endpoint with the assistant's key, so the same validation, limits and usage apply. projectId defaults to the connected project.

ToolEndpoint
create_assetPOST /projects/:projectId/assets
list_assets, search_assets, get_asset, list_asset_childrenGET /projects/:projectId/assets, GET /projects/:projectId/assets/search, GET /assets/:assetId, GET /assets/:assetId/children
explain_assetPOST /assets/:assetId/explain
update_asset, move_asset, retry_assetPATCH /assets/:assetId, POST /assets/:assetId/move, POST /assets/:assetId/retry
decide_assetPOST /assets/:assetId/decision
delete_asset, remove_asset_contentDELETE /assets/:assetId, DELETE /assets/:assetId/content
list_folders, get_folder, create_folder, update_folder, delete_folderGET /projects/:projectId/folders, GET /folders/:folderId, POST /projects/:projectId/folders, PATCH /folders/:folderId, DELETE /folders/:folderId
list_eventsGET /projects/:projectId/events
list_hash_lists, get_hash_list, list_hash_list_entriesGET /projects/:projectId/hash-lists, GET /hash-lists/:hashListId, GET /hash-lists/:hashListId/entries
create_hash_list, update_hash_list, add_hash_list_entryPOST /projects/:projectId/hash-lists, PATCH /hash-lists/:hashListId, POST /hash-lists/:hashListId/entries
delete_hash_list, remove_hash_list_entryDELETE /hash-lists/:hashListId, DELETE /hash-list-entries/:entryId

Assistants mark decide_asset, delete_asset, remove_asset_content, delete_folder, delete_hash_list and remove_hash_list_entry as destructive and usually ask before running them. A read-only connection isn't offered the tools that change things.

Last updated

Signing in

Signing out

Cookies on CalmLens

We use essential cookies for sign-in and security. With your permission, functional cookies remember your preferences and Google Analytics measures website use and signups. Optional ad measurement cookies link Google ad clicks to signups. Personalised advertising stays off. Manage cookies