Labsco
th3w1zard1 logo

Panda3D Docs

β˜… 3

from th3w1zard1

Search and retrieve documentation for the Panda3D game engine.

πŸ”₯πŸ”₯πŸ”₯βœ“ VerifiedFreeQuick setup

Panda3D MCP Server

A Model Context Protocol (MCP) server that enables Claude to search and retrieve Panda3D documentation seamlessly during conversations.

Server Name

mcp-panda3d

What is Panda3D?

Panda3D is a powerful, open-source 3D game engine and rendering library. Originally developed by Disney and maintained by Carnegie Mellon University's Entertainment Technology Center, it provides:

  • A complete framework for 3D rendering, physics, animation, and game development
  • Python and C++ APIs for development flexibility
  • Cross-platform support (Windows, macOS, Linux)
  • Advanced features like shader support, scene graph architecture, and collision detection

Panda3D is used in both commercial games and academic research projects, making it a valuable tool for game developers, researchers, and students.

What This Server Does

This MCP server serves as a bridge between Claude and the official Panda3D documentation. It:

  1. Receives documentation queries from Claude through the Model Context Protocol
  2. Uses Puppeteer to search the official Panda3D documentation website
  3. Parses and extracts relevant information from search results
  4. Returns formatted documentation content back to Claude

Under the hood, the server:

  • Launches a headless browser using Puppeteer
  • Performs searches on the Panda3D documentation site (https://docs.panda3d.org)
  • Extracts search results and detailed content
  • Formats the information for optimal readability in Claude
  • Provides both a summary of search results and in-depth documentation

Why did I create this?

The Panda3D documentation is one of the largest monsters I've ever had the misfortune of coming across so I use Claude frequently to scrape it.

also probably why the higher level Ursina project (built on panda3d) exists in the first place.

Features

  • Direct Search API access: Finds relevant Panda3D classes, functions, and concepts
  • Rich Results: Returns both search result listings and detailed content
  • Smart Prioritization: Identifies the most relevant result for specific queries
  • Debug Information: Includes detailed logs for troubleshooting
  • MCP Integration: Works seamlessly within Claude conversations

MCP Tools

flowchart TD
    Claude["Claude AI"] <--> MCP["Model Context Protocol"]
    MCP <--> Server["panda3d-docs-server"]
    Server --> A["get_docs"]

    style Claude fill:#f9f,stroke:#333,stroke-width:2px
    style MCP fill:#bbf,stroke:#333,stroke-width:1px
    style Server fill:#ddf,stroke:#333,stroke-width:1px
    style A fill:#dfd,stroke:#333,stroke-width:1px
Tool NameDescriptionParameters
get_docsSearches Panda3D documentation and returns formatted resultsquery: Search term<br>check_keywords: Search in module names (default: true)<br>search_contents: Search docstrings (default: false)

Development

Build

npm run build

Watch Mode (for development)

npm run watch

Debug with MCP Inspector

The MCP Inspector provides a web interface for debugging:

npm run inspector

Access the inspector in your browser at the URL provided in the console.

License

MIT. Do what you want with it, just don't claim it as your own work.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.