🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

posecode-mcp

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

posecode-mcp

Model Context Protocol server for Posecode: let any LLM agent validate, ROM-check, and get a render link for a .posecode movement, natively.

latest
Source
npmnpm
Version
0.4.2
Version published
Weekly downloads
228
-64.81%
Maintainers
1
Weekly downloads
 
Created
Source

posecode-mcp

A Model Context Protocol server for Posecode. It lets a model in an MCP client learn the .posecode language, validate a movement against configured range-of-motion limits, and return a link that animates the movement as a 3D figure.

This closes the loop the playground left open: no copy-pasting a system prompt or shuttling text between a chat window and the editor.

Tools

ToolWhat it does
posecode_authoring_guideReturns the Posecode authoring guide (grammar, joints, actions, example) so a capable model can draft raw .posecode for validation.
validate_posecodeParses a .posecode document and returns errors plus any range-of-motion clamps (angles outside the configured rig bounds).
render_posecodeValidates, then returns a permalink that renders the movement in the Posecode playground. Hand it to the user to watch.

validate_posecode / render_posecode flag invalid documents as MCP error results so the model knows to fix and retry.

Use from an MCP client

Run the latest published server directly from npm:

npx -y posecode-mcp@latest

For an MCP client that accepts JSON server configuration:

{
  "mcpServers": {
    "posecode": {
      "command": "npx",
      "args": ["-y", "posecode-mcp@latest"],
      "env": { "POSECODE_BASE_URL": "https://posecode.org" }
    }
  }
}

POSECODE_BASE_URL is optional: it sets the playground that render permalinks point at (defaults to the hosted playground).

Local development

From the Posecode monorepo, run the TypeScript source with the workspace script:

npm start -w posecode-mcp

That development command uses tsx src/stdio.ts; MCP consumers do not need a repository checkout, an absolute source path, or a separate tsx install.

How it fits

render_posecode builds its links with posecode-share, the same permalink primitive the playground uses, and validates with posecode-parser. The server does not render the movement itself; 3D math runs in the user's browser when the link is opened.

License

AGPL-3.0-only. A separate commercial license is available for closed-source product use.

Keywords

mcp

FAQs

Package last updated on 28 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts