mirror of
https://github.com/Lydanne/spaceflow.git
synced 2026-03-11 19:52:45 +08:00
chore: 初始化仓库
This commit is contained in:
29
templates/mcp/README.md.hbs
Normal file
29
templates/mcp/README.md.hbs
Normal file
@@ -0,0 +1,29 @@
|
||||
# @spaceflow/{{kebabName}}
|
||||
|
||||
{{name}} MCP 工具插件
|
||||
|
||||
## 使用方法
|
||||
|
||||
该插件通过 `spaceflow mcp` 命令自动发现并注册 MCP 工具。
|
||||
|
||||
```bash
|
||||
# 启动 MCP Server(包含所有已安装插件的工具)
|
||||
spaceflow mcp
|
||||
|
||||
# 使用 Inspector 调试
|
||||
spaceflow mcp --inspector
|
||||
```
|
||||
|
||||
## 提供的工具
|
||||
|
||||
- **{{kebabName}}_hello** — 示例工具,返回问候信息
|
||||
|
||||
## 开发
|
||||
|
||||
```bash
|
||||
# 构建
|
||||
spaceflow build
|
||||
|
||||
# 开发模式
|
||||
spaceflow dev
|
||||
```
|
||||
Reference in New Issue
Block a user