
gomcp
Gomcp 是一个用 Go 编写的 MCP 协议客户端和服务器 SDK。
Repository Info
About This Server
Gomcp 是一个用 Go 编写的 MCP 协议客户端和服务器 SDK。
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
Gomcp
Gomcp 是一个用 Go 语言编写的 MCP (Message Control Protocol) 客户端和服务器的 SDK。
功能特性
- 支持 Unix 系统下的进程间通信
- 支持标准输入输出(stdio)模式
安装
go get github.com/weirwei/gomcp
客户端配置
创建配置文件 .mcp-config.json,参考以下示例:
{
"mcpServers": {
"server-name": {
"command": "command-to-run",
"args": ["arg1", "arg2"],
"env": {
"ENV_VAR": "value"
},
"disabled": false
}
}
}
配置项说明
command: 要执行的命令args: 命令参数数组env: 环境变量配置disabled: 是否禁用该服务器
使用方法
查看 examples 目录获取使用示例。
Quick Start
Clone the repository
git clone https://github.com/weirwei/gomcpInstall dependencies
cd gomcp
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.