MCPVault
Gameplay MCP logo

Gameplay MCP

未认领

作者:nowsprinting

MCP server for gameplay. Provides tools that AI models play your game via the MCP by embedding in your runtime (player build).

未认领列表

这个 MCP 服务器是你的吗?

此列表根据公开信息自动生成。认领后,你可以编辑页面、设置兼容性并解锁增长工具。全程不超两分钟。

认领此服务器

工具(21 个)

format

Image format: "jpeg" (default) or "png".

IClickAndHoldOperator

{"holdMillis": 1000}

IDragAndDropOperator

(by GameObject): {"destination": {"name": "DropTarget"}, "dragSpeed": 50}

inspect_game_object

Inspect a GameObject by name, path, text label, or texture name and returns properties as JSON. Waits for the GameObject to appear and become reachable within a timeout period.

invoke_action

Finds a reachable GameObject and executes the specified operator on it.

IScrollWheelOperator

{"direction": [0.0, 1.0], "distance": 100, "scrollSpeed": 50}

ISwipeOperator

{"direction": [1.0, 0.0], "swipeSpeed": 100}

ITextInputOperator

{"text": "input text"}

IToggleOperator

{"isOn": true}

list_available_actions

Returns a list of operable actions as a JSON array. Each entry contains a target GameObject and the operator class name that can act on it. For Button components, the text label and texture name are also included in the target.

list_scenes

Returns the currently loaded scenes as JSON. The active scene is marked with active=true.

maxPixels

Maximum length of the long side in pixels. The image is scaled down if it exceeds this value. Defaults to 1568.

name

GameObject name.

operatorArgs

Operator-specific arguments as a JSON string. The JSON keys must match the parameter names of the operator's OperateAsync method overloads. Known arguments for built-in operators:

operatorName

Concrete operator class name (e.g., "UguiClickOperator").

path

Hierarchy path separated by /. Supports glob wildcards (?, , ).

quality

JPEG encoding quality (1–100). Only used when format is "jpeg". Defaults to 75.

reachable

If true (default), only reachable GameObjects are included.

take_screenshot

Captures the current game screen and returns it as an image.

text

Text label on a Button component child. If specified, uses ButtonMatcher.

texture

Texture/sprite name on a Button component. If specified, uses ButtonMatcher.