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

tiled-mcp

v0.1.0

Published

Minimal MCP server for editing Tiled .tmj maps — read structure, place/fill/replace tiles, manage layers, validate.

Downloads

141

Readme

tiled-mcp

Stripped-down MCP server for editing Tiled .tmj maps — read map structure, place/fill/replace tiles, manage tile layers, validate. TMJ-only (no TMX writes), no object/property tools, no Docker, no HTTP transport.

Install

# No install needed — run directly with npx:
claude mcp add tiled --scope user \
  -e TILED_PROJECT_DIR=/path/to/your/tiled/project \
  -- npx tiled-mcp

# Or install globally and reference the binary:
npm install -g tiled-mcp
claude mcp add tiled --scope user \
  -e TILED_PROJECT_DIR=/path/to/your/tiled/project \
  -- tiled-mcp

TILED_PROJECT_DIR is the root folder that contains your .tmj map files. All paths the MCP exposes are resolved relative to it, and any path that escapes it is rejected.

Build from source

git clone https://github.com/YOUR_USERNAME/tiled-mcp
cd tiled-mcp
npm install
npm run build

Then wire it up pointing at the local build:

claude mcp add tiled --scope user \
  -e TILED_PROJECT_DIR=/path/to/your/tiled/project \
  -- node /path/to/tiled-mcp/dist/index.js

Tools

| Tool | Description | |------|-------------| | tiled_list_maps | List all .tmj/.tmx files under TILED_PROJECT_DIR | | tiled_get_map | Read a map and return its full JSON structure | | tiled_get_map_summary | Concise summary: dimensions, layers, tileset gid ranges | | tiled_validate_map | Check data length, gid ranges, external tileset paths | | tiled_get_layer | Read a single layer's full data | | tiled_create_layer | Append a new empty tilelayer | | tiled_update_layer | Update name, visibility, opacity, offset, tint | | tiled_delete_layer | Remove a top-level layer | | tiled_get_tile_at | Get the gid at a specific (x, y) coordinate | | tiled_find_tiles | Find all coordinates where a gid appears | | tiled_place_tiles | Place one or more tiles ([{x, y, gid}]) | | tiled_fill_region | Fill a rectangular region with a single gid | | tiled_clear_region | Erase tiles (set gid=0) in a rectangular region | | tiled_replace_tiles | Replace every occurrence of one gid with another | | tiled_list_tilesets | List tileset references in a map | | tiled_get_tileset | Read an external .tsj tileset file |

All writes are atomic (temp file + rename). Reads never mutate the file.

Disclaimer

tiled-mcp is an independent project and is not affiliated with or endorsed by the Tiled map editor or its maintainers.

License

MIT