go-mcp-server-generator
Generate a complete Go MCP server project with proper structure, dependencies, and implementation using the official github.com/modelcontextprotocol/go-sdk.
Skill by miyake-san
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/miyake-san-go-mcp-server-generator
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: backend, agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/go-mcp-server-generator
What's inside
- Skill name
go-mcp-server-generator- Description
- Generate a complete Go MCP server project with proper structure, dependencies, and implementation using the official github.com/modelcontextprotocol/go-sdk.
- License
- MIT
- Instructions
- 331 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Go MCP Server Project Generator
Generate a complete, production-ready Model Context Protocol (MCP) server project in Go.
## Project Requirements
You will create a Go MCP server with:
1. **Project Structure**: Proper Go module layout
2. **Dependencies**: Official MCP SDK and necessary packages
3. **Server Setup**: Configured MCP server with transports
4. **Tools**: At least 2-3 useful tools with typed inputs/outputs
5. **Error Handling**: Proper error handling and context usage
6. **Documentation**: README with setup and usage instructions
7. **Testing**: Basic test structure
## Template Structure
```
myserver/
├── go.mod
├── go.sum
├── main.go
├── tools/
│ ├── tool1.go
│ └── tool2.go
├── resources/
│ └── resource1.go
├── config/
│ └── config.go
├── README.md
└── main_test.go
```
## go.mod Template
```go
module github.com/yourusername/{{PROJECT_NAME}}
go 1.23
require (
github.com/modelcontextprotocol/go-sdk v1.0.0
)
```
## main.go Template
```go
package main
import (
"context"
"log"
"os"
"os/signal"
"syscall"
"github.com/modelcontextprotocol/go-sdk/mcp"
"github.com/yourusername/{{PROJECT_NAME}}/config"
"github.com/yourusername/{{PROJECT_NAME}}/tools"
)
func main() {
cfg := config.Load()
ctx, cancel := context.WithCancel(context.Background())
defer cancel()
// Handle graceful shutdown
sigCh := make(chan os.Signal, 1)
signal.Notify(sigCh, os.Interrupt, syscall.SIGTERM)
go func() {
<-sigCh
log.Println("Shutting down...")
cancel()
}()
// Create server
server := mcp.NewServer(
&mcp.Implementation{
Name: cfg.ServerName,
Version: cfg.Version,
},
&mcp.Options{
Capabilities: &mcp.ServerCapabilities{
Tools: &mcp.ToolsCapability{},
Resources: &mcp.ResourcesCapability{},
Prompts: &mcp.PromptsCapability{},
},
},
)
// Register tools
tools.RegisterTools(server)
// Run server
transport := &mcp.StdioTransport{}
if err := server.Run(ctx, transport); err != nil {
log.Fatalf("Server error: %v", err)
}
}
```
## tools/tool1.go Template
```go
package tools
import (
"context"
"fmt"
"github.com/modelcontextprotocol/go-sdk/mcp"
)
type Tool1Input struct {
Param1 string `json:"param1" jsonschema:"required,description=First parameter"`
Param2 int `json:"param2,omitempty" jsonschema:"description=Optional second parameter"`From miyake-san/sogo-agent-platform, MIT.
More from miyake-san/sogo-agent-platform
- 0.529score
github-issues
miyake-san
Create, update, and manage GitHub issues using MCP tools.
SkillBFreshness: BClaude Code +9 - 0.521score
documentation-research
miyake-san
Tiered source hierarchy for finding authoritative learning materials — official docs, books, videos, courses, and academic papers
SkillBFreshness: BClaude Code +9 - 0.521score
declarative-agents
miyake-san
Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and…
SkillBFreshness: BClaude Code +9 - 0.518score
create-specification
miyake-san
Create a new specification file for the solution, optimized for Generative AI consumption.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-issue-feature-from-specification
miyake-san
Create GitHub Issue for feature request from specification file using feature_request.yml template.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-issues-for-unmet-specification-requirements
miyake-san
Create GitHub Issues for unimplemented requirements from specification files using feature_request.yml template.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-pull-request-from-specification
miyake-san
Create GitHub Pull Request for feature request from specification file using pull_request_template.md template.
SkillBFreshness: BClaude Code +9 - 0.516score
create-rfc
miyake-san
Creates and reviews a Request for Comments that compares alternatives before a consequential technical or content-system decision.
SkillBFreshness: BClaude Code +9 - 0.510score
create-readme
miyake-san
Create a README.md file for the project
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 28, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from miyake-san
- 0.529score
github-issues
miyake-san
Create, update, and manage GitHub issues using MCP tools.
SkillBFreshness: BClaude Code +9 - 0.521score
documentation-research
miyake-san
Tiered source hierarchy for finding authoritative learning materials — official docs, books, videos, courses, and academic papers
SkillBFreshness: BClaude Code +9 - 0.521score
declarative-agents
miyake-san
Complete development kit for Microsoft 365 Copilot declarative agents with three comprehensive workflows (basic, advanced, validation), TypeSpec support, and…
SkillBFreshness: BClaude Code +9 - 0.518score
create-specification
miyake-san
Create a new specification file for the solution, optimized for Generative AI consumption.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-issue-feature-from-specification
miyake-san
Create GitHub Issue for feature request from specification file using feature_request.yml template.
SkillBFreshness: BClaude Code +9 - 0.518score
create-github-issues-for-unmet-specification-requirements
miyake-san
Create GitHub Issues for unimplemented requirements from specification files using feature_request.yml template.
SkillBFreshness: BClaude Code +9
Cite this page
go-mcp-server-generator skill. Agent Mart. https://agentmart.dev/skills/miyake-san-go-mcp-server-generator (last updated 2026-10-24)