Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Tde4 Pydoc

FreeNot checked

Repository for the 3DE4 Python API extension: MCP-Server (stdio) in VS Code.

GitHubEmbed

About

Repository for the 3DE4 Python API extension: MCP-Server (stdio) in VS Code.

README

License Version 3DEqualizer4 Related Marketplace

This extension exposes the Waterloo documentation backend for the 3DE4 Python API as a VS Code MCP server definition.

It is intentionally small: the extension does not generate docstrings, validate Waterloo docstrings, or bridge to a separate Python backend. It registers a local wtrl_mcp server definition that points at the bundled waterloo-style documentation roots.

Requirements

To use the extension, you need:

  • VS Code ^1.115.0 or newer
  • sdv-doc-waterloo installed locally so wtrl_mcp is available
  • an MCP-capable client such as Copilot Chat or another MCP-aware editor tool

The extension starts wtrl_mcp with this command line:

wtrl_mcp --config vscode/etc/wtrl_mcp.stdio.toml

Features

The extension currently provides one feature:

  • a VS Code MCP server definition for the 3DE4 Python API documentation

The server uses these bundled Waterloo roots:

  • vscode/roots/tde4_with_examples.wtrl.core.rfc-2119.json
  • vscode/roots/tde4_script_config_with_examples.wtrl.core.rfc-2119.json

Recommended

For editing Waterloo docstrings in Python files, install the companion extension:

  • Waterloo Docstrings

It provides syntax highlighting and docstring-focused editor support that fits this MCP server.

Use this extension for MCP access to the 3DE4 Python API documentation, and use the companion extension for editing Waterloo docstrings themselves.

Quick tutorial

  1. Install the VSIX in VS Code.
  2. Make sure wtrl_mcp from sdv-doc-waterloo is available on PATH.
  3. Open Copilot Chat or another MCP client.
  4. Point the client at the 3DE4 Python API MCP server definition.
  5. If the client does not start the server automatically, trigger MCP tool selection once manually. Some clients need that nudge before they start the server process.

For a local test install from the repository root (requires vsce; install with npm install @vscode/vsce):

tools/sdv_pydoc_build_vsix.sh
tools/sdv_pydoc_install_vsix.sh vscode/tde4-pydoc-<version>.vsix

Configuration

The extension ships with sensible defaults.

Optional settings:

  • tde4.mcpProvideServer: register the MCP server definition in VS Code
  • tde4.mcpCommand: override the wtrl_mcp executable name
  • tde4.mcpConfigPath: point to a different wtrl_mcp.stdio.toml
  • tde4.mcpServerLabel: change the label shown in VS Code

The default configuration file bundled with the extension is:

vscode/etc/wtrl_mcp.stdio.toml

Compatibility

  • License: BSD-2-Clause
  • VS Code engine constraint: ^1.115.0
  • MCP transport: stdio
  • Intended backend: wtrl_mcp from sdv-doc-waterloo

The extension is compatible with MCP clients that can consume a VS Code MCP server definition. It does not depend on the older docstring generation or validation commands from the larger Waterloo VS Code package.

Troubleshooting

If activation fails, open the VS Code Output panel and select the channel Channel.3DE4 Python API. The extension prints the preflight result there, including the most common reason: sdv.doc.waterloo is not installed in the Python environment used by wtrl_mcp.

from github.com/uwe-at-sdv/tde4_pydoc

Installing Tde4 Pydoc

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/uwe-at-sdv/tde4_pydoc

FAQ

Is Tde4 Pydoc MCP free?

Yes, Tde4 Pydoc MCP is free — one-click install via Unyly at no cost.

Does Tde4 Pydoc need an API key?

No, Tde4 Pydoc runs without API keys or environment variables.

Is Tde4 Pydoc hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Tde4 Pydoc in Claude Desktop, Claude Code or Cursor?

Open Tde4 Pydoc on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Tde4 Pydoc with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All development MCPs