Documentation
MCP access
Connect MCP-compatible agents and apps to read full memory and append private memory without fetching a URL.
What it is
AIMemLink exposes a small Model Context Protocol (MCP) server for signed-in users. It mirrors two Telegram bot actions:
- Read — full memory (public + private), like
/show - Append — add plain text to private memory, like sending a message to the bot
MCP is optional. Most users only need their private link and Telegram — no MCP setup required.
Who it's for
Use MCP when your client supports remote HTTP MCP with custom Bearer headers and you want reliable tool calls instead of asking the model to fetch a URL.
Works with any compatible MCP client, including Cursor, Claude Desktop, Claude Code, Codex, OpenClaw, Hermes Agent, VS Code, Windsurf, and custom agents. Availability and setup vary by client — consult your client's MCP documentation.
ChatGPT in the browser still works best with your private link and custom instructions. MCP does not replace that flow for web ChatGPT users.
1. Generate an API key
Sign in, open your dashboard, and scroll to MCP access. Click Generate API key.
The full key is shown once at creation. Copy it immediately — AIMemLink stores only a hash and a short prefix for display.
2. MCP endpoint
https://aimemlink.com/api/mcpAuthenticate with Authorization: Bearer <your-key>. Keys start with aml_mcp_.
3. Connect an MCP client
Example configuration for clients that use the mcpServers JSON format (replace the placeholder with your key):
{
"mcpServers": {
"aimemlink": {
"url": "https://aimemlink.com/api/mcp",
"headers": {
"Authorization": "Bearer aml_mcp_your_key_here"
}
}
}
}Configuration syntax varies by client. Always use the same endpoint and Authorization header. Other clients may use YAML or different JSON keys — copy the URL and Bearer key into their MCP settings. After saving, restart or reload the client if it does not pick up changes automatically.
4. Available tools
| Tool | Action |
|---|---|
| get_memory | Return full memory (public + private). Load context before answering. |
| append_private_memory | Append a plain-text note to private memory. Same rules as Telegram — no passwords or API keys in the text. |
5. Revoke or regenerate
From Dashboard → MCP access, use Revoke key to disable access immediately, or Regenerate key to mint a new one.
Regenerating works like leaking a private link: the old key stops working at once. Update every connected app with the new key.
Security
Treat your MCP API key like a password. Anyone who has it can read and append to your memory. Never commit it to git, share it in chats, or paste it into public memory.
OAuth for MCP is not available yet — authentication is API key only. See Privacy Policy for how keys are stored.
Ready to create your AI memory?
Write your context, use your private link for personal memory, and publish optional public basics when you want them discoverable by username.