A Model Context Protocol (MCP) server that provides development tools for VS Code's AI features, with a focus on Go and additional support for Rust and Python.
Features
This extension provides an MCP server with the following tools:
Go Documentation
Search Go Documentation - Search pkg.go.dev for Go packages
Read Go Documentation - Read detailed documentation for specific packages
Search within Go Documentation - Find specific content within package docs
Go Code Validation - Comprehensive static analysis using go vet, build checks, formatting validation, and module tidiness
Go Package Outline - Extract dependencies, exported declarations, and call graphs
Rust Documentation
Search Rust Documentation - Search for crates on docs.rs
Read Rust Documentation - Read crate documentation with line-based paging
Search within Rust Documentation - Find specific content within crate docs
Python Documentation
Search Python Documentation - Search Python standard library modules on docs.python.org
Read Python Documentation - Read module documentation with line-based paging
Search within Python Documentation - Find specific content within module docs
GitHub Integration
Search GitHub Code - Search for code across GitHub repositories
Get GitHub Content - Retrieve file contents from GitHub repositories
GitHub Repository Tree - Explore repository structure
Local Development
Local File Search - Search through local files by content
Directory Tree - Display project directory structure
Markdown Scanning - Extract headings and structure from markdown files
How to Use
Install this extension
The MCP server will automatically be available to VS Code's AI features
Use AI chat features - the server provides context about Go development
Requirements
VS Code with AI/Copilot features enabled
Go development environment (for local file operations)
Architecture
The server is implemented in Go and provides stdio-based MCP protocol communication. It includes:
Clean architecture with separated concerns
Comprehensive testing
Cross-platform binary support
Intelligent output filtering for better token efficiency