Codex Keeper MCP server

Integrates with external resources to provide curated development knowledge for code generation, bug fixing, and context-aware programming advice.
Back to servers
Provider
aindreyway
Release date
Dec 20, 2024
Language
TypeScript
Package
Stats
2.7K downloads
69 stars

The Aindreyway MCP Codex Keeper is a specialized MCP server that acts as a guardian of development knowledge, providing AI assistants with curated access to the latest documentation and best practices across various programming domains.

Quick Start

Prerequisites

Before installing the MCP Codex Keeper, ensure your system meets these requirements:

  1. Verify you have Node.js installed (version 18 or higher):

    node --version
    
  2. Install or update npm (comes with Node.js):

    npm install -g npm@latest
    
  3. Check that npx is available:

    npx --version
    

    If npx is not found, install it with:

    npm install -g npx
    

Configuration

To use the Aindreyway MCP Codex Keeper, add this configuration to your Cline/Sonnet setup:

"aindreyway-codex-keeper": {
  "command": "npx",
  "args": ["-y", "@aindreyway/mcp-codex-keeper@latest"],
  "disabled": false,
  "env": {
    "npm_config_cache_max": "1024000000",
    "NODE_OPTIONS": "--max-old-space-size=256"
  }
}

That's it! Once configured, the assistant will handle everything automatically.

What Your Assistant Can Do

With the MCP Codex Keeper, you can ask your assistant to:

  • "Show me the latest React documentation"
  • "Find best practices for TypeScript development"
  • "Update documentation for Node.js"
  • "Search for information about async/await"

Available Tools

list_documentation

This tool lists all available documentation sources in the knowledge base. You can optionally filter by category.

add_documentation

Use this tool to add new documentation sources to the knowledge base.

update_documentation

Keep your documentation current by updating existing sources to get the latest content.

search_documentation

Search through the documentation with powerful filtering capabilities by category.

Documentation Categories

The MCP Codex Keeper organizes documentation into these categories:

  • Frontend
  • Backend
  • Language
  • MCP
  • MCP-Guide
  • Database
  • DevOps
  • Security
  • Testing
  • Architecture
  • Mobile
  • AI
  • Cloud

Features

The server includes several powerful features:

  • Documentation Management: Automatically manages documentation from various sources
  • Best Practices Tracking: Keeps track of latest development best practices
  • Intelligent Search: Provides intelligent search capabilities
  • Automatic Updates: Updates documentation automatically
  • Organization: Supports tagging and categorization
  • Optimized Performance:
    • Uses streaming for large files
    • Automatic cache cleanup
    • Memory-efficient search
    • Size and age limits for cached files
    • Limited heap size (256MB)

How to add this MCP server to Cursor

There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json file so that it is available in all of your projects.

If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json file.

Adding an MCP server to Cursor globally

To add a global MCP server go to Cursor Settings > MCP and click "Add new global MCP server".

When you click that button the ~/.cursor/mcp.json file will be opened and you can add your server like this:

{
    "mcpServers": {
        "cursor-rules-mcp": {
            "command": "npx",
            "args": [
                "-y",
                "cursor-rules-mcp"
            ]
        }
    }
}

Adding an MCP server to a project

To add an MCP server to a project you can create a new .cursor/mcp.json file or add it to the existing one. This will look exactly the same as the global MCP server example above.

How to use the MCP server

Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.

The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.

You can also explictly ask the agent to use the tool by mentioning the tool name and describing what the function does.

Want to 10x your AI skills?

Get a free account and learn to code + market your apps using AI (with or without vibes!).

Nah, maybe later