AI Context Flow MCP β Persistent AI context and memory for tools, agents, and platforms.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Universal memory for AI agents and tools. Save, organize and search context anywhere.
An Model Context Protocol server that gives any MCP-compatible AI client persistent memory β documents, notes, conversations, and files stored across organized memory buckets with semantic search. Supports OAuth and Personal Access Tokens (PAT) based authentication.
We also have a Chrome extension called AI Context Flow that lets you capture and use context on any website. It comes with a built-in chat agent (30+ models) that opens as a sidebar on any page β talk to your memories, answer questions from your stored context, and surface connections across everything you've saved. You can use the MCP Server alongside the extension to get full feature set of the product.
π Full documentation Β· π Website Β· π§© Chrome Extension Β· π§ Memory Studio
Production URL: https://app.plurality.network/mcp
The server supports OAuth 2.1 with PKCE (for interactive clients) and Personal Access Tokens (for headless agents and CI). Most clients handle the OAuth flow automatically.
Works with Claude Desktop, Claude Code, ChatGPT, Cursor, and any MCP-compatible client.
β Step-by-step setup guides for all supported clients
| Tool | Description |
|---|---|
get_user_memory_buckets | List all memory buckets (organized folders) for the user |
list_items_in_memory_bucket | List stored items in a specific bucket (metadata only) |
search_memory | Semantic search across buckets with relevance scoring |
read_context | Read the full content of a stored item with pagination |
save_memory | Save text content to a specific memory bucket |
save_conversation | Save a conversation (chat history) to a memory bucket |
create_memory_bucket | Create a new memory bucket for organizing saved content |
The MCP server accepts two auth methods:
| Method | When to use | Browser required? |
|---|---|---|
| OAuth 2.1 + PKCE | Interactive clients: Claude Desktop, Web, Code, ChatGPT | Yes (one-time) |
| Personal Access Token (PAT) | Headless agents, CI runners, custom integrations, n8n, LangChain | No |
plur_pat_β¦ valuePATs require a paid plan. They auto-revoke at expiry, can be rotated with a configurable grace period (default 7 days), and can be immediately revoked from the dashboard. They are stored hashed and never appear in logs.
The server uses Ory Hydra as the OAuth2/OIDC provider:
| Property | Value |
|---|---|
| Algorithm | RS256 |
| Issuer | https://app.plurality.network (prod) |
| Scope | openid offline_access mcp:tools |
| Access token TTL | 15 minutes |
| Refresh token TTL | 720 hours |
| Discovery | https://app.plurality.network/.well-known/oauth-authorization-server |
| Dynamic Client Registration | https://app.plurality.network/register |
/.well-known/oauth-protected-resource from Traefik/register (Dynamic Client Registration) to get client_id/client_secret. The API Gateway proxies this to Hydra, injecting the mcp:tools scopesub claim and mcp:tools scopeAuthorization: Bearer <token> on all MCP requestsmcp:tools scope is checkedTraefik is the single entrypoint. It routes OAuth traffic to Hydra and MCP protocol traffic to the MCP server. The MCP server validates JWTs locally via Hydra's JWKS keys, then forwards the Bearer token to the API Gateway for data access. The API Gateway handles authentication, DCR proxying, and routes vector/search operations to the Vector Service.
Default values work for local development β no changes needed if the API Gateway runs on :5000:
This starts:
| Service | Port | Purpose |
|---|---|---|
| PostgreSQL | 5433 | Hydra's database |
| Hydra | 4444, 4445 | OAuth2/OIDC provider (public + admin) |
| Traefik | 5050 | Reverse proxy / routing |
Wait for services to be healthy: docker compose ps
Port 5051, not 5050. Traefik listens on 5050 and proxies
/mcpto the MCP server on 5051.
Then authenticate via /mcp inside Claude Code.
Authenticate first in the terminal using the steps above. Then add .mcp.json to your project root:
The VS Code extension may not trigger the OAuth browser flow automatically. Complete authentication via the terminal first.
Edit your config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.jsonNo reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/ai-context-flow)<a href="https://allmcps.com/mcp/ai-context-flow"><img src="https://allmcps.com/api/badge/ai-context-flow?style=directory" alt="AI Context Flow on AllMCPs" /></a>