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:
parent
0fa4a6c65b
commit
982a0bceca
3 changed files with 30 additions and 0 deletions
26
.devcontainer/devcontainer.json
Normal file
26
.devcontainer/devcontainer.json
Normal 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"
|
||||||
|
}
|
||||||
|
|
@ -1,6 +1,8 @@
|
||||||
<!-- Autogenerated by weave; DO NOT EDIT -->
|
<!-- Autogenerated by weave; DO NOT EDIT -->
|
||||||
# MCP Go SDK v0.2.0
|
# MCP Go SDK v0.2.0
|
||||||
|
|
||||||
|
[](https://codespaces.new/modelcontextprotocol/go-sdk)
|
||||||
|
|
||||||
***BREAKING CHANGES***
|
***BREAKING CHANGES***
|
||||||
|
|
||||||
This version contains breaking changes.
|
This version contains breaking changes.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
# MCP Go SDK v0.2.0
|
# MCP Go SDK v0.2.0
|
||||||
|
|
||||||
|
[](https://codespaces.new/modelcontextprotocol/go-sdk)
|
||||||
|
|
||||||
***BREAKING CHANGES***
|
***BREAKING CHANGES***
|
||||||
|
|
||||||
This version contains breaking changes.
|
This version contains breaking changes.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue