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 record | Full context |
|---|---|
| Meeting | Selected transcript, participants, tasks, deadlines, notes, attachments, linked Drive files and email cited by linked work. |
| Current person or project | Details, related records and meetings, tasks, deadlines, files and linked email. |
| Historical person or project | Only the saved record, details, tasks and deadlines from the selected revision. |
| Tag | Tagged 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#
- Open Settings → Apps & connections in Alim.
- 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.
- When the client opens
/oauth/authorize, sign in and choose Allow to grant the requested scopes. - Ask the client about your meetings, for example "What did we decide in last week's planning call?"
| Server | MCP URL |
|---|---|
| Hosted service | https://alim.akyonlabs.com/mcp |
| Self-hosted, web apps | https://alim.example.com/mcp, needs a public HTTPS PUBLIC_URL |
| Self-hosted, local CLI | http://127.0.0.1:8090/mcp |
| Client | How to connect |
|---|---|
| Claude | Customize → 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 |
| ChatGPT | Plugins → + → Add custom MCP server, choose OAuth and Create as a plugin, then connect and select Alim in the chat. Workspace permissions apply |
| Claude Code | claude mcp add --scope user --transport http alim "$MCP_URL", then claude mcp login alim |
| Codex CLI | codex mcp add alim --url "$MCP_URL", then codex mcp login alim |
| T3 Code | Ask 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:
MCP_URL=https://alim.akyonlabs.com/mcp
claude mcp add --scope user --transport http alim "$MCP_URL"
claude mcp login alimDiscovery and OAuth endpoints#
| Endpoint | Standard | Purpose |
|---|---|---|
/.well-known/oauth-protected-resource/mcp | RFC 9728 | Protected resource metadata for /mcp |
/.well-known/oauth-authorization-server | RFC 8414 | Authorization server capabilities and OAuth routes |
/.well-known/openid-configuration | OIDC | Discovery alias for OIDC-style clients |
/mcp/server-card | SEP-2127 | MCP server card metadata |
/.well-known/ai-catalog.json | SEP-2127 | AI catalog discovery entry for /mcp |
/oauth/register | RFC 7591 | Dynamic client registration |
/oauth/authorize, /oauth/request, /oauth/consent | OAuth 2.1 | Browser sign-in, request validation and scope approval |
/oauth/token, /oauth/revoke | OAuth 2.1 | Token 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#
| Tool | Scope | Purpose |
|---|---|---|
handoff_read | handoff:read | Read one record and its linked context by kind and ID |
whoami | profile:read | Connected account ID, name and email |
meetings_list | meetings:read | Filter meetings by account, email, tag, person, project, series or text |
meetings_search | meetings:read | Search overviews, linked people and projects, titles and transcript passages with timestamps |
meeting_read | meetings:read | Open a meeting and a transcript page. In the inline viewer, Notes & Files lists notes, attachments and linked Drive files. |
meeting_screenshot_read | meetings:read | Read a meeting-window screenshot and its OCR metadata |
meeting_ask | meetings:ask | Ask about one meeting. Set include_series_history to include earlier calls in its series within the context limit |
context_metadata | meetings:read | Read 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:
- Open Settings → Apps & connections. Each connected client shows its granted scopes and when it was last used (
GET /oauth/grants). - Click Revoke beside the client. Its access ends immediately (
DELETE /oauth/grants/{id}).
- Token separation: OAuth tokens (
alim_mcp_at_*) are strictly bound to/mcpand 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.