Skip to content

Commit 5b1079b

Browse files
authored
Adding Serena MPC configuration (#603)
* Adding Serena MPC configuration * Updating SERENA configuration
1 parent 25a10e7 commit 5b1079b

3 files changed

Lines changed: 59 additions & 0 deletions

File tree

.cursor/mcp.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,21 @@
2525
"env": {
2626
"GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_TOKEN_HERE"
2727
}
28+
},
29+
"serena": {
30+
"command": "docker",
31+
"args": [
32+
"run",
33+
"-i",
34+
"--rm",
35+
"-v",
36+
".:/workspaces/projects/repo",
37+
"ghcr.io/oraios/serena:latest",
38+
"serena",
39+
"start-mcp-server",
40+
"--project",
41+
"/workspaces/projects/repo"
42+
]
2843
}
2944
}
3045
}

.serena/.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
/cache
2+
/project.local.yml
3+
/memories
4+

.serena/project.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Serena project config — Java (LSP) for this repo
2+
# Docs: https://oraios.github.io/serena/
3+
4+
project_name: "cursor-rules-java"
5+
6+
languages:
7+
- java
8+
9+
ignore_all_files_in_gitignore: true
10+
11+
ignored_paths: []
12+
13+
read_only: false
14+
15+
excluded_tools: []
16+
17+
included_optional_tools: []
18+
19+
initial_prompt: |
20+
Read the repository root AGENTS.md for project role, tech stack, layout, commands, Git workflow, and boundaries before making changes.
21+
22+
encoding: utf-8
23+
24+
base_modes:
25+
26+
default_modes:
27+
28+
fixed_tools: []
29+
30+
symbol_info_budget:
31+
32+
language_backend:
33+
34+
read_only_memory_patterns: []
35+
36+
line_ending:
37+
38+
ignored_memory_patterns: []
39+
40+
ls_specific_settings: {}

0 commit comments

Comments
 (0)