Context11 MCP Server
Enables AI assistants to search, retrieve, and manage documents from a Context11 knowledge base through tools like search_context, get_document, and list_folders.
README
Context11 MCP Server
An MCP (Model Context Protocol) server that provides access to your Context11 knowledge base for AI assistants.
Installation
npm install context11-mcp
Configuration
Environment Variables
| Variable | Description | Required |
|---|---|---|
CONTEXT11_API_KEY |
Your Context11 API key (starts with ctx11_) |
Yes |
CONTEXT11_URL |
API base URL (default: https://context11.com) |
No |
Claude Desktop
Add to your claude_desktop_config.json:
{
"mcpServers": {
"context11": {
"command": "npx",
"args": ["-y", "context11-mcp"],
"env": {
"CONTEXT11_API_KEY": "ctx11_your_api_key_here"
}
}
}
}
Local Development
For local testing against a development server:
{
"mcpServers": {
"context11": {
"command": "npx",
"args": ["-y", "context11-mcp"],
"env": {
"CONTEXT11_API_KEY": "ctx11_your_api_key_here",
"CONTEXT11_URL": "http://localhost:3000"
}
}
}
}
From Source
{
"mcpServers": {
"context11": {
"command": "node",
"args": ["/path/to/context11-mcp/dist/index.js"],
"env": {
"CONTEXT11_API_KEY": "ctx11_your_api_key_here"
}
}
}
}
Tools
search_context
Search the company knowledge base for relevant context, guidelines, and rules.
Parameters:
| Name | Type | Description |
|---|---|---|
query |
string | What to search for in the knowledge base |
limit |
number | Maximum number of results (default: 10) |
Example:
{
"query": "brand guidelines",
"limit": 5
}
get_document
Get the full content of a specific document by ID.
Parameters:
| Name | Type | Description |
|---|---|---|
id |
string | Document ID from search results |
Example:
{
"id": "abc123"
}
list_folders
List all folders in the workspace.
Parameters: None
Example Response:
Found 2 folder(s):
- **Engineering** (ID: abc123)
Documents: 5, Subfolders: 2
- **Marketing** (ID: def456)
Documents: 3, Subfolders: 0
list_documents
List all documents in a specific folder.
Parameters:
| Name | Type | Description |
|---|---|---|
folderId |
string | The folder ID to list documents from |
Example:
{
"folderId": "abc123"
}
read_document
Read a document's full content by ID.
Parameters:
| Name | Type | Description |
|---|---|---|
documentId |
string | The document ID to read |
Example:
{
"documentId": "abc123"
}
update_document
Update a document's title and/or content. Content must be in Tiptap JSON format.
Parameters:
| Name | Type | Description |
|---|---|---|
documentId |
string | The document ID to update |
title |
string | (Optional) New title for the document |
content |
string | (Optional) New content in Tiptap JSON format |
Example:
{
"documentId": "abc123",
"title": "Updated Title",
"content": "{\"type\":\"doc\",\"content\":[{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"Hello world\"}]}]}"
}
Development
# Install dependencies
npm install
# Build
npm run build
# Watch mode
npm run dev
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.