# MasterGo Magic MCP
> A legacy remote MCP adapter for retrieving design-file DSL and design-to-code (D2C) data from MasterGo.
Canonical: https://www.mcpfolio.com/servers/mastergo-magic-mcp
Last updated: 2026-10-28
## Catalog record

- Publisher: MasterGo
- Categories: development, design

## Website

https://mastergo.com/help/ai-features/magic-mcp.html

## Transports

stdio

## Authentication

Requires a personal MasterGo access token (MG_MCP_TOKEN) from account Settings > Security Settings > Personal Access Token. Keep the token in local client configuration and never paste it into chat.

## Tools

- **mcp_getDsl**: Retrieve DSL data for a selected layer; layerId is required.
- **mcp_getD2c**: Retrieve design-to-code data after sending it from the MasterGo plugin; use the copied contentId.

## Sources

- [official_tool_reference](https://mastergo.com/help/ai-features/magic-mcp.html)

## Setup

Use the interactive setup panel on [the detail page](https://www.mcpfolio.com/servers/mastergo-magic-mcp) to view instructions for each supported client.