Paelladoc MCP server

Generates structured documentation for software projects through code analysis, template management, and specialized commands for consistent documentation practices across diverse project types.
Back to servers
Setup instructions
Provider
jlcases
Release date
Apr 22, 2025
Language
Python
Package
Stats
4.0K downloads
336 stars

PAELLADOC is an AI-First development framework that implements the Model Context Protocol (MCP), allowing large language models to interact with development tools and context in a structured way. It transforms traditional development by making context the primary artifact instead of treating documentation as an afterthought.

Installation

PAELLADOC requires Python 3.12 or later and should be installed in a dedicated Python virtual environment.

Creating a Virtual Environment

# Navigate to where you want to store the environment
python3.12 -m venv .paelladoc_venv

# Activate the environment (bash/zsh)
source .paelladoc_venv/bin/activate

# For Fish shell
# source .paelladoc_venv/bin/activate.fish

# For Windows PowerShell
# .\.paelladoc_venv\Scripts\activate.ps1

Installing PAELLADOC

# Make sure your virtual environment is activated
pip install paelladoc

Configuring Database Path

You have two options for configuring where PAELLADOC stores its memory database:

Option 1: Environment Variable

export PAELLADOC_DB_PATH="$HOME/.paelladoc/memory.db"

Option 2: MCP Configuration (Recommended) Configure the database path directly in your LLM tool's MCP configuration file.

MCP Integration

Configuring Your LLM Tool

For Cursor IDE, edit the .cursor/mcp.json file to add PAELLADOC as an MCP server:

{
  "mcpServers": {
    "Paelladoc": {
      "command": "/absolute/path/to/.paelladoc_venv/bin/python", 
      "args": [
        "-m",
        "paelladoc.ports.input.mcp_server_adapter",
        "--stdio"
      ],
      "cwd": "/path/to/your/project/directory",
      "env": {
        "PAELLADOC_DB_PATH": "/path/to/your/project/directory/paelladoc_memory.db",
        "PYTHONPATH": "/path/to/your/project/directory/src:/path/to/your/project/directory" 
      },
      "disabled": false
    }
  },
  "mcp.timeout": 120000
}

Installing via Smithery

If you're using Claude Desktop, you can install PAELLADOC automatically using Smithery:

npx -y @smithery/cli install @jlcases/paelladoc --client claude

Using PAELLADOC

Once installed and configured, interact with PAELLADOC through your LLM by using the following commands:

Basic Commands

To start using PAELLADOC, simply type:

PAELLA

This will either list your existing projects or guide you through creating a new one.

Core Commands

PAELLADOC supports these primary commands:

  • PAELLA: Start new documentation projects
  • CONTINUE: Continue working on existing documentation
  • VERIFY: Check documentation coverage and quality
  • GENERATE: Generate documentation or code

Working with Projects

To create a new project:

PAELLA

Then follow the LLM's prompts to set up your project.

To list existing projects:

PAELLA list

To continue working on an existing project:

CONTINUE project_name

Version Information

The current stable version is 0.3.7, which is available on PyPI. This version includes the core functionality for project creation and management. For the latest development features, you can access the GitHub repository.

How to install this MCP server

For Claude Code

To add this MCP server to Claude Code, run this command in your terminal:

claude mcp add-json "Paelladoc" '{"command":"/absolute/path/to/.paelladoc_venv/bin/python","args":["-m","paelladoc.ports.input.mcp_server_adapter","--stdio"],"cwd":"/path/to/your/project/directory","env":{"PAELLADOC_DB_PATH":"/path/to/your/project/directory/paelladoc_memory.db","PYTHONPATH":"/path/to/your/project/directory/src:/path/to/your/project/directory"},"disabled":false}'

See the official Claude Code MCP documentation for more details.

For 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 > Tools & Integrations and click "New MCP Server".

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

{
    "mcpServers": {
        "Paelladoc": {
            "command": "/absolute/path/to/.paelladoc_venv/bin/python",
            "args": [
                "-m",
                "paelladoc.ports.input.mcp_server_adapter",
                "--stdio"
            ],
            "cwd": "/path/to/your/project/directory",
            "env": {
                "PAELLADOC_DB_PATH": "/path/to/your/project/directory/paelladoc_memory.db",
                "PYTHONPATH": "/path/to/your/project/directory/src:/path/to/your/project/directory"
            },
            "disabled": false
        }
    }
}

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 explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.

For Claude Desktop

To add this MCP server to Claude Desktop:

1. Find your configuration file:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

2. Add this to your configuration file:

{
    "mcpServers": {
        "Paelladoc": {
            "command": "/absolute/path/to/.paelladoc_venv/bin/python",
            "args": [
                "-m",
                "paelladoc.ports.input.mcp_server_adapter",
                "--stdio"
            ],
            "cwd": "/path/to/your/project/directory",
            "env": {
                "PAELLADOC_DB_PATH": "/path/to/your/project/directory/paelladoc_memory.db",
                "PYTHONPATH": "/path/to/your/project/directory/src:/path/to/your/project/directory"
            },
            "disabled": false
        }
    }
}

3. Restart Claude Desktop for the changes to take effect

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