MCP.so
ログイン

MCP Go

@mark3labs

基本情報

カテゴリ

その他

ライセンス

MIT

トランスポート

stdio

作者

mark3labs

MCP Go について

A Go implementation of the Model Context Protocol (MCP), enabling seamless integration between LLM applications and external data sources and tools.

MCP Go の設定

標準の設定はありません

このサーバーの README には解析可能な MCP 設定ブロックが含まれていません。インストール手順はリポジトリをご確認ください。

リポジトリ

MCP Go のツール

ツール一覧はまだありません

この掲載には表示できるツール一覧がまだありません。サーバーにツールがないという意味ではありません。対応機能はプロジェクトのドキュメントをご確認ください。

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is MCP Go 🚀?

MCP Go is a Go implementation of the Model Context Protocol (MCP), enabling developers to build servers that expose data and functionality to LLM applications in a secure, standardized way. It provides a high-level, easy‑to‑use SDK for creating MCP servers with minimal boilerplate.

How to use MCP Go 🚀?

Install the package with go get github.com/mark3labs/mcp-go, then create an MCP server using server.NewMCPServer(), add tools, resources, or prompts, and start the server with server.ServeStdio(). The README includes code examples for a calculator tool and a static resource.

Key features of MCP Go 🚀

  • Go implementation of the Model Context Protocol (MCP)
  • High-level interface for rapid development
  • Minimal boilerplate for building MCP servers
  • Supports Resources, Tools, and Prompts
  • Task-augmented tools for asynchronous execution
  • Session management and request hooks

Use cases of MCP Go 🚀

  • Expose data from files, APIs, or databases to LLMs as Resources
  • Provide executable actions (Tools) for LLMs to perform side effects
  • Define reusable prompt templates for LLM interactions
  • Build custom MCP servers for AI agent integration

よくある質問

1

What MCP specification version does MCP Go support?

MCP Go implements MCP specification version 2025‑11‑25, with backward compatibility for versions 2025‑06‑18, 2025‑03‑26, and 2024‑11‑05.

2

Is MCP Go complete and stable?

No, MCP Go is under active development. Core features are working, but some advanced capabilities are still in progress.

3

What language/runtime is required?

MCP Go is a Go library; you need the Go programming language to use it.

4

How do I start an MCP Go server?

The README demonstrates starting a server using stdio transport with `server.ServeStdio(s)`. Other transports are mentioned in the extras section of the documentation.

5

What are the core building blocks of an MCP Go server?

A server can expose **Resources**

コメント

「その他」の他のコンテンツ