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"

相关推荐

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

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

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

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

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

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

  • https://zenepic.net
  • Embark on a thrilling diplomatic quest across a galaxy on the brink of war. Navigate complex politics and alien cultures to forge peace and avert catastrophe in this immersive interstellar adventure.

  • https://reddgr.com
  • Delivers concise Python code and interprets non-English comments

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

  • 林乔安妮
  • A fashion stylist GPT offering outfit suggestions for various scenarios.

  • 田中 楓太
  • A virtual science instructor for engaging and informative lessons.

  • 1Panel-dev
  • 💬 MaxKB is a ready-to-use AI chatbot that integrates Retrieval-Augmented Generation (RAG) pipelines, supports robust workflows, and provides advanced MCP tool-use capabilities.

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

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • GLips
  • MCP server to provide Figma layout information to AI coding agents like Cursor

  • open-webui
  • User-friendly AI Interface (Supports Ollama, OpenAI API, ...)

  • Dhravya
  • Collection of apple-native tools for the model context protocol.

    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.