Skip to main content
Cursor supports one-click installs for remote MCP servers, or you can add one config entry by hand.

Prerequisites

Connect

1

Add the server

One click:Install in CursorOr add it to ~/.cursor/mcp.json (global) or .cursor/mcp.json in a project:
mcp.json
2

Authorize access

Open Cursor Settings → MCP, find langmail, and complete the login prompt — the browser opens for Langmail sign-in and consent.
3

Verify

Once authorized, the Langmail tools show up in the agent’s tool list under langmail.

Test it

Ask the agent:
Prompt
It calls list_calendars and returns your calendars with their CalDAV URLs.

Ending access

Remove the langmail entry from mcp.json (or delete the server in Cursor Settings → MCP). Removing it discards its tokens; without the refresh token, access lapses when the current access token expires.

Next steps

Search and triage email

Real prompts and the tool calls they produce.

How authorization works

What happens between “add server” and “connected”.