Skip to content

Building from Source

Go

Requirements: Go 1.26+ (matching go/go.mod; the go-sdk dependency itself requires 1.25+)

cd go
go build -o kwp-mcp-go .

The output binary is kwp-mcp-go (or kwp-mcp-go.exe on Windows if you add .exe).


C# Native AOT

Requirements: .NET 10 SDK, platform-appropriate native build tools (e.g. Visual Studio Build Tools on Windows, gcc on Linux)

cd csharp
dotnet publish src/KeywordPlannerMcp/KeywordPlannerMcp.csproj -r <RID> -c Release --self-contained true

Replace <RID> with your target Runtime Identifier:

Platform RID
Linux x64 linux-x64
Linux ARM64 linux-arm64
macOS x64 osx-x64
macOS ARM64 (Apple Silicon) osx-arm64
Windows x64 win-x64

The published binary is in csharp/src/KeywordPlannerMcp/bin/Release/net10.0/<RID>/publish/.


Running Tests

# Go
cd go && go test ./...

# C#
cd csharp && dotnet test

HTTP Transport

No special build steps are needed for HTTP transport support -- it's a runtime flag (--transport http), not a build-time option, in both languages. See Transports for usage.