Skip to main content
Glama

PaperMC Docs MCP Server

A Model Context Protocol (MCP) server that provides access to PaperMC documentation and Javadocs.

How It Works

This server has two modes:

1. Cached Documentation — Downloads all pages from docs.papermc.io/llms.txt and caches them as markdown files in ~/papermc-docs-mcp/. Each page stores its HTTP ETag for efficient update detection. Tools and resources in this mode operate entirely on the local cache — no network calls at query time.

2. Live Javadocs — Fetches JavaDoc pages on-the-fly from jd.papermc.io. No caching — always up-to-date. Supports version resolution (auto-redirect to latest, partial version matching).

Related MCP server: docs-mcp

Resources

Cached Documentation

URI Pattern

Description

papermc-docs://{path}

Direct access to any cached doc page (e.g. papermc-docs://paper/dev/getting-started/index.md)

papermc-docs://what-is-papermc

Beginner-friendly introduction to PaperMC

Live Javadocs (no resource — use tools below)

Tools

Cached Documentation Tools

Tool

Description

list_categories

List all documentation projects (paper, adventure, velocity, folia, etc.)

list_docs

List pages, optionally filtered by category

search_docs

Full-text search across all cached pages with ranking and snippets

refresh_cache

Download all pages to local cache (needed once on first setup)

check_updates

ETag-based per-page update detection across all projects

Live Javadoc Tools

Tool

Description

list_javadoc_projects

List all javadoc projects with their latest resolved versions

resolve_javadoc

Fetch a class, interface, or package javadoc page (e.g. org.bukkit.plugin.JavaPlugin)

search_javadoc

Search for classes by name across a project's javadocs

Installation

# Clone and install
git clone https://github.com/SatuSattr/papermc-docs-mcp.git
cd papermc-docs-mcp
npm install

# Optional: download all docs on first run
npm run start:cache

# Start MCP server
npm start

MCP Configuration (opencode.json / claude_desktop_config.json)

{
  "mcpServers": {
    "papermc-docs": {
      "command": "npx",
      "args": ["tsx", "path/to/papermc-docs-mcp/src/index.ts"]
    }
  }
}

Cache Directory

All cached documentation is stored in ~/papermc-docs-mcp/. The --cache flag or refresh_cache tool fills this directory. Once populated, all cached tools and resources work offline.

F
license - not found
-
quality - not tested
C
maintenance

Maintenance

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

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

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/SatuSattr/papermc-docs-mcp'

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