- Remote servers over the Streamable HTTP transport — the server lives at
https://mcp.langmail.me/mcp; there is no local process to spawn. - The MCP authorization flow (OAuth 2.1) — the client discovers the authorization server, registers itself dynamically, and opens a browser for you to sign in and consent. No manual API keys are involved.
Connect
Point the client at the server URL using its remote/HTTP server option:- OAuth 2.0 protected resource metadata (RFC 9728) and authorization server metadata (RFC 8414)
- Dynamic client registration (RFC 7591) as a public client
- The authorization code grant with PKCE (S256)
The user signing in needs a Langmail account with an active
@langmail.me mailbox. Tokens for accounts without a mailbox are rejected with 401 invalid_token.Client-specific setup
Each client below signs you in through the browser the first time it connects. Where it needs a separate sign-in step, that step is listed.Codex
codex mcp login langmail.
Gemini CLI
/mcp auth langmail. Leave out --scope user to add the server to the current project only.
GitHub Copilot CLI
/mcp auth langmail signs in again. For Copilot inside VS Code, follow the VS Code guide instead.
opencode
opencode.jsonc
opencode mcp list shows the server as needing authentication, run opencode mcp auth langmail.
Factory
/mcp inside droid to sign in.
Goose
Rungoose configure, choose Add Extension, then Remote Extension (Streamable HTTP), and enter langmail as the name and https://mcp.langmail.me/mcp as the URL. Goose opens the sign-in when it first connects.
Zed
Add the server to your Zed settings (zed: open settings file). Zed nests MCP servers undercontext_servers:
settings.json
Antigravity
Open the MCP config from Antigravity’s settings (Customizations → Open MCP Config) and add the server. Antigravity wants the keyserverUrl, not url:
mcp_config.json
Kiro
Add the server to.kiro/settings/mcp.json in your workspace, or to ~/.kiro/settings/mcp.json for every workspace:
mcp.json
Windsurf
Open the MCP config from Cascade (MCP → Open MCP config; on most installs~/.codeium/windsurf/mcp_config.json) and add the server. Windsurf wants the key serverUrl:
mcp_config.json
Kimi Code
Verify the connection
However you connected, the check is the same — ask the agent:Prompt
list_calendars and returns your calendars with their CalDAV URLs.