cf mcp

Setup MCP servers for learning docs and memory system.

Overview

cf mcp generates Model Context Protocol (MCP) server configurations for both learning documentation and memory system. Use this to integrate with other LLM clients like ChatGPT, Claude web, or other AI tools.

Usage

cf mcp [path]

The optional path argument overrides the learning docs folder (default: <project>/docs/learn/).

Output

The command prints JSON configuration for two MCP servers:

Learn MCP

Configuration for the learning documentation server. Provides tools to search, read, create, and manage learning docs.

Memory MCP

Configuration for the project memory server. Provides tools to store, search, list, update, and delete project memories.

Important: The Memory MCP path is project-specific (points to docs/memory/ in your project). Always use a local .mcp.json per project — do not add it to the global ~/.claude/.mcp.json, as it will only work for one project.