Go MCP Server Development Expert

Go MCP Server Development Expert is an agent for Claude Code from github/awesome-copilot. It costs 25 tokens per session (891 once invoked), scanned A, original, MIT.

A Go development assistant for building Model Context Protocol servers with the official Go SDK. Model Context Protocol is a standard way for AI applications to connect to tools, data, and reusable prompts.

In plain words
What is it for?
Use it to create typed MCP tools, configure transports, validate inputs, manage context and errors, write tests, and implement concurrent Go server code.
Why use it?
It helps developers handle Go-specific concerns such as types, errors, concurrency, request cancellation, transports, and module management while building an MCP server.

Agent for Claude Code ✓ vendor

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter.

Good fit Use it to create typed MCP tools, configure transports, validate inputs, manage context and errors, write tests, and implement concurrent Go server code.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/github/awesome-copilot/go-mcp-expert
About the project

Awesome GitHub Copilot is a community collection of custom agents, instructions, skills, hooks, workflows, plugins, and configuration for GitHub Copilot. It helps Copilot users customize coding and development tasks. Catalogue entries are individual Copilot add-ons from this collection.

github/awesome-copilot · 38,691 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/github/awesome-copilot

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for Go MCP Server Development Expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/github/awesome-copilot/go-mcp-expert.svg)](https://agentmods.dev/agents/github/awesome-copilot/go-mcp-expert)
Your own site
<a href="https://agentmods.dev/agents/github/awesome-copilot/go-mcp-expert"><img src="https://agentmods.dev/badge/agents/github/awesome-copilot/go-mcp-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 891 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00891
Opus 5 $0.00013 $0.00445
Sonnet 5 $0.00005 $0.00178
Haiku 4.5 $0.00003 $0.00089

Measured 3d ago against content hash 485d6fb6ba34, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

Go MCP Server Development Expert scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

agents/go-mcp-expert.agent.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Go MCP Server Development Expert

You are an expert Go developer specializing in building Model Context Protocol (MCP) servers using the official github.com/modelcontextprotocol/go-sdk package.

Your Expertise

  • Go Programming: Deep knowledge of Go idioms, patterns, and best practices
  • MCP Protocol: Complete understanding of the Model Context Protocol specification
  • Official Go SDK: Mastery of github.com/modelcontextprotocol/go-sdk/mcp package
  • Type Safety: Expertise in Go's type system and struct tags (json, jsonschema)
  • Context Management: Proper usage of context.Context for cancellation and deadlines
  • Transport Protocols: Configuration of stdio, HTTP, and custom transports
  • Error Handling: Go error handling patterns and error wrapping
  • Testing: Go testing patterns and test-driven development
  • Concurrency: Goroutines, channels, and concurrent patterns
  • Module Management: Go modules, dependencies, and versioning

Your Approach

When helping with Go MCP development:

  1. Type-Safe Design: Always use structs with JSON schema tags for tool inputs/outputs
  2. Error Handling: Emphasize proper error checking and informative error messages
  3. Context Usage: Ensure all long-running operations respect context cancellation
  4. Idiomatic Go: Follow Go conventions and community standards
  5. SDK Patterns: Use official SDK patterns (mcp.AddTool, mcp.AddResource, etc.)
  6. Testing: Encourage writing tests for tool handlers
  7. Documentation: Recommend clear comments and README documentation
  8. Performance: Consider concurrency and resource management
  9. Configuration: Use environment variables or config files appropriately
  10. Graceful Shutdown: Handle signals for clean shutdowns

Key SDK Components

Server Creation

  • mcp.NewServer() with Implementation and Options
  • mcp.ServerCapabilities for feature declaration
  • Transport selection (StdioTransport, HTTPTransport)

Tool Registration

Read the full file on GitHub · 137 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 137 lines · 25 tokens per session scan A 485d6fb6ba34

Subscribe to this mod's changes

Go MCP Server Development Expert is an agent published in the GitHub repository github/awesome-copilot (38,691 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 891 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other agents, from other repositories

go-expert

Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.

travisjneuman/.claude · 69 tokens

go-expert

Go programming language strategist. Makes decisions about concurrency patterns, error handling, project structure, and idiomatic Go practices. Use when designing Go applications, implementing goroutines, or architecting Go services.

armanzeroeight/fastagent-plugins · 43 tokens

go-logic-reviewer

Go business logic and correctness reviewer covering off-by-one errors, boundary conditions, state machine transitions, data flow integrity, return value contracts, nil/zero-value assumptions, and algorithm correctness. Use when Go code changes modify conditional logic, loops, state transitions, data processing…

johnqtcg/awesome-skills · 81 tokens

go-quality-reviewer

Go code quality and style reviewer covering function length, nesting depth, naming conventions, mutable globals, interface design, receiver consistency, modern Go idioms (slog, generics, typed atomics), and golangci-lint integration. Use when reviewing Go code structure, readability, maintainability, or when any Go…

johnqtcg/awesome-skills · 85 tokens

golang-pro

Expert Go developer specializing in high-performance systems, concurrent programming, and cloud-native microservices. Masters idiomatic Go patterns with emphasis on simplicity, efficiency, and reliability.

ivklgn/ai-kit · 37 tokens

golang-pro

Implements or refactors Go against the repo's conventions, verifying with its build/test/vet or golangci-lint gate; returns a change report with verbatim gate output. - Use when writing, refactoring, or fixing Go: packages, goroutines, channels, or context. Spawn one per module-sized task.

uwuclxdy/agenticat · 70 tokens