Skip to content

Commit 6259ab6

Browse files
authored
Add VS Code MCP server configuration (#520)
* fix(templates): update kernel version metadata from 6.14 to 6.17 The kernel.version field in Ubuntu templates was showing 6.14 but linux-image-generic-hwe-24.04 now resolves to kernel 6.17 in the Ubuntu repos. Updated all Ubuntu user templates and default configs to reflect the actual installed kernel version. Note: kernel.version is metadata only — the actual kernel installed is determined by the packages list, not the version string. * chore: add VS Code MCP server configuration * docs: add MCP server prerequisites to installation guide
1 parent ad54d3f commit 6259ab6

2 files changed

Lines changed: 97 additions & 5 deletions

File tree

.vscode/mcp.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"servers": {
3+
"gopls": {
4+
"type": "stdio",
5+
"command": "gopls",
6+
"args": [
7+
"mcp"
8+
]
9+
},
10+
"github": {
11+
"type": "stdio",
12+
"command": "npx",
13+
"args": [
14+
"-y",
15+
"@modelcontextprotocol/server-github"
16+
],
17+
"env": {
18+
"GITHUB_PERSONAL_ACCESS_TOKEN": "${input:github-token}"
19+
}
20+
},
21+
"fetch": {
22+
"type": "stdio",
23+
"command": "npx",
24+
"args": [
25+
"-y",
26+
"@modelcontextprotocol/server-fetch"
27+
]
28+
},
29+
"context7": {
30+
"type": "stdio",
31+
"command": "npx",
32+
"args": [
33+
"-y",
34+
"@upstash/context7-mcp@latest"
35+
]
36+
},
37+
"sequential-thinking": {
38+
"type": "stdio",
39+
"command": "npx",
40+
"args": [
41+
"-y",
42+
"@modelcontextprotocol/server-sequential-thinking"
43+
]
44+
},
45+
"memory": {
46+
"type": "stdio",
47+
"command": "npx",
48+
"args": [
49+
"-y",
50+
"@modelcontextprotocol/server-memory"
51+
]
52+
}
53+
},
54+
"inputs": [
55+
{
56+
"id": "github-token",
57+
"type": "promptString",
58+
"description": "GitHub Personal Access Token",
59+
"password": true
60+
}
61+
]
62+
}
63+

docs/tutorial/installation.md

Lines changed: 34 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,24 @@ prerequisites.
55

66
## Table of Contents
77

8-
- [Prerequisites](#prerequisites)
9-
- [Development Build (Go)](#development-build-go)
10-
- [Production Build (Earthly)](#production-build-earthly)
11-
- [Install via Debian Package](#install-via-debian-package)
12-
- [Image Composition Prerequisites](#image-composition-prerequisites)
8+
- [Installation Guide](#installation-guide)
9+
- [Table of Contents](#table-of-contents)
10+
- [Prerequisites](#prerequisites)
11+
- [Development Build (Go)](#development-build-go)
12+
- [Including Version Information in Dev Builds](#including-version-information-in-dev-builds)
13+
- [VS Code MCP Servers (Optional)](#vs-code-mcp-servers-optional)
14+
- [Production Build (Earthly)](#production-build-earthly)
15+
- [Install via Debian Package](#install-via-debian-package)
16+
- [Build the Debian Package](#build-the-debian-package)
17+
- [Install the Package](#install-the-package)
18+
- [Verify Installation](#verify-installation)
19+
- [Package Contents](#package-contents)
20+
- [Package Dependencies](#package-dependencies)
21+
- [Uninstall](#uninstall)
22+
- [Image Composition Prerequisites](#image-composition-prerequisites)
23+
- [ukify](#ukify)
24+
- [mmdebstrap](#mmdebstrap)
25+
- [Next Steps](#next-steps)
1326

1427
---
1528

@@ -69,6 +82,22 @@ go build -buildmode=pie \
6982
./cmd/live-installer
7083
```
7184

85+
### VS Code MCP Servers (Optional)
86+
87+
This repository includes `.vscode/mcp.json` which configures
88+
[MCP servers](https://code.visualstudio.com/docs/copilot/chat/mcp-servers) for
89+
AI-assisted development with GitHub Copilot. These are **optional** — everything
90+
works without them.
91+
92+
| Requirement | What it provides | Install |
93+
|-------------|-----------------|---------|
94+
| Go 1.24+ with `gopls` | Go workspace tools (diagnostics, search, references) | VS Code Go extension installs `gopls` automatically |
95+
| Node.js 18+ with `npx` | GitHub, fetch, context7, sequential-thinking, memory servers | [nodejs.org](https://nodejs.org/) |
96+
| GitHub PAT (optional) | GitHub MCP server authentication | [Creating a PAT](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens) |
97+
98+
If a server's prerequisites are not met, VS Code will skip that server with no
99+
impact on normal development.
100+
72101
## Production Build (Earthly)
73102

74103
For reproducible production builds with automatic version injection.

0 commit comments

Comments
 (0)