home / mcp / tyranostudio mcp server
MCP Server for TyranoStudio - Project management and TyranoScript development tools
Configuration
View docs{
"mcpServers": {
"shunsukehayashi-tyrano-studio-mcp": {
"command": "python3",
"args": [
"/Users/shunsuke/tyrano_studio_mcp_server.py"
]
}
}
}You set up TyranoStudio MCP Server to manage TyranoStudio projects, edit scenarios, handle resources, and validate content from a centralized MCP interface. This server streamlines project creation, scenario writing, resource management, and automated checks, enabling you to work efficiently with TyranoScript-based games.
You interact with the MCP through a client that communicates with the TyranoStudio MCP Server. Use the available tools to create and manage projects, read and write scenario files, modify configuration files, add images and other resources, and validate your TyranoScript content. You can also generate templates, inspect project statistics, and integrate with Git for version control.
Prerequisites you need before starting: Python 3.x and the pip package manager.
pip install mcpConfigure the MCP client integration for Claude Code with the following JSON snippet. This enables TyranoStudio project management as an MCP server entry named tyrano-studio.
{
"mcpServers": {
"tyrano-studio": {
"command": "python3",
"args": ["/Users/shunsuke/tyrano_studio_mcp_server.py"],
"description": "TyranoStudio project management"
}
}
}Verify the MCP server is ready by starting the server process shown here. This confirms the integration is active and ready to accept commands from your MCP client.
python3 /Users/shunsuke/tyrano_studio_mcp_server.pyIf you prefer to run TyranoStudio MCP Server directly for testing, ensure the server you start corresponds to the path you configured above and that Python3 is available in your environment.
The MCP server expects you to use specific tooling commands to manage projects and files. You will typically issue actions such as create_project, delete_project, list_projects, read_scenario, write_scenario, and validate_scenario to interact with TyranoStudio data assets. Each action is described in the tool reference section so you know exactly what parameters to provide.
If the MCP client cannot reach the TyranoStudio server, verify that the Python process is running and that the configured path to tyrano_studio_mcp_server.py exists. Check that your environment has Python 3.x and that network access between the client and server is permitted if you are using a hosted or remote setup.
The TyranoStudio MCP Server is designed to be used with TyranoScript-based projects. It provides project management, scenario editing, resource handling, and validation, enabling smooth workflow automation within a single MCP ecosystem.
Create a new project named my_visual_novel using the Japanese TyranoScript template, then write a simple scene and validate it. You can adapt these patterns to your own project names and content.
Retrieve a list of all created projects.
Create a new project with a given name and optional template.
Delete an existing project by name.
List files and directories inside a project at a given relative path.
Read the content of a TyranoScript scenario file (.ks) within a project.
Write content to a TyranoScript scenario file (.ks) inside a project.
Check the syntax and structure of a TyranoScript scenario file.
Read the Config.tjs file for a given project.
Write content to the Config.tjs file for a given project.
Add an image resource to a project in a specified category.
Fetch TyranoScript tag references by category for reference.