Skip to main content
Glama
prompts.ts1.16 kB
import { FastMCP } from "fastmcp"; /** * Register all prompts with the MCP server * * @param server The FastMCP server instance */ export function registerPrompts(server: FastMCP) { // Unity editor automation prompt server.addPrompt({ name: "editor_automation", description: "Get help with Unity Editor automation tasks", arguments: [ { name: "task", description: "The Unity Editor automation task you need help with", required: true } ], load: async (args: Record<string, unknown>) => { const task = args.task as string; return `I'll help you automate Unity Editor for: ${task} Available Unity MCP capabilities: - GameObject selection and manipulation - Transform operations (position, rotation, scale) - Batch operations and alignment tools - Play mode testing automation - Scene operations and hierarchy management The Unity MCP server provides real-time editor control via HTTP on localhost:8080. For Unity code generation and documentation, use the context7 MCP server. What specific editor automation do you need?`; } }); }

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/muammar-yacoob/unity-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server