# 获取 MG_MCP_TOKEN
1. 访问 https://mastergo.com
2. 进入个人设置
3. 点击安全设置选项卡
4. 找到个人访问令牌
5. 点击生成令牌
# 设计文件需要放入团队版团队项目中,草稿箱文件不适用
服务器配置
{
"mcpServers": {
"mastergo-magic-mcp": {
"command": "npx",
"args": [
"-y",
"@mastergo/magic-mcp",
"--token=YOUR_TOKEN",
"--url=https://mastergo.com/"
],
"env": {
"NPM_CONFIG_REGISTRY": "https://registry.npmjs.org/"
}
}
}
}