Skip to main content

MCP Reference

The Desktop Homunculus MCP server exposes 20 tools, 5 resources, and 3 prompts via Streamable HTTP.

Use this page as a map, then open the category page you need.

MCP Server Overview

The MCP server is built into the Desktop Homunculus engine and accessible at http://localhost:3100/mcp. The port can be changed in ~/.homunculus/config.toml.

Category Map

CategoryCoverageLink
CharacterSpawn, select, remove characters; manage persona and snapshotCharacter
Expression4 tools for expressions, reactions, animation, look-atExpression
Movement5 tools for move and tween transformsMovement
Audio3 tools for speech, SFX, and BGM controlAudio
Webview3 tools for webview lifecycle and content updatesWebview
MOD1 tool for MOD command executionMOD
RPC1 tool for calling MOD service RPC methodsRPC
Resources5 read-only resource endpointsResources
Prompts3 parameterized workflow promptsPrompts

Tool-to-Category Quick Reference

ToolCategory
get_character_snapshotCharacter
spawn_characterCharacter
remove_characterCharacter
select_characterCharacter
set_personaCharacter
set_expressionExpression
play_animationExpression
set_look_atExpression
move_characterMovement
tween_positionMovement
tween_rotationMovement
tween_scaleMovement
play_soundAudio
control_bgmAudio
open_webviewWebview
close_webviewWebview
navigate_webviewWebview
execute_commandMOD
spin_characterMovement
call_rpcRPC