Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build-go:

# Build MCP server binary
build-mcp:
go build -o workflow-mcp-server ./cmd/mcp
go build -o workflow-mcp-server ./cmd/workflow-mcp-server

# Run all tests with race detection
test:
Expand Down
2 changes: 1 addition & 1 deletion cmd/mcp/main.go → cmd/workflow-mcp-server/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Command mcp starts the workflow MCP (Model Context Protocol) server.
// Command workflow-mcp-server starts the workflow MCP (Model Context Protocol) server.
//
// The server runs over stdio by default, making it compatible with any
// MCP-capable AI client. It exposes workflow engine tools (validate,
Expand Down
7 changes: 5 additions & 2 deletions docs/mcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ The MCP server provides:
make build-mcp

# Or directly with Go
go build -o workflow-mcp-server ./cmd/mcp
go build -o workflow-mcp-server ./cmd/workflow-mcp-server

# Or install globally with Go
go install github.com/GoCodeAlone/workflow/cmd/workflow-mcp-server@latest
```

## Installation
Expand Down Expand Up @@ -155,7 +158,7 @@ go test -v ./mcp/
## Architecture

```
cmd/mcp/main.go → Entry point (stdio transport)
cmd/workflow-mcp-server/main.go → Entry point (stdio transport)
mcp/server.go → MCP server setup, tool handlers, resource handlers
mcp/docs.go → Embedded documentation content
mcp/server_test.go → Unit tests
Expand Down
Loading