Skip to content

Commit 5724d0b

Browse files
authored
Add Serena MCP server configuration for Go and TypeScript (#7053)
1 parent dd5fbd9 commit 5724d0b

2 files changed

Lines changed: 23 additions & 0 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,9 @@ jobs:
3838
run: make build
3939
- name: Recompile workflows
4040
run: make recompile
41+
- name: Install UV (Python package manager)
42+
run: curl -LsSf https://astral.sh/uv/install.sh | sh
43+
- name: Install Go language server (gopls)
44+
run: go install golang.org/x/tools/gopls@latest
45+
- name: Install TypeScript language server
46+
run: npm install -g typescript-language-server typescript

.vscode/mcp.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,23 @@
77
"mcp-server"
88
],
99
"cwd": "${workspaceFolder}"
10+
},
11+
"serena": {
12+
"command": "uvx",
13+
"args": [
14+
"--from",
15+
"git+https://github.com/oraios/serena",
16+
"serena",
17+
"start-mcp-server",
18+
"--context",
19+
"codex",
20+
"--project",
21+
"${workspaceFolder}"
22+
],
23+
"cwd": "${workspaceFolder}",
24+
"env": {
25+
"PATH": "${env:PATH}:${env:HOME}/go/bin:${env:HOME}/.local/bin"
26+
}
1027
}
1128
}
1229
}

0 commit comments

Comments
 (0)