rapid-mcp-server-go

macjunkins/rapid-mcp-server-go

3.2

If you are the rightful owner of rapid-mcp-server-go and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

The Rapid MCP Server is a lightweight implementation of the Model Context Protocol (MCP) in Go, designed for simplicity and fast development cycles.

Tools
3
Resources
0
Prompts
0

Rapid MCP Server - Go Implementation

A lightweight Model Context Protocol (MCP) server implementation in Go.

Overview

This is the Go implementation of the Rapid MCP Server, designed for simplicity and fast development cycles. It reads YAML-based command definitions from the rapid-mcp-commands repository and exposes them via the MCP protocol.

Project Status

🚧 Phase 1: MVP Development - Setting up foundational structure for Rust vs Go comparison.

Architecture

rapid-mcp-server-go/
├── cmd/
│   └── rapid-mcp-server/
│       └── main.go          # Entry point
├── internal/
│   ├── mcp/                 # MCP protocol implementation
│   │   ├── types.go         # MCP type definitions
│   │   └── server.go        # Protocol handler
│   ├── command/             # Command handling
│   │   ├── types.go         # Command schema
│   │   └── loader.go        # YAML loader
│   ├── validation/          # Parameter validation (future)
│   └── github/              # GitHub API integration (future)
├── commands/                # Symlink to rapid-mcp-commands
├── go.mod
└── go.sum

Dependencies

  • gopkg.in/yaml.v3 - YAML parsing
  • Standard library for JSON-RPC and templating

Building

# Build
go build -o bin/rapid-mcp-server ./cmd/rapid-mcp-server

# Run
./bin/rapid-mcp-server

# Test
go test ./...

# Format code
go fmt ./...

Testing

# Run tests
go test ./...

# Check startup time
time ./bin/rapid-mcp-server < /dev/null

# Test with sample MCP request
echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{}}' | ./bin/rapid-mcp-server

MCP Protocol

This server implements the Model Context Protocol v2024-11-05:

  • initialize - Returns server capabilities
  • tools/list - Lists available commands
  • tools/call - Executes a command with parameters

Related Projects

License

MIT License