Yokai MCP服务器模板
 ](https://go.dev/) 
文档
概述
此模板提供:
布局
此模板遵循 推荐项目布局:
cmd/:入口点configs/:配置文件internal/:
- tool/:MCP工具和测试示例 - bootstrap.go独自创立 - register.go:依赖关系注册
生成文件
此模板提供了 生成文件:
make up # start the docker compose stack
make down # stop the docker compose stack
make logs # stream the docker compose stack logs
make fresh # refresh the docker compose stack
make test # run tests
make lint # run linter入门
安装
使用GitHub
您可以创建存储库 .
它将自动重命名您的项目资源并推送它们,此操作可能需要几分钟的时间。
一旦准备就绪,在克隆并进入存储库后,只需运行:
make fresh与gonew
您可以安装 gonew,然后简单地运行:
gonew github.com/ankorstore/yokai-mcp-template github.com/foo/bar
cd bar
make fresh用法
一旦准备就绪,该应用程序将在以下网站上可用:
- http://localhost:8080/sse 对于应用程序MCP服务器
- http://localhost:8081 用于应用程序核心仪表板
