nazonoa/go-mcp-calculator-demo
3.1
If you are the rightful owner of go-mcp-calculator-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Model Context Protocol (MCP) server is a specialized server designed to facilitate communication between clients and models using a standardized protocol. It supports various transport types, including Server-Sent Events (SSE), to ensure efficient data exchange.
go mcp-server demo
直接启动即可,默认使用sse模式
- cline 配置:
{
"mcpServers": {
"calculator": {
"autoApprove": [
"calculate"
],
"timeout": 60,
"url": "http://localhost:8087/sse?key=1234",
"transportType": "sse"
}
}
}
- cursor 配置:
{
"mcpServers": {
"calculator": {
"url": "http://localhost:8087/sse?key=1234"
}
}
}