From b803799db3e37a1f409ad51b3ba84bc1091fae95 Mon Sep 17 00:00:00 2001 From: CSK <73425927+cr2007@users.noreply.github.com> Date: Tue, 22 Jul 2025 08:50:41 +0000 Subject: [PATCH 1/2] feat(devcontainer): Adds Dev Container configuration - Includes Git LFS support via devcontainer features - Installs recommended VS Code extensions for Go development: - `golang.go`, `gitlens`, `vscode-icons`, etc. - Runs `go mod tidy` automatically after container creation --- .devcontainer/devcontainer.json | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .devcontainer/devcontainer.json diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..ea77d0f8 --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -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" +} From 57ec1218a54c491a5c0b9408c024a6ac8b27d60b Mon Sep 17 00:00:00 2001 From: CSK <73425927+cr2007@users.noreply.github.com> Date: Tue, 29 Jul 2025 11:25:17 +0000 Subject: [PATCH 2/2] docs: Adds the 'Open in GitHub Codespaces' badge --- README.md | 2 ++ internal/readme/README.src.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index d899afdd..76800430 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,8 @@ # 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. diff --git a/internal/readme/README.src.md b/internal/readme/README.src.md index 0e239f81..bf9faa26 100644 --- a/internal/readme/README.src.md +++ b/internal/readme/README.src.md @@ -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.