feat(devcontainer): Adds Dev Container configuration (#154)

This fixes #151, which makes it easier for users to easily use GitHub
Codespaces, providing them with a VS Code like environment with their
preferred settings/themes and the required dependencies, all within the
browser.
This commit is contained in:
CSK 2025-07-30 20:54:41 +04:00 • committed by GitHub
commit 982a0bceca
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 30 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{
"name": "Go MCP SDK Dev Container",
"image": "mcr.microsoft.com/devcontainers/go",
"features": {
"ghcr.io/devcontainers/features/git-lfs:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"golang.go",
"ms-vsliveshare.vsliveshare",
"VisualStudioExptTeam.vscodeintellicode",
"eamodio.gitlens",
"usernamehw.errorlens",
"aaron-bond.better-comments",
"GitHub.vscode-github-actions",
"vscode-icons-team.vscode-icons"
],
"settings": {
"workbench.iconTheme": "vscode-icons"
}
}
},
"postCreateCommand": "go mod tidy"
}

View file

@ -1,6 +1,8 @@
<!-- Autogenerated by weave; DO NOT EDIT -->
# MCP Go SDK v0.2.0
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/modelcontextprotocol/go-sdk)
***BREAKING CHANGES***
This version contains breaking changes.

View file

@ -1,5 +1,7 @@
# MCP Go SDK v0.2.0
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/modelcontextprotocol/go-sdk)
***BREAKING CHANGES***
This version contains breaking changes.