Skip to main content
Glama
vedadsose

Context11 MCP Server

Context11 MCP Server

npm version

An MCP (Model Context Protocol) server that provides access to your Context11 knowledge base for AI assistants.

Installation

npm install context11-mcp

Related MCP server: RAG Documentation MCP Server

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

A
license - permissive license
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vedadsose/mcp-server-context11'

If you have feedback or need assistance with the MCP directory API, please join our Discord server