Skip to content

Commit 982a0bc

Browse files
authored
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.
1 parent 0fa4a6c commit 982a0bc

File tree

3 files changed

+30
-0
lines changed

3 files changed

+30
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"name": "Go MCP SDK Dev Container",
3+
"image": "mcr.microsoft.com/devcontainers/go",
4+
"features": {
5+
"ghcr.io/devcontainers/features/git-lfs:1": {}
6+
},
7+
"customizations": {
8+
"vscode": {
9+
"extensions": [
10+
"golang.go",
11+
"ms-vsliveshare.vsliveshare",
12+
"VisualStudioExptTeam.vscodeintellicode",
13+
"eamodio.gitlens",
14+
"usernamehw.errorlens",
15+
"aaron-bond.better-comments",
16+
"GitHub.vscode-github-actions",
17+
"vscode-icons-team.vscode-icons"
18+
],
19+
"settings": {
20+
"workbench.iconTheme": "vscode-icons"
21+
}
22+
}
23+
},
24+
25+
"postCreateCommand": "go mod tidy"
26+
}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
<!-- Autogenerated by weave; DO NOT EDIT -->
22
# MCP Go SDK v0.2.0
33

4+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/modelcontextprotocol/go-sdk)
5+
46
***BREAKING CHANGES***
57

68
This version contains breaking changes.

internal/readme/README.src.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# MCP Go SDK v0.2.0
22

3+
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/modelcontextprotocol/go-sdk)
4+
35
***BREAKING CHANGES***
46

57
This version contains breaking changes.

0 commit comments

Comments
 (0)