Context7
Up-to-date docs for AI agents
作者提供的说明(英文原文)
Universal memory for AI agents and tools. Save, organize and search context anywhere.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
适用于网页版、桌面版和手机版 Claude:
https://app.plurality.network/mcp在终端中运行这条命令
claude mcp add --transport http ai-context-flow https://app.plurality.network/mcp粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"ai-context-flow": {
"url": "https://app.plurality.network/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"ai-context-flow": {
"type": "http",
"url": "https://app.plurality.network/mcp"
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
ChatGPT 只能连接互联网上的服务器:
https://app.plurality.network/mcp菜单名称可能因套餐和版本不同而略有差异。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
我们还没有读取这个服务器的工具列表;我们会轮流检查各个端点。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过域名 plurality.network 验证(注册中心会核实域名所有权)
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
尚未检查;我们会轮流检查各个端点
尚未检查;我们会轮流检查各个端点
尚未检查;我们会在检查端点时读取工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在作者的云端运行。通过互联网连接,无需安装,但你发送的内容会经过作者的服务器。
GitHub 仓库最后更新于–,最新版本(1.0.1)于6个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。它通过 URL 连接,所以接受远程 MCP 服务器的应用也可以使用,例如开启开发者模式的 ChatGPT。
同一分类中有:Context7, Codebase Memory, Exa
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Up-to-date docs for AI agents
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Connect AI agents to Exa for web search, content fetching, and multi-step research.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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.
▶️ Watch the demo
📖 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](https://docs.plurality.network/the-plurality-mcp-server/connect-your-agents-via-mcp)
| 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_… valueAuthorization: Bearer plur_pat_...
PATs 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 |
OAuth2 flow (step by step)
/.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 on all MCP requestsmcp:tools scope is checkedMCP Client (Claude Code, Cursor, etc.)
│ │ OAuth2 + Streamable HTTP ▼ Traefik (:5050) ← single entrypoint for clients ├── /mcp → MCP Server (:5051) ├── /.well-known/* → API Gateway or Hydra ├── /oauth2/* → Hydra (:4444) └── /register → API Gateway (DCR proxy) │ │ Bearer token ▼ API Gateway (:5000) │ ▼ Vector Service (:8000)
Traefik 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.
cd plurality-mcp-server
pip install uv uv sync
cp .env.example .env
Default values work for local development — no changes needed if the API Gateway runs on :5000:
HYDRA_ISSUER=http://localhost:5050
MCP_RESOURCE_URL=http://localhost:5050 BACKEND_API_URL=http://localhost:5000
cd ory-hydra
docker compose up -d
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
uv run uvicorn main:mcp_server --host 0.0.0.0 --port 5051 --reload
Port 5051, not 5050. Traefik listens on 5050 and proxies
/mcpto the MCP server on 5051.
# Health check (direct)
curl http://localhost:5051/mcp/health
curl http://localhost:5050/.well-known/oauth-protected-resource
open http://localhost:8080
Claude Code
claude mcp add --transport http plurality-memory http://localhost:5050/mcp
Then authenticate via /mcp inside Claude Code.
Claude Code — VS Code Extension
Authenticate first in the terminal using the steps above. Then add .mcp.json to your project root:
{
"mcpServers": { "plurality-memory": { "type": "http", "url": "http://localhost:5050/mcp" } } }
The VS Code extension may not trigger the OAuth browser flow automatically. Complete authentication via the terminal first.
Claude Desktop
Edit your config file:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": { "plurality-memory": { "command": "npx", "args": ["mcp-remote", "http://localhost:5050/mcp"] } } }
Restart Claude Desktop fully, then authenticate when the browser opens.
MCP Inspector (debugging)
npx @modelcontextprotocol/inspector
Enter http://localhost:5050/mcp as the server URL. The inspector walks through the OAuth flow and lets you call tools interactively.
Note: ChatGPT is not supported for local development — it requires publicly reachable OAuth endpoints.
plurality-mcp-server/
├── main.py # Entry point ├── pyproject.toml # Dependencies (managed by uv) ├── .env.example # Environment template ├── src/plurality_mcp_server/ │ ├── app.py # FastMCP app + middleware stack │ ├── config.py # Env vars, shared HTTP client, context vars │ ├── auth.py # JWT validation via Hydra JWKS + scope check │ └── tools.py # MCP tool definitions (read + write) └── ory-hydra/ ├── docker-compose.yml # Hydra + Traefik + PostgreSQL ├── hydra.yml # Hydra OAuth2/OIDC config ├── traefik.yml # Traefik static config └── dynamic.yml # Traefik routing rules
MCP client gets 401 Unauthorized
curl http://localhost:4444/.well-known/openid-configurationHYDRA_ISSUER matches the issuer in the token's iss claimmcp:tools scopeMCP client gets 502 Bad Gateway
docker compose -f ory-hydra/docker-compose.yml logs traefikTools return "Error: Backend API returned status 401" </summar
只显示了开头部分;其余内容请在仓库中阅读