Português (Portuguese)
Appearance
Português (Portuguese)
Appearance
Model Context Protocol (MCP) is a standard proposed by Claude for LLMs to interact with development environments. You can think of it as the USB-C of LLMs. Like shipping containers, which made cargo and transportation more interoperable, or protocols like TCP, which decoupled the application layer from the transport layer, MCP makes LLM-powered applications such as Claude, Claude Code, and editors like Zed, Cursor, or VS Code interoperable with other domains.
Tuist provides a local server through its CLI so that you can interact with your app development environment. By connecting your client apps to it, you can use language to interact with your projects.
In this page you'll learn about how to set it up and its capabilities.
INFO
Tuist MCP server uses Xcode's most-recent projects as the source of truth for projects you want to interact with.
Tuist provides automated setup commands for popular MCP-compatible clients. Simply run the appropriate command for your client:
For Claude desktop, run:
tuist mcp setup claudeThis will configure the file at ~/Library/Application Support/Claude/claude_desktop_config.json.
For Claude Code, run:
tuist mcp setup claude-codeThis will configure the same file as Claude desktop.
For Cursor IDE, you can configure it globally or locally:
# Global configuration
tuist mcp setup cursor --global
# Local configuration (in current project)
tuist mcp setup cursor
# Custom path configuration
tuist mcp setup cursor --path /path/to/projectFor Zed editor, you can also configure it globally or locally:
# Global configuration
tuist mcp setup zed --global
# Local configuration (in current project)
tuist mcp setup zed
# Custom path configuration
tuist mcp setup zed --path /path/to/projectFor VS Code with MCP extension, configure it globally or locally:
# Global configuration
tuist mcp setup vscode --global
# Local configuration (in current project)
tuist mcp setup vscode
# Custom path configuration
tuist mcp setup vscode --path /path/to/projectIf you prefer to configure manually or are using a different MCP client, add the Tuist MCP server to your client's configuration:
{
"mcpServers": {
"tuist": {
"command": "tuist",
"args": ["mcp", "start"]
}
}
}{
"mcpServers": {
"tuist": {
"command": "mise",
"args": ["x", "tuist@latest", "--", "tuist", "mcp", "start"] // Or [email protected] to fix the version
}
}
}In the following sections you'll learn about the capabilities of the Tuist MCP server.
Tuist keeps a record of the Xcode projects and workspaces you’ve recently worked with, giving your application access to their dependency graphs for powerful insights. You can query this data to uncover details about your project structure and relationships, such as:
With Tuist, you can dig into your Xcode projects like never before, making it easier to understand, optimize, and manage even the most complex setups!