UseCortex MCP Server
以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →
Give your AI coding agent a persistent memory — read and write knowledge from any tool.
Website ·
Quick Start ·
Tools ·
Pricing
---
UseCortex MCP is a Model Context Protocol server that gives AI coding agents persistent memory. Your agent can read knowledge you've stored and write new discoveries back — all through a single encrypted endpoint.
No context window limits. No copy-pasting. No outdated docs. Your AI remembers everything.
How It Works
1. **You chat** — describe your coding standards, architecture decisions, client requirements, anything
2. **UseCortex extracts** — AI automatically organizes facts into structured topics
3. **Your agent recalls** — any MCP-compatible tool can query your knowledge instantly
4. **Knowledge grows** — your agent can push new discoveries back, so your knowledge base stays current
Features
- **Two-way knowledge flow** — read context into projects, write discoveries back
- **Works with any MCP client** — compatible with any AI coding agent that supports the Model Context Protocol
- **Encrypted at rest** — AES-256 encryption with per-user keys
- **No vendor lock-in** — your knowledge works across every AI tool
- **Structured by topic** — knowledge auto-organized, not dumped in one pile
Quick Start
Prerequisites
- A free UseCortex account
- An MCP-compatible AI coding agent
1. Generate an API key
Sign up at usecortex.net, then navigate to **Settings → API Keys → Generate**.
> **Note:** Copy the key immediately after generation. It will not be shown again.
2. Install (one command)
Run this in your terminal — replace YOUR_API_KEY with the key from step 1:
That's it. Restart your AI coding agent and UseCortex tools are ready.
Manual setup (alternative)
If you prefer to configure manually, add this to your MCP client config file:
Replace YOUR_API_KEY with the key generated in step 1.
Available Tools
query_knowledge
Ask a natural language question and get an AI-powered answer based on your stored knowledge.
| Parameter | Type | Required | Description |
|-----------|----------|----------|------------------------------------------------|
| query | string | Yes | Natural language question |
| topic | string | No | Filter by specific topic |
list_topics
List all knowledge topics. Takes no parameters.
add_knowledge
Write new knowledge to your base. Your agent can store discoveries, decisions, or patterns it finds.
| Parameter | Type | Required | Description |
|-----------|----------|----------|------------------------------------------------|
| content | string | Yes | The knowledge to store |
| topic | string | No | Topic to file under (auto-detected if omitted) |
get_topic
Retrieve all knowledge entries for a specific topic.
| Parameter | Type | Required | Description |
|-----------|----------|----------|------------------------------------|
| topic | string | Yes | Topic name to retrieve |
search_knowledge
Search knowledge entries by keyword (text match).
| Parameter | Type | Required | Description |
|-----------|----------|----------|------------------------------------|
| query | string | Yes | Search term |
capture_session *(Memory plan)*
Capture an AI session summary into persistent memory. Store what you learned, decided, or built.
| Parameter | Type | Required | Description |