Skip to content

Commit 545226a

Browse files
committed
chore: Update CI, documentation, and scripts
1 parent 444bbd7 commit 545226a

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Docker Publish STDIO
1+
name: Docker Publish
22

33
# This workflow uses actions that are not certified by GitHub.
44
# They are provided by a third-party and are governed by

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
run: go test -race ./...
3030

3131
- name: Build
32-
run: go build -v ./cmd/stdio
32+
run: go build -v ./cmd/flashduty-mcp-server

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ builds:
1414
- linux
1515
- windows
1616
- darwin
17-
main: ./cmd/stdio
17+
main: ./cmd/flashduty-mcp-server
1818

1919
archives:
2020
- formats: tar.gz

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Add the following JSON block to your Cursor MCP configuration.
9090

9191
Besides building from source, you can also download a pre-compiled version for your operating system directly from the project's [GitHub Releases](https://github.com/flashcatcloud/flashduty-mcp-server/releases), which is a faster and more convenient option.
9292

93-
If you prefer to build from source, you can use `go build` to build the binary in the `cmd/stdio` directory. You can provide the APP key either via environment variable or command-line argument.
93+
If you prefer to build from source, you can use `go build` to build the binary in the `cmd/flashduty-mcp-server` directory. You can provide the APP key either via environment variable or command-line argument.
9494

9595
You should configure your MCP host to use the built executable as its `command`. For example:
9696

README_zh.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Flashduty MCP 服务是一个 [模型上下文协议 (MCP)](https://modelcontext
8989

9090
除了通过源码构建,您也可以直接从本项目的 [GitHub Releases](https://github.com/flashcatcloud/flashduty-mcp-server/releases) 页面下载适用于您操作系统的预编译版本,这是一个更快捷方便的选项。
9191

92-
如果您没有 Docker,您可以使用 `go build``cmd/stdio` 目录中构建二进制文件。您可以通过环境变量或命令行参数提供 APP 密钥。
92+
如果您没有 Docker,您可以使用 `go build``cmd/flashtudy-mcp-server` 目录中构建二进制文件。您可以通过环境变量或命令行参数提供 APP 密钥。
9393

9494
您应该配置 Cursor 使用构建的可执行文件作为其 `command`。例如:
9595

script/get-me

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
echo '{"jsonrpc":"2.0","id":3,"params":{"name":"get_me"},"method":"tools/call"}' | go run cmd/stdio/main.go stdio | jq .
3+
echo '{"jsonrpc":"2.0","id":3,"params":{"name":"get_me"},"method":"tools/call"}' | go run cmd/flashduty-mcp-server/main.go stdio | jq .

0 commit comments

Comments
 (0)