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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@glutamateapp/blender-mcp-ts

v0.10.0

Published

TypeScript version of Blender MCP server with SSE support

Readme

Blender MCP TypeScript Server

A TypeScript implementation of the Blender Model Context Protocol (MCP) server with Server-Sent Events (SSE) support.

Features

  • TypeScript implementation with full type safety
  • SSE-based communication with MCP clients
  • Socket-based communication with Blender
  • Built-in tools:
    • get_scene_info: Get detailed information about the current Blender scene
    • execute_blender_code: Execute Python code in Blender
    • PolyHaven Integration:
      • get_polyhaven_categories: Get available categories for a specific type of PolyHaven asset
      • search_polyhaven_assets: Search for assets on PolyHaven with optional category filtering
      • download_polyhaven_asset: Download and import a PolyHaven asset into Blender
      • set_texture: Apply a downloaded PolyHaven texture to an object
      • get_polyhaven_status: Check if PolyHaven integration is enabled

Prerequisites

  • Node.js 16.x or later
  • Blender with the MCP addon installed and running
  • npm or yarn package manager

Installation

  1. Clone the repository
  2. Install dependencies:
    npm install
  3. Build the project:
    npm run build

Usage

  1. Start the server:

    # Using default ports
    npm start
    
    # Using custom ports via environment variables
    PORT=8000 CONNECTOR_PORT=9000 npm start
    
    # Using custom ports via command line arguments
    npm start -- --port=8000 --connector-port=9000

    The server will start with the configured ports based on the priority order mentioned above.

    Using PolyHaven Tools:

    • Ensure that the PolyHaven integration is enabled.
    • Use the provided tools to interact with PolyHaven assets as needed.
  • PolyHaven Integration: Ensure that the PolyHaven integration is enabled if you plan to use these features.

Development

To run the server in development mode with automatic recompilation:

npm run dev

Environment Variables

  • CONNECTOR_PORT: The port number for Blender connection (default: 9025)

Connection Details

The server uses two configurable ports:

  1. MCP Server Port: Listens for client connections (default: 7451)
  2. Blender Connector Port: Connects to Blender (default: 9025)

These ports can be configured through:

  1. Environment variables (MCP_PORT, CONNECTOR_PORT)
  2. Command line arguments (--port=<number>, --connector-port=<number>)
  3. Default values if neither is specified

Priority order: Environment Variables > Command Line Arguments > Default Values

Architecture

The server consists of three main components:

  1. BlenderConnection: Handles socket communication with Blender, connecting to localhost on the configured connector port (default: 9025).
  2. BlenderMcpServer: Implements the MCP server with SSE support on the configured MCP port (default: 7451), providing tools for scene information and code execution.
  3. Main Entry Point (index.ts): Initializes the server components with configurable ports through environment variables or command line arguments, following a priority-based configuration system.

Acknowledgments

This project is based on the original work by Siddharth Ahuja, as found on GitHub. We appreciate their contributions to the development of the Blender MCP server.

License

MIT