yunmei-code-magic-mcp
v0.0.1-beta.45
Published
YunMei Code MCP standalone service
Readme
YunMei Magic MCP
cursor Usage
{
"mcpServers": {
"yunmei-code-magic-mcp": {
"command": "npx",
"args": [
"-y",
"yunmei-code-magic-mcp@latest",
"--team-name=BBG", // 你的战队名称
"--user-name=xiaoming", // 你的云原生用户名
"--mastergo-token=mg_xxxxxx", // 你的master token
"--apifox-token=mg_xxxxxx", // 你的aipfox token
"--url=https://yunmei-server-xxx.faw.cn", // 服务端接口域名
"--return-image" // 是否返回图片,非付费模型如果返回图片会报错,可以去掉此项配置,默认是不返回
],
"env": {
"NPM_CONFIG_REGISTRY": "https://registry.npmjs.org/"
}
}
}
}Local Development
- Run
yarnandyarn buildto install dependencies and build the code - Find the absolute path of
bin/cli.js
- Method 1 Add local MCP configuration with url
"yunmei-mcp-local": {
"command": "node",
"args": [
"absolute/path/to/bin/cli.js",
"--team-name=BBG", // 你的战队名称
"--user-name=xiaoming", // 你的云原生用户名
"--mastergo-token=mg_xxxxxx",
"--apifox-token=APS-xxxxxx",
"--url=https://yunmei-server-xxx-uat.faw.cn",
"--debug"
],
"env": {}
},- Restart your editor to ensure the local MCP is enabled
After successful execution, you can debug based on the local running results. You can build your own MCP service based on your modifications.
- Method 2 run with inspector
# run in the project root
npx @modelcontextprotocol/inspector node bin/cli.js --team-name=BBG --user-name=xiaoming --mastergo-token=mg_xxxxxx --apifox-token=APS-xxxxxx --url=https://yunmei-server-xxx-uat.faw.cn --debug
# then click the inspector link show in the terminal to view the debugging page
# the log info will be printed in the Server Notifications frame of the debugging pageLicense
ISC
