Cover image
Try Now
2025-04-02

A simple MCP server implementation written in Go

3 years

Works with Finder

1

Github Watches

0

Github Forks

0

Github Stars

MCP Server Go

A simple stdio MCP server implementation written in Go

Overview

MCP Server Go implements the Model Control Protocol (MCP) over standard input/output streams using JSON-RPC 2.0. This server allows communication with AI models via the MCP protocol.

Building

go build -o mcp_server ./cmd

Usage

./mcp_server

Configuration

Environment variables:

  • MCP_SERVER_NAME: Custom server name (default: "Baby's First MCP Server")
  • MCP_SERVER_VERSION: Server version (default: "0.1.0")

Components

  • server: Core server implementation handling JSON-RPC requests
  • jsonrpc: JSON-RPC message types and MCP protocol definitions
  • stdio: Standard IO reader/writer implementation
  • safety: Thread-safe map implementation

Supported Methods

  • initialize: Server initialization
  • resources/list: List available resources
  • resources/read: Read resource content
  • tools/list: List available tools
  • tools/call: Call a tool

Protocol Version

Implements MCP protocol version "2024-11-05"

相关推荐

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Lists Tailwind CSS classes in monospaced font

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Daren White
  • A supportive coach for mastering all Spanish tenses.

  • J. DE HARO OLLE
  • Especialista en juegos de palabras en varios idiomas.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • jae-jae
  • MCP server for fetch web page content using Playwright headless browser.

  • HiveNexus
  • An AI chat bot for small and medium-sized teams, supporting models such as Deepseek, Open AI, Claude, and Gemini. 专为中小团队设计的 AI 聊天应用,支持 Deepseek、Open AI、Claude、Gemini 等模型。

  • ravitemer
  • A powerful Neovim plugin for managing MCP (Model Context Protocol) servers

  • patruff
  • Bridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools

    Reviews

    2 (1)
    Avatar
    user_CMZunC1w
    2025-04-16

    I've been using mcp-server-go by DillonEnge for a while now, and it has been a game-changer. The server implementation is seamless, and it integrates perfectly with my existing system. The performance is top-notch, and it's evident that a lot of thought has gone into its development. If you're looking for a reliable and efficient MCP server, I highly recommend checking it out at https://github.com/DillonEnge/mcp-server-go.