📦 mcp-client-go

📦 mcp-client-go

By yincongcyincong GitHub

a mcp client for go. Integrate multiple MCP servers

golang ai
Overview

What is mcp-client-go?

mcp-client-go is a Golang client library designed for the Model Context Protocol (MCP), enabling developers to integrate and interact with multiple MCP servers through a unified API.

How to use mcp-client-go?

To use mcp-client-go, install it via Go with the command go get github.com/yincongcyincong/mcp-client-go, and follow the provided examples to initialize clients and execute tools.

Key features of mcp-client-go?

  • Easy integration with various MCP-compatible services like Amap, GitHub, and Google Maps.
  • Modular support for different service types.
  • Unified registration and client management for seamless operations.
  • Intuitive interface for executing tools.

Use cases of mcp-client-go?

  1. Integrating with mapping services like Amap and Google Maps.
  2. Accessing and managing data from GitHub and other APIs.
  3. Automating tasks through browser automation with services like Puppeteer.

FAQ from mcp-client-go?

  • What is the Model Context Protocol (MCP)?

MCP is an open standard that allows AI systems to interact with various data sources and tools.

  • Is mcp-client-go free to use?

Yes! It is open-source and available under the MIT License.

  • How can I contribute to mcp-client-go?

You can contribute by submitting issues or pull requests on the GitHub repository.

Content

📦 mcp-client-go

mcp-client-go is a Golang client library for the Model Context Protocol (MCP). It allows developers to register and interact with various MCP-based services such as Amap (Gaode Maps) using a unified API.


✨ Features

  • Easy integration with MCP-compatible services
  • Modular support for service types (e.g., Amap, Github, GoogleMap)
  • Unified registration and client management
  • Simple and intuitive tool execution interface

📋 Supported Services

MCP ServerDescriptiondocdemo
redisA Model Context Protocol server that provides access to Redis databases.docredis
githubThe GitHub MCP Server is a Model Context Protocol (MCP) server that provides seamless integration with GitHub APIsdocgithub
awsAn MCP server implementation for retrieving information from the AWS Knowledge Base using the Bedrock Agent Runtime.docaws
sequential_thinkingAn MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.doc-
firecrawlA Model Context Protocol (MCP) server implementation that integrates with Firecrawl for web scraping capabilities.docfirecrawl
postgresqlA Model Context Protocol server that provides read-only access to PostgreSQL databases.doc-
gitlabMCP Server for the GitLab API, enabling project management, file operations, and more.doc-
slackMCP Server for the Slack API, enabling Claude to interact with Slack workspaces.doc-
puppeteerA Model Context Protocol server that provides browser automation capabilities using Puppeteer.doc-
everartImage generation server for Claude Desktop using EverArt's API.doc-
sentryA Model Context Protocol server for retrieving and analyzing issues from Sentry.iodoc-
filesystemNode.js server implementing Model Context Protocol (MCP) for filesystem operations.docfilesystem
fetchA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.doc-
googlemapMCP Server for the Google Maps API.docgooglemap
flomoThis is a TypeScript-based MCP server help you write notes to Flomo.doc-
chatsumThis MCP Server is used to summarize your chat messages.doc-
amapThis repository is a collection of reference implementations for the Model Context Protocol (MCP), as well as references to community built servers and additional resources.docamap
baidumapThis MCP Server is used to baidumapdoc-
blenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP)doc-
framelinkGive Cursor, Windsurf, Cline, and other AI-powered coding tools access to your Figma files with this Model Context Protocol server.doc-
playwrightA Model Context Protocol (MCP) server that provides browser automation capabilities using Playwright.docplaywright sse
tavilyThe Model Context Protocol (MCP) is an open standard that enables AI systems to interact seamlessly with various data sources and tools, facilitating secure, two-way connections.doctavily
timeA Model Context Protocol server that provides time and timezone conversion capabilities.doctime uvx
victoriametricsA Model Context Protocol server that provide access to victoria metrics databases.docvictoriametrics

🚀 Getting Started

Install

install npx, uvx, docker, and put them to env!

go get github.com/yincongcyincong/mcp-client-go

🧪 Example

client demo
app demo
deepseek demo
openai demo


🧱 API Overview

Initialize Clients

conf := clients.InitStdioMCPClient("npx-amap-maps-mcp-server", "npx", []string{
"AMAP_MAPS_API_KEY=" + AmapApiKey,
}, []string{
"-y",
"@amap/amap-maps-mcp-server",
}, mcp.InitializeRequest{}, nil, nil)
/
conf := clients.InitSSEMCPClient("npx-amap-maps-mcp-server", "http://127.0.0.1", nil, nil, nil)

Register MCP Clients

clients.RegisterMCPClient(context.Background(), []*param.MCPClientConf{conf})

Get MCP Client

client, err := clients.GetMCPClient("npx-amap-maps-mcp-server")
/
client, err := clients.GetMCPClientByToolName("geo_location")

Execute Tools

client.ExecTools(ctx, "tool_name", map[string]interface{}{...})

📄 License

This project is licensed under the MIT License.

No tools information available.

A Model Context Protocol server for integrating HackMD's note-taking platform with AI assistants.

YouTube MCP Server
YouTube MCP Server by IA-Programming

YouTube MCP Server is an AI-powered solution designed to revolutionize your YouTube experience. It empowers users to search for YouTube videos, retrieve detailed transcripts, and perform semantic searches over video content—all without relying on the official API. By integrating with a vector database, this server streamlines content discovery.

youtube ai
View Details

MCP Deep Research Server using Gemini creating a Research AI Agent

research ai
View Details
MCP-Mealprep
MCP-Mealprep by JoshuaRL

This project takes a number of MCP servers from GitHub locations, packages them together with this repo's GHCR container, and launches them with docker-compose to run as a stack for ML/AI resources.

docker ai
View Details

BioMCP: Biomedical Model Context Protocol

bioinformatics ai
View Details
MySQL MCP Server
MySQL MCP Server by designcomputer

A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases

Toolbase
Toolbase by Toolbase-AI

A desktop application that adds powerful tools to Claude and AI platforms