Content
# MCP Demo Golang
## tools
协议类型
- stdio 标准输入输出
- http HTTP 请求/响应
- sse 服务端推流
### 运行 stdio
```
go build -o tools/stdio/ip_location_query/server/ip_location_query tools/stdio/ip_location_query/server/main.go
go run tools/stdio/ip_location_query/client/main.go tools/stdio/ip_location_query/server/ip_location_query
```
### 运行 http
```
go run tools/http/ip_location_query/server/main.go
go run tools/http/ip_location_query/client/main.go http://localhost:8080/mcp (in another terminal)
```
### 运行 sse
```
go run tools/sse/ip_location_query/server/main.go
go run tools/sse/ip_location_query/client/main.go http://localhost:8081/sse (in another terminal)
```
## prompts
## resources
You Might Also Like
Ollama
Ollama enables easy access to large language models on various platforms.

n8n
n8n is a secure workflow automation platform for technical teams with 400+...
OpenWebUI
Open WebUI is an extensible web interface for customizable applications.

Dify
Dify is a platform for AI workflows, enabling file uploads and self-hosting.

Zed
Zed is a high-performance multiplayer code editor from the creators of Atom.
MarkItDown MCP
markitdown-mcp is a lightweight MCP server for converting various URIs to Markdown.