chaohong-ai

Restart Server — Development skill for Claude Code

Development community

重启/停止开发服务(Backend:18081 + MCP:3100 + FrontEnd:3000).

How to install Restart Server

Installs to ~/.claude/commands/chaohong-ai-ai-auto-work-restart-server.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/chaohong-ai/ai-auto-work/HEAD/.claude/commands/restart-server.md -o ~/.claude/commands/chaohong-ai-ai-auto-work-restart-server.md

Restart Claude Code, or start a new session, for it to be picked up.

What Restart Server does


description: 重启/停止开发服务(Backend:18081 + MCP:3100 + FrontEnd:3000) argument-hint: "[stop|backend|mcp|frontend]"

参数解析

用户传入的参数:action=`$ARGUMENTS`

  • stop:停止 Backend + MCP + FrontEnd
  • backend:仅重启 Backend
  • mcp:仅重启 MCP
  • frontend:仅重启 FrontEnd
  • 空或其他值:重启 Backend + MCP + FrontEnd(默认)

执行

直接运行脚本,将 action 作为参数传入:

bash E:/GameMaker/scripts/restart-dev.sh 
  • action 为空时不传参数
  • timeout 300000ms(5 分钟,编译可能较慢)
  • 脚本会自动处理:停止旧进程 → 编译 → 启动 → 健康检查

输出结果

Alternatives in Development

  • Mempalace Init — Set up MemPalace — install the package, initialize a palace, register the MCP server with Cursor, and verify e 58.6k ★
  • Claude Context Mode — An MCP server that sits between Claude Code and these outputs 5.3k ★
  • Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★

Full documentation available on GitHub

View Source Repository