From 72f83d1abcc0cb7005b456563a8d5601b5da69c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Antonio=20Bre=C3=B1a=20Moral?= Date: Sat, 4 Apr 2026 15:44:58 +0200 Subject: [PATCH 1/2] Adding Serena MPC configuration --- .cursor/mcp.json | 15 +++++++++++++++ .serena/.gitignore | 4 ++++ .serena/project.yml | 40 ++++++++++++++++++++++++++++++++++++++++ 3 files changed, 59 insertions(+) create mode 100644 .serena/.gitignore create mode 100644 .serena/project.yml diff --git a/.cursor/mcp.json b/.cursor/mcp.json index 52575c0c..af007fe2 100644 --- a/.cursor/mcp.json +++ b/.cursor/mcp.json @@ -25,6 +25,21 @@ "env": { "GITHUB_PERSONAL_ACCESS_TOKEN": "YOUR_TOKEN_HERE" } + }, + "serena": { + "command": "docker", + "args": [ + "run", + "-i", + "--rm", + "-v", + ".:/workspaces/projects/repo", + "ghcr.io/oraios/serena:latest", + "serena", + "start-mcp-server", + "--project", + "/workspaces/projects/repo" + ] } } } diff --git a/.serena/.gitignore b/.serena/.gitignore new file mode 100644 index 00000000..4fa99cf8 --- /dev/null +++ b/.serena/.gitignore @@ -0,0 +1,4 @@ +/cache +/project.local.yml +/memories + diff --git a/.serena/project.yml b/.serena/project.yml new file mode 100644 index 00000000..6d84c983 --- /dev/null +++ b/.serena/project.yml @@ -0,0 +1,40 @@ +# Serena project config — Java (LSP) for this repo +# Docs: https://oraios.github.io/serena/ + +project_name: "codemotion-madrid-2026-demos" + +languages: + - java + +ignore_all_files_in_gitignore: true + +ignored_paths: [] + +read_only: false + +excluded_tools: [] + +included_optional_tools: [] + +initial_prompt: | + Read the repository root AGENTS.md for project role, tech stack, layout, commands, Git workflow, and boundaries before making changes. + +encoding: utf-8 + +base_modes: + +default_modes: + +fixed_tools: [] + +symbol_info_budget: + +language_backend: + +read_only_memory_patterns: [] + +line_ending: + +ignored_memory_patterns: [] + +ls_specific_settings: {} From e5f73eebbcecb8b17f7ebb797c1909d3d23232f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Antonio=20Bre=C3=B1a=20Moral?= Date: Sat, 4 Apr 2026 15:46:06 +0200 Subject: [PATCH 2/2] Updating SERENA configuration --- .serena/project.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.serena/project.yml b/.serena/project.yml index 6d84c983..30bf9cee 100644 --- a/.serena/project.yml +++ b/.serena/project.yml @@ -1,7 +1,7 @@ # Serena project config — Java (LSP) for this repo # Docs: https://oraios.github.io/serena/ -project_name: "codemotion-madrid-2026-demos" +project_name: "cursor-rules-java" languages: - java