MCP Client Go logo

MCP Client Go

Community
yincongcyincong

mcp client for Go (Golang). Integrate multiple Model Context Protocol (MCP) servers

Publisheryincongcyincong
Repositorymcp-client-go
LanguageGo
Forks
23
Stars
150
Available tools
0
Transport typestdio
LicenseMIT
Links
  • Connect tools to AI workflows

    MCP Client Go exposes MCP capabilities that can be used by compatible AI clients and agents.

  • 0 available tools

    Browse the callable actions below, including names and descriptions when provided by the server.

  • Ready-to-copy setup

    Use the installation snippets to configure this server in your preferred MCP client.

  • Open source signals

    150 stars and 23 forks from the linked repository.

📦 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
  • Support claude like config file to set mcp server demo
  • Provide prompt to trigger mcp request doc

📋 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 http-streamable
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
parallelFree, keyless web search and page extraction over Streamable HTTP.docparallel
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
atlassianModel Context Protocol (MCP) server for Atlassian products (Confluence and Jira)doc
notionMCP server for the Notion API.doc
cloudflareMCP Server for Cloudflare's API.doc
binanceMCP Server for Binance's API.doc
youtubeMCP Server for Youtube's API.doc
shopifyMCP Server for Shopify's API.doc
duckduckgoMCP Server for Duckduckgo's API.doc
aliyunMCP Server for Aliyun's API.docaliyun
bilibiliMCP Server for Bilibili's API.docbilibili
bitcoinMCP Server for Bitcoin's API.docbitcoin
airbnbMCP Server for Airbnb's API.docairbnb
jiraMCP Server for Jira's API.doc
twitterMCP Server for Twitter's API.doc
leetcodeMCP Server for Leetcode's API.doc
itermMCP Server for Iterm's API.dociterm
telegramMCP Server for Telegram's API.doctelegram
zoomeyeMCP Server for Zoomeye's API.doc
ipfsMCP Server for IPFS's API.doc
k8sMCP Server for K8s's API.doc
apple-shortcutMCP Server for Apple Shortcut's API.doc
ms-365MCP Server for MS356's API.doc
tinybirdMCP Server for TinyBird's API.doc
mysqlMCP Server for Mysql's API.doc
google calendarMCP Server for Google Calendar's API.doc
sqliteMCP Server for Sqlite's API.doc
mongoMCP Server for Mongo's API.doc
opggMCP Server for Opgg's API.docopgg

🚀 Getting Started

Install

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

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

🧪 Example

client demo app demo deepseek demo openai demo project


Parallel Search MCP

With Go 1.23.7 or later installed, run from this checkout:

bash
go mod download
go run ./demo/client/parallel

The demo registers parallel.InitParallelMCPClient() using the existing client API, then calls web_search and web_fetch and prints their results. It connects to https://search.parallel.ai/mcp over Streamable HTTP without an API key, npx, uvx, Docker, or an LLM. The free endpoint is rate limited and intended for exploration and light use. See the Search MCP documentation for limits and tool parameters. Registration is explicit; other clients are unaffected.


🧱 API Overview

Initialize Clients

go
conf := clients.InitStdioMCPClient("npx-amap-maps-mcp-server", "npx", []string{
"AMAP_MAPS_API_KEY=" + AmapApiKey,
}, []string{
"-y",
"@amap/amap-maps-mcp-server",
})
/
guardedConf := clients.InitStdioMCPClient("guarded-filesystem", "armorer-guard", []string{}, []string{
"mcp-proxy",
"--",
"npx",
"-y",
"@modelcontextprotocol/server-filesystem",
"/tmp",
})
/
conf := clients.InitSSEMCPClient("npx-amap-maps-mcp-server", "http://127.0.0.1")
/
conf := clients.InitHttpMCPClient("npx-amap-maps-mcp-server", "http://127.0.0.1")

The guarded-filesystem example uses Armorer Guard as a local stdio proxy. It inspects MCP tool-call arguments for prompt injection, credential leakage, exfiltration risk, and dangerous actions before forwarding safe calls to the underlying server.

Register MCP Clients

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

Get MCP Client

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

Execute Tools

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

📄 License

This project is licensed under the MIT License.

Use MCP Client Go MCP with multiple AI models

TypingMind connects MCP tools at the workspace level, so once MCP Client Go is connected, you can use it with different AI models in TypingMind instead of setting it up separately for each model. This MCP runs locally through the TypingMind MCP connector on your device.

Setup guide to use the local connector

Use this when the MCP server needs access to local files, apps, or private resources on your computer.

1

Open the MCP settings

In TypingMind, go to Settings, Advanced Settings, then Model Context Protocol and choose Setup Connector.

  1. Open TypingMind in your browser.
  2. Click the Settings icon.
  3. Go to Advanced Settings.
  4. Open the Model Context Protocol section.
  5. Click Setup Connector and choose This Device.
TypingMind MCP connector setup screen with This Device selected
2

Run the connector command

Choose This Device, copy the command from TypingMind, and run it in Terminal. Keep the process running while you use MCP.

  1. Copy the setup command shown by TypingMind.
  2. Open Terminal on macOS or Windows Terminal on Windows.
  3. Paste and run the command.
  4. Approve the package install if Terminal asks you to proceed.
  5. Keep the Terminal window running while using MCP tools.
3

Add MCP Client Go as a server

When the connector status is Ready, click Edit Servers and paste the MCP server configuration.

  1. Wait until the connector status shows Ready.
  2. Click Edit Servers.
  3. Paste the MCP Client Go MCP server configuration.
  4. Save the server list.
  5. Refresh if you want to confirm the connector is still ready.
TypingMind MCP settings showing active server and Edit Servers button
{
  "mcpServers": {
    "mcp-client-go": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

Use it across models

Save the server list, open Plugins, enable the MCP Client Go MCP tools, then select any supported AI model in TypingMind and use the tools in chat or assign them to an AI agent.

  1. Open the Plugins page in TypingMind.
  2. Enable the MCP Client Go MCP tools.
  3. Start a chat and choose the AI model you want to use.
  4. Use the MCP tools in chat or assign them to an AI agent.
  5. Switch to another AI model whenever needed without reconnecting MCP.
TypingMind chat using enabled MCP tools with a selected AI model
Can you use MCP Client Go to help me with this task?
MCP Client Go
Sure. I read it.
Here is what I found using MCP Client Go.

Frequently asked questions

What is the MCP Client Go MCP server used for?

MCP Client Go is an MCP server that lets compatible AI clients connect to external tools and context. In TypingMind, you can add this MCP server once and make its tools available in your AI workspace.

Can I use MCP Client Go MCP with multiple AI models in TypingMind?

Yes. TypingMind connects MCP tools at the workspace level, so you can use MCP Client Go with different AI models such as Claude, ChatGPT, Gemini, or other models you have configured in TypingMind without setting up the MCP server separately for each model.

Why use MCP Client Go MCP with TypingMind?

TypingMind is one of the best frontends for LLM chat because it brings multiple AI models, prompts, plugins, AI agents, API keys, and MCP tools into one workspace. With MCP Client Go connected, you can use its MCP tools across your preferred models while keeping your chat workflow organized in TypingMind.

How do I connect MCP Client Go MCP to TypingMind?

MCP Client Go runs through the TypingMind local MCP connector. This is best when the MCP server needs access to local files, desktop apps, command-line tools, or private resources on your computer.

What tools does MCP Client Go MCP provide in TypingMind?

MCP Client Go exposes MCP capabilities that can be enabled from the TypingMind Plugins page and used in chat or assigned to AI agents.

Do I need to share my API keys with TypingMind to use MCP Client Go MCP?

No. TypingMind is local-first and lets you keep your model providers, API keys, prompts, and MCP configuration under your control. If MCP Client Go requires authentication, add the required headers, OAuth settings, or local configuration for that MCP server when you create the connection.

Related MCP Servers

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇