Skip to content

Commit b64734a

Browse files
authored
Merge pull request #152 from githubnext/copilot/configure-serena-mcp
2 parents 6bdae23 + 5993e73 commit b64734a

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

.github/aw/actions-lock.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
"version": "v6",
2121
"sha": "4dc6199c7b1a012772edbd06daecab0f50c9053c"
2222
},
23+
"actions/setup-python@v5": {
24+
"repo": "actions/setup-python",
25+
"version": "v5",
26+
"sha": "a26af69be951a213d495a4c3e4e4022e16d87065"
27+
},
2328
"actions/upload-artifact@v5": {
2429
"repo": "actions/upload-artifact",
2530
"version": "v5",
@@ -30,6 +35,11 @@
3035
"version": "v0.20.10",
3136
"sha": "fbfd9c6c189226748411491745178e0c2017392d"
3237
},
38+
"astral-sh/setup-uv@v5": {
39+
"repo": "astral-sh/setup-uv",
40+
"version": "v5",
41+
"sha": "d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86"
42+
},
3343
"docker/build-push-action@v6": {
3444
"repo": "docker/build-push-action",
3545
"version": "v6",

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@ jobs:
1818
contents: read
1919

2020
steps:
21+
- name: Setup Python
22+
uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
23+
with:
24+
python-version: '3.12'
25+
- name: Setup uv
26+
uses: astral-sh/setup-uv@d4b2f3b6ecc6e67c4457f6d3e41ec42d3d0fcb86 # v5.4.2
2127
- name: Install gh-aw extension
2228
run: |
2329
curl -fsSL https://raw.githubusercontent.com/githubnext/gh-aw/refs/heads/main/install-gh-aw.sh | bash

.vscode/mcp.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
"mcp-server"
88
],
99
"cwd": "${workspaceFolder}"
10+
},
11+
"serena": {
12+
"command": "uvx",
13+
"args": ["--from", "git+https://github.com/oraios/serena", "serena", "start-mcp-server", "--context", "codex", "--project", "${workspaceFolder}"],
14+
"cwd": "${workspaceFolder}",
15+
"env": {
16+
"PATH": "${env:PATH}:${env:HOME}/go/bin:${env:HOME}/.local/bin"
17+
}
1018
}
1119
}
1220
}

0 commit comments

Comments
 (0)