kratos
Your ultimate Go microservices framework for the cloud-native era.
claude mcp add --transport stdio go-kratos-kratos docker run -i golang
How to use
Kratos is a microservice-oriented governance framework implemented in Go, designed to help developers quickly build robust applications. It provides a variety of tools and capabilities, including support for HTTP/gRPC communication protocols, middleware for tracing and metrics, and a flexible registry interface for integrating with centralized registries. Developers can easily define errors and validation rules in Protobuf, and automatically generate Swagger API documentation for their services. To use Kratos, you can start by creating a new project using the 'kratos new <project-name>' command, which sets up the necessary structure for your application.
How to install
To install Kratos, you need to have Docker and Go installed on your machine. First, pull the Go Docker image and run it:
docker run -it --rm -p 8000:8000 --workdir /workspace golang
Next, update the package list and install the Protobuf compiler:
apt-get update && apt-get -y install protobuf-compiler
Then, set the Go proxy and install the Kratos command line tool:
export GOPROXY=https://goproxy.io,direct
go install github.com/go-kratos/kratos/cmd/kratos/v2@latest && kratos upgrade
Additional notes
When working with Kratos, ensure that your Go environment is properly set up, and be aware of the various middleware options available for logging, tracing, and metrics. Common issues may arise from misconfiguration of the Go environment or missing dependencies. It's recommended to consult the extensive documentation provided by Kratos for troubleshooting and advanced configuration options.
Related MCP Servers
jetski
Authentication, analytics, and prompt visibility for MCP servers with zero code changes. Supports OAuth2.1, DCR, real-time logs, and client onboarding out of the box
mcp-client-go
mcp client for Go (Golang). Integrate multiple Model Context Protocol (MCP) servers
tempo
An MCP ( Model Context Protocol ) Server for Grafana Tempo
chromedp
MCP server for browser automation using chromedp
Hoofy
Hoofy — AI development companion MCP server. Persistent memory, spec-driven development, adaptive change pipeline, Clarity Gate. 32 tools, single Go binary, zero deps.
marketplace
MCP Server providing various tools for working with the Upbound Marketplace