npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@lpenguin/godot-mcp

v1.1.0

Published

MCP server for generating Godot ResourceUID strings via TCP connection to Godot Editor

Readme

@lpenguin/godot-mcp

An MCP (Model Context Protocol) server that generates and manages Godot ResourceUID strings by communicating with a running Godot Editor instance via TCP. The server can create new UIDs for resource paths or retrieve existing ones, with automatic caching in the Godot Editor.

Installation

Via NPX (Recommended)

npx @lpenguin/godot-mcp

Global Installation

npm install -g @lpenguin/godot-mcp
godot-mcp

Prerequisites

  1. Godot Editor 4.x must be running
  2. MCP Bridge plugin must be installed and enabled in your Godot project

Installing the Godot Plugin

  1. Download the lpenguin-mcp-server folder from the repository
  2. Copy it to your Godot project's addons/ directory
  3. Enable the plugin in Project > Project Settings > Plugins

Usage

With Claude Desktop

Add to your Claude Desktop configuration file:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "godot": {
      "command": "npx",
      "args": ["@lpenguin/godot-mcp"]
    }
  }
}

Restart Claude Desktop. You can now ask Claude to generate Godot UIDs:

"Generate a Godot ResourceUID for res://scenes/player.tscn"

With Other MCP Clients

The server implements the MCP protocol and provides a single tool:

Tool: generate_godot_uid

Description: Generate or retrieve a Godot ResourceUID string for a given resource path

Input:

  • path (required): The resource path (e.g., "res://scenes/player.tscn" or "res://textures/icon.png")

Output: A valid Godot UID string (e.g., uid://dmbxm1qp5555x)

How It Works

  1. The MCP server connects to localhost:8085 via TCP
  2. Sends a JSON command: {"command": "get_path_uid", "args": {"path": "res://scenes/player.tscn"}}
  3. The Godot plugin:
    • Checks if a UID already exists for this path (in cache or ResourceUID system)
    • If found, returns the cached UID
    • If not found, generates a new UID and registers it:
      var new_id = ResourceUID.create_id()
      var uid_string = ResourceUID.id_to_text(new_id)
      ResourceUID.add_id(new_id, path)
    • Caches the UID for future requests
  4. Returns the UID to the MCP server
  5. The MCP server returns it to the AI agent

Error Handling

The server provides user-friendly error messages:

  • Connection refused: "Cannot connect to Godot Editor. Please open Godot Editor with the MCP Bridge plugin enabled."
  • Timeout: "Connection timeout. Make sure Godot Editor is running with the MCP Bridge plugin enabled."
  • Malformed response: "Failed to parse response from Godot"

Configuration

Default settings:

  • Host: localhost
  • Port: 8085
  • Timeout: 2000ms

To customize, modify the GodotClient instantiation in src/index.ts.

Troubleshooting

"Cannot connect to Godot Editor"

  1. Ensure Godot Editor is running
  2. Verify the MCP Bridge plugin is enabled
  3. Check that no firewall is blocking port 8085

"Connection timeout"

  1. Godot Editor might be frozen or busy
  2. Try restarting Godot Editor
  3. Increase the timeout in the client configuration

Verifying the Plugin

Check the Godot console for:

[MCP Bridge] TCP Server started on port 8085

Development

See the main repository for development instructions.

License

MIT

Links