Skip to content
Alim Docs
MCP clients
On this page

Connect AI clients over MCP

Alim runs a Model Context Protocol (MCP) endpoint at /mcp. AI clients sign in with OAuth 2.1 and PKCE and use the tools covered by the scopes you approve.

Continue in another app#

Choose Continue in on a meeting, person, project or tag, then select Claude, ChatGPT, Codex or T3 Code. The prompt includes the record name, its Alim link, a short preview and instructions for reading it through MCP. Codex and T3 Code open their desktop apps.

Selected recordFull context
MeetingSelected transcript, participants, tasks, deadlines, notes, attachments, linked Drive files and email cited by linked work.
Current person or projectDetails, related records and meetings, tasks, deadlines, files and linked email.
Historical person or projectOnly the saved record, details, tasks and deadlines from the selected revision.
TagTagged meetings, mentions and evidence.

File sections include up to 100 Drive links and 100 person or project uploads. Person and project email context includes up to 500 matching threads. The latest matching message supplies a redacted excerpt when available. Otherwise, the message link still works.

Alim tells connected agents to use handoff_read for the selected record. The tool returns next when more pages are available. Approve Read workspace context if an existing connection needs that scope, or paste the copied context into the chat. See what the chosen app receives.

Client setup#

  1. Open Settings → Apps & connections in Alim.
  2. Copy the MCP server URL or select a client tab (Claude, ChatGPT, Claude Code, Codex, VS Code, Cursor, Gemini, or T3 Code) to follow its setup steps.
  3. When the client opens /oauth/authorize, sign in and choose Allow to grant the requested scopes.
  4. Ask the client about your meetings, for example "What did we decide in last week's planning call?"
ServerMCP URL
Hosted servicehttps://alim.akyonlabs.com/mcp
Self-hosted, web appshttps://alim.example.com/mcp, needs a public HTTPS PUBLIC_URL
Self-hosted, local CLIhttp://127.0.0.1:8090/mcp
ClientHow to connect
ClaudeCustomize → Connectors → + Add → Add custom connector. Choose Sign in now and Claude’s published identity. Enable Alim under + → Connectors in the chat. Team and Enterprise owners use Organization settings → Connectors → Add → Custom → Web
ChatGPTPlugins → + → Add custom MCP server, choose OAuth and Create as a plugin, then connect and select Alim in the chat. Workspace permissions apply
Claude Codeclaude mcp add --scope user --transport http alim "$MCP_URL", then claude mcp login alim
Codex CLIcodex mcp add alim --url "$MCP_URL", then codex mcp login alim
T3 CodeAsk the agent to check t3_mcp_servers_read and register the URL with t3_mcp_server_update using {"name":"alim","server":{"url":"https://alim.akyonlabs.com/mcp"}}. For self-hosting use your own URL. In a Claude or Codex thread, choose Sign in, approve in the browser and complete Finish sign-in if prompted.

For example, in a terminal:

bash
MCP_URL=https://alim.akyonlabs.com/mcp
claude mcp add --scope user --transport http alim "$MCP_URL"
claude mcp login alim

Discovery and OAuth endpoints#

EndpointStandardPurpose
/.well-known/oauth-protected-resource/mcpRFC 9728Protected resource metadata for /mcp
/.well-known/oauth-authorization-serverRFC 8414Authorization server capabilities and OAuth routes
/.well-known/openid-configurationOIDCDiscovery alias for OIDC-style clients
/mcp/server-cardSEP-2127MCP server card metadata
/.well-known/ai-catalog.jsonSEP-2127AI catalog discovery entry for /mcp
/oauth/registerRFC 7591Dynamic client registration
/oauth/authorize, /oauth/request, /oauth/consentOAuth 2.1Browser sign-in, request validation and scope approval
/oauth/token, /oauth/revokeOAuth 2.1Token exchange, refresh rotation and revocation

Alim also supports Client ID Metadata Documents (CIMD) and pre-registers Claude, Claude Code, ChatGPT and alim-cli.

Tools and MCP App viewer#

ToolScopePurpose
handoff_readhandoff:readRead one record and its linked context by kind and ID
whoamiprofile:readConnected account ID, name and email
meetings_listmeetings:readFilter meetings by account, email, tag, person, project, series or text
meetings_searchmeetings:readSearch overviews, linked people and projects, titles and transcript passages with timestamps
meeting_readmeetings:readOpen a meeting and a transcript page. In the inline viewer, Notes & Files lists notes, attachments and linked Drive files.
meeting_screenshot_readmeetings:readRead a meeting-window screenshot and its OCR metadata
meeting_askmeetings:askAsk about one meeting. Set include_series_history to include earlier calls in its series within the context limit
context_metadatameetings:readRead recurring series, people profiles and tags

The web build packages mcp-app.html so compatible clients can render meeting details inline via the content-hashed ui://alim/meeting-{build}.html resource. Meeting bundles and screenshot resources live under alim://meetings/{id}. Full route details and limits are in API reference.

Manage grants and trust boundaries#

To revoke a client:

  1. Open Settings → Apps & connections. Each connected client shows its granted scopes and when it was last used (GET /oauth/grants).
  2. Click Revoke beside the client. Its access ends immediately (DELETE /oauth/grants/{id}).
  • Token separation: OAuth tokens (alim_mcp_at_*) are strictly bound to /mcp and the resource indicator (RFC 8707). They are rejected on /api/collections/*, /api/* and admin routes.
  • No admin or database exposure: MCP exposes only the scoped tools above, never raw PocketBase collections, device pairing or admin model/agent routes.
View as Markdown