You can completely disable Serena's editing tools through its config, this way you can still benefit from the symbol finding tools. Check the configuration section in the readme Answer from Left-Orange2267 on reddit.com
🌐
Reddit
reddit.com › r/claudeai › try out serena mcp. thank me later.
r/ClaudeAI on Reddit: Try out Serena MCP. Thank me later.
June 20, 2025 -

Thanks so much to /u/thelastlokean for raving about this.
I've been spending days writing my own custom scripts with grep, ast-grep, and writing tracing through instrumentation hooks and open telemetry to get Claude to understand the structure of the various api calls and function calls.... Wow. Then Serena MCP (+ Claude Code) seems to be built exactly to solve that.

Within a few moments of reading some of the docs and trying it out I can immediately see this is a game changer.

Don't take my word, try it out. Especially if your project is starting to become more complex.

https://github.com/oraios/serena

🌐
Reddit
reddit.com › r/claudeai › mcp server for coding in vs code
r/ClaudeAI on Reddit: MCP Server for coding in VS Code
April 24, 2025 -

I made a VS Code extension that acts as an MCP server, allowing Claude desktop (and other clients) to code in an active VS Code workspace. This was driven by my own needs; github copilot is somewhat restrictive with the number of requests every month on the Pro tier and plus I want Claude for non-coding tasks anyway. I have been using Serena, which works great, but it was a bit cumbersome for my workflow. (Not criticising Serena; it is very cool and I recommend checking it out! It's just a bit cumbersome to have to edit the configuration file every time I start a new project, since I have to juggle a large number of separate codebases for work. That is probably not the case for everyone, or even most people.)

This extension is inspired by Serena but is less fully featured in some ways. What it does do, however, is expose your active VS Code workspace, so that you can switch projects just by switching to a different folder/workspace configuration in VS Code. In addition, VS Code diagnostics (ie. the "problems" tab that shows syntax errors, linter warnings, etc.) are exposed as an MCP tool.

Let me know what you think! I have been coding for quite a while, but mostly in the high performance computing and scientific ML spaces, so Typescript is quite new to me and I did lean on Claude more than usual. If you want to contribute, PRs are greatly appreciated :)

Github: https://github.com/juehang/vscode-mcp-server
VS Code Marketplace: https://marketplace.visualstudio.com/items?itemName=JuehangQin.vscode-mcp-server

Here's a demo video:

🌐
Reddit
reddit.com › r/claudeai › claude code + serena mcp inside the ide - your working system?
r/ClaudeAI on Reddit: Claude Code + Serena MCP inside the IDE - your working system?
June 19, 2025 -

Hi all,
I've been using the serena MCP with claude code inside VSCode, but it breaks the IDE integration workflow that allows me to see a diff view of the code changes. Does anyone have a "compromise" setup that gets most of the benefits of Serena without losing the diff view? Would it work to just remove the editing tools like regex replace, or at that point does Serena become a waste? Thanks!

🌐
GitHub
github.com › oraios › serena
GitHub - oraios/serena: A powerful coding agent toolkit providing semantic retrieval and editing capabilities (MCP server & other integrations)
Follow the link for specific instructions on how to set up Serena for Claude Code, Codex, Claude Desktop, MCP-enabled IDEs and other clients (such as local and web-based GUIs).
Starred by 17.6K users
Forked by 1.2K users
Languages   Python 87.2% | JavaScript 3.2% | AL 1.2% | Elixir 1.0% | CSS 0.9% | Erlang 0.9%
🌐
Oraios
oraios.github.io › serena › 02-usage › 030_clients.html
Connecting Your MCP Client — Serena Documentation
Depending on your needs, you might want to further customize Serena’s behaviour by ... Mode of Operation. Note that some clients have a per-workspace MCP configuration (e.g, VSCode and Claude Code), while others have a global MCP configuration (e.g.
🌐
DEV Community
dev.to › webdeveloperhyper › how-to-use-ai-more-efficiently-for-free-serena-mcp-5gj6
🧠How to use AI more efficiently for free (Serena MCP)🧐 - DEV Community
September 20, 2025 - Serena can not only save tokens but also speed up AI responses and improve response quality. You can use Serena at Claude Code, Cursor, Cline, VSCode and others as a MCP (Model Context Protocol).
🌐
Apidog
apidog.com › blog › serena-mcp-server
Serena MCP Server: The Open-Source Coding Agent Toolkit
October 24, 2025 - Claude Code and Claude Desktop: This is a popular and powerful combination that allows you to use the Serena MCP Server for free with Anthropic's Claude. IDEs: VSCode, Cursor, and IntelliJ have extensions that support MCP, allowing you to use the Serena MCP Server directly within your development environment.
🌐
Reddit
reddit.com › r/claudeai › [help] cannot get serena mcp server working with claude code in wsl2 - server starts but tools never become available
r/ClaudeAI on Reddit: [Help] Cannot get Serena MCP server working with Claude Code in WSL2 - Server starts but tools never become available
October 17, 2025 -

I've been trying to get the Serena MCP server (https://github.com/oraios/serena) working with Claude Code running in Ubuntu WSL2, but I'm hitting a persistent connection issue. The server launches successfully but Claude Code never actually connects to it.

Environment Details:

  • OS: Windows 11 with WSL2 (Ubuntu 24)

  • Claude Code: v2.0.20 (running in WSL terminal)

  • Terminal: VS Code integrated terminal (working directory: /mnt/d/Documents/Game Design Documents/Lianji)

  • Serena: Installed via uvx from snap: astral-uv 0.8.17

  • Project: Unity/C# project on Windows filesystem mounted at /mnt/d/...

  • uvx location: /snap/bin/uvx (snap package)

  • Node version in WSL: v18.20.6

Configuration Files:

~/.claude/settings.json:

json

{
  "feedbackSurveyState": {
    "lastShownTime": 1754083318070
  },
  "$schema": "https://json.schemastore.org/claude-code-settings.json",
  "mcpServers": {
    "serena": {
      "command": "/home/althrretha/.claude/start-serena.sh",
      "args": []
    }
  }
}

~/.claude/start-serena.sh:

bash

#!/bin/bash
# Serena MCP Server Launcher for Claude Code (stdio mode)
exec /snap/bin/uvx --from git+https://github.com/oraios/serena serena start-mcp-server --context ide-assistant --project "/mnt/d/Documents/Game Design Documents/Lianji"
```
(File has Unix line endings, chmod +x applied)

**What I've tried:**

1. **Initial attempt:** Used Windows `uvx.exe` path (`/mnt/c/Users/.../uvx.exe`) with Windows-style paths - server couldn't find project due to path format mismatch between WSL and Windows

2. **WSL-native uvx:** Installed via `sudo snap install astral-uv --classic`, updated config to use `/snap/bin/uvx` with WSL paths - server starts successfully when run manually but Claude Code never connects

3. **Fixed line endings:** Initial wrapper script had CRLF line endings causing "required file not found" error - fixed with `sed -i 's/\r$//'`

4. **HTTP transport attempt:** Added `--transport streamable-http --port 9121` - same result (connection starts, never completes)

5. **Verified Ref MCP server works:** The built-in Ref server connects successfully via HTTP, confirming Claude Code's MCP system is functional

**Current behavior:**

From `~/.claude/debug/latest`:
```
[DEBUG] MCP server "serena": Starting connection with timeout of 30000ms
[DEBUG] Writing to temp file: /home/althrretha/.claude.json.tmp.XXXX.XXXXXXXXX

Then... nothing. No completion message, no error, just timeout after 30 seconds.

Manual execution works perfectly:

bash

$ /home/althrretha/.claude/start-serena.sh
INFO  2025-10-16 21:08:12,684 [MainThread] serena.agent:__init__:203 - Number of exposed tools: 19
INFO  2025-10-16 21:08:12,927 [MainThread] serena.cli:start_mcp_server:172 - Initializing Serena MCP server
INFO  [MainThread] serena.agent:setup_mcp_server:563 - MCP server lifetime setup complete

Serena logs confirm full initialization with language server running (C# LSP has expected MSBuild warnings in WSL but core tools are available).

Testing observations:

  • When Serena runs manually, ps aux shows two processes: the uv tool wrapper and the Python serena process

  • Server listens on stdio by default (no HTTP port opened unless explicitly configured)

  • Claude Desktop (non-WSL Windows app) connects to Serena successfully with same project path using Windows-style paths

  • Closing Claude Desktop before starting Claude Code session doesn't resolve the issue

Hypothesis: The stdio pipe communication between Claude Code (Node.js-based, running in WSL) and the spawned Serena process (Python via uvx) is failing to complete the MCP initialization handshake. The process launches but something in the inter-process communication breaks down, possibly related to:

  • WSL's stdin/stdout handling with snap-confined applications

  • File descriptor inheritance issues

  • Buffering problems in the pipe communication

Questions:

  1. Has anyone successfully run stdio-based MCP servers with Claude Code in WSL2?

  2. Is there a known workaround for snap-installed tools communicating via stdio with Node.js processes in WSL?

  3. Should I try installing uvx via a different method (pip install?) to avoid snap confinement?

  4. Are there any Claude Code debug flags that would give more visibility into why the MCP connection times out?

The fact that Claude Code successfully connects to the HTTP-based Ref server but fails with stdio-based Serena suggests the issue is specifically with stdio transport in my WSL environment.

Any insights appreciated!

Top answer
1 of 2
1
When your server starts but the tools don’t show up in WSL2, it usually comes down to networking or permission hiccups. First, double-check that the MCP server’s ports are properly forwarded and that WSL2 can actually reach them. Also, make sure your firewall or antivirus isn’t getting in the way by blocking connections. Sometimes, just restarting your WSL2 instance and making sure the environment variables for the server path are set right can do the trick. And don’t forget to peek at the server logs during tool startup,they often give clues about missing dependencies or config issues. Hope that helps you get things running smoothly!
2 of 2
1
Networking is unreliable in WSL 2 So the first thing you should do is clone Serena, and get it running locally. cd /mnt/c/projects/ && git clone https://github.com/oraios/serena.git (ask claude code to get it running locally) Then add the MCP server from your claude starting directory (in my case - I start claude from /mnt/c/projects) cd /mnt/c/projects/ && claude mcp add serena -- uv run --directory /mnt/c/projects/serena serena start-mcp-server (Always add the MCP server at whatever level you start claude from - not the main project folder) On WSL2 the Claude Code MCPs are installed at ~/.claude.json Your claude.json should resemble this: { "mcpServers": { "serena": { "type": "stdio", "command": "uv", "args": [ "run", "--directory", "/mnt/c/projects/serena", "serena", "start-mcp-server" ], "env": {} } } Then test it: cd /mnt/c/projects/ && claude mcp list Start Claude Code in the root, and navigate to your project: cd /mnt/c/projects/ && claude ▗ ▗   ▖ ▖  **Claude Code** v2.0.14 Sonnet 4.5 · Claude Max ▘▘ ▝▝    `/mnt/c/projects/` > Read the project at `/mnt/c/Documents/Game Design Documents/Lianji` and use Serena MCP and activate_project
Find elsewhere
🌐
LobeHub
lobehub.com › mcp › oraios-serena
Serena | MCP Servers · LobeHub
1 month ago - Being an MCP Server, Serena can be included in any MCP Client. The same configuration as above, perhaps with small client-specific modifications, should work. Most of the popular existing coding assistants (IDE extensions or VSCode-like IDEs) ...
🌐
GitHub
github.com › oraios › serena › issues › 635
Claude Code failed to connect Serena in Idea CE 2025.2 but works in VS Code · Issue #635 · oraios/serena
September 21, 2025 - claude mcp add serena -- uvx --from git+https://github.com/oraios/serena serena start-mcp-server --context ide-assistant --project $(pwd)
Published   Sep 21, 2025
🌐
Reddit
reddit.com › r/claudecode › a developer's tale: codex + serena mcp vs. claude + serena mcp on a huge laravel project
r/ClaudeCode on Reddit: A Developer's Tale: Codex + Serena MCP vs. Claude + Serena MCP on a Huge Laravel Project
October 7, 2025 -

I wanted to share my recent experience with two different AI-assisted development setups for a massive Laravel 12 project and get your thoughts. The project involves a migration of the old Laravel 8 to a new, fresh version of Laravel 12 by preserving dual Architecture with Modern Upgrades.

The old app has a package that contains extensive business logic (18+ models, 11+ controllers, complex validation rules)

Migration Strategy:

- Fresh Laravel 12 installation
- Filament 3.3 installation  
- Basic package structure setup
- Replace appzcoder/laravel-admin with Filament resources
- UserResource, RoleResource, PermissionResource creation
- RolePermissionSeeder with language permissions
- Test user creation and authentication setup
- Update composer.json for Laravel 12 compatibility
- Replace deprecated packages with new ones
- Update model factories and middleware registration
- Fix Laravel 12 compatibility issues
- Create a compatibility layer between Filament Shield and existing permissions
- Update ApplicationPermission, AdminPermission, CheckRole middleware
- Integrate URL-based permission system with Filament
- Backup existing database
- Run Laravel 12 migrations on fresh database
- Create data migration commands for preserving existing data
- Migrate users, roles, workers, workplaces, and all HR data
- Create Filament pages linking to custom routes used by a custom-written Laravel extension
- Update custom Package for Laravel 12
- Update navigation to show both systems
- Comprehensive testing of all functionality
- Performance optimization and bug fixes

The Contenders:

  1. Claude Desktop app + Serena MCP

  2. Codex + Serena MCP

I was initially using the Claude Desktop app with the Serena MCP, and for a while, it was a solid combination. However, recently I've hit some major productivity roadblocks. Claude started to "overthink" tasks, introducing features I never asked for and generating unnecessary markdown files outlining the tasks I had already explained. It felt like I was spending more time cleaning up after it than it was saving me.

The Game Changer: Codex + Serena MCP

On a whim, I switched to using Codex with the same Serena MCP setup, and the difference has been night and day. Here’s what stood out:

Codex gets it done in one shot. I've been consistently impressed with how Codex handles tasks. I provide my instructions, and it delivers the code exactly as requested, in a single pass. There's no back and forth, no need to correct extraneous additions. It's direct, efficient, and respects the scope of the task.

No unnecessary overhead. With Codex, I haven't had to deal with any of the "creative additions" I was experiencing with Claude. It doesn't add extra logic, features, or documentation that wasn't explicitly requested. This has been a massive time-saver and has made the development process much smoother.

In my experience, for a large, complex project like this, the straightforward, no-nonsense approach of Codex has been far more effective. It feels like a tool that's designed to be a precise instrument for developers, rather than a creative partner that sometimes goes off-script.

Has anyone else had similar experiences when comparing these (or other) AI models on large-scale projects? I'm curious to know if my experience is unique or if others have found certain models to be better suited for specific types of development workflows.

TL;DR: For my complex Laravel project, Codex + Serena MCP has been significantly more efficient and direct than Claude + Serena MCP. Codex completes tasks in one go without adding unrequested features, which has been a major boost to my productivity.

🌐
Nacos
mcp.nacos.io › server › server20211
MCP Marketplace
Being an MCP Server, Serena can be included in any MCP Client. The same configuration as above, perhaps with small client-specific modifications, should work. Most of the popular existing coding assistants (IDE extensions or VSCode-like IDEs) support connections to MCP Servers.
🌐
Reddit
reddit.com › r/claudeai › am i the only who is not finding any value in serena mcp or mcps in general? (using claude code)
r/ClaudeAI on Reddit: Am I the only who is not finding any value in Serena MCP or MCPs in general? (using Claude Code)
July 4, 2025 -

I am using Serena MCP, but I don't notice that Claude Code works better with it. In fact, anytime it calls Serena's tool, CC slows to a grind. I have my project indexed. Is it just me, or are MCPs just hype and not value adds?

Top answer
1 of 5
17
Don't use MCP servers unless they fulfil something that Claude Code cannot do on it's own. I use Notion, Playwright, and Context7. Notion because I also use Claude Code on my Android phone and I use the Notion MCP to save stuff and restore it on other devices. Playwright because when you're creating a website Claude Code can use playwright to interact and screenshot the website, which helps Claude Code develop the website. Context7 because it helps Claude Code retrieve the latest documentation on stuff like API's. Why are you using Serena MCP? I don't see a good reason for me to use it with Claude Code.
2 of 5
10
Hi, Serena dev here. It's a young project, and we are working on smoothing the edges, improving the performance and the documentation. We are not even at the first release yet :) I'd like to invite everyone who had problems to report them on GitHub as issue, we are very responsive there. Also, not yet written in the documentation: you will not notice much benefits from Serena on small projects, or on tasks that are restricted to edits within one (not too large) file, or if your task mainly involves writing entire new files instead of editing existing ones. You will, however, notice significantly more intelligent and token efficient behavior when working on medium-size to large projects, especially for tasks that involve understanding or editing multiple files in the code. Serena fundamentally gives the agent better tools for context engineering, but if the context engineering on your project/task is very simple, you will not have gains, and instead Serena might get in the way.
🌐
Skypage
skywork.ai › skypage › en › Serena MCP Server: A Deep Dive for AI Engineers › 1970677982547734528
Serena MCP Server: A Deep Dive for AI Engineers
It acts as the nervous system, allowing the LLM to request context and invoke Serena's tools. Language Server Protocol (LSP) — The Brain: LSP is the same technology that powers intelligent features like "Go to Definition" and "Find All References" in modern IDEs like VSCode.
🌐
GitHub
github.com › juehang › vscode-mcp-server
GitHub - juehang/vscode-mcp-server: MCP server to expose VS Code editing features to an LLM for AI coding
A Visual Studio Code extension (available on the Marketplace) that allows Claude and other MCP clients to code directly in VS Code! Inspired by Serena, but using VS Code's built-in capabilities.
Starred by 304 users
Forked by 58 users
Languages   TypeScript 99.2% | JavaScript 0.8%
🌐
Reddit
reddit.com › r/claudecode › what are the best mcp/tools you use while coding?
r/ClaudeCode on Reddit: What are the best mcp/tools you use while coding?
August 11, 2025 - I like using Serena MCP for large projects for two reasons: it uses language servers for popular languages so finding references to symbols in a large project is very effective, and similarly to running /init there’s an onboarding process that gathers technical information about your project which helps give context about your project.
🌐
MCP Market
mcpmarket.com › home › mcp servers › serena
Serena: AI Coding Agent for Your Codebase
It provides essential semantic ... exploiting relational structure. Serena supports integration with LLMs through the Model Context Protocol (MCP), offering an MCP server compatible with Claude Desktop, IDEs like VSCode, and soon ChatGPT....
🌐
James Acres
jamesacres.co.uk › 2025 › 05 › coding-with-serena-and-claude-desktop-via-mcp
Coding with Serena and Claude Desktop via MCP | James Acres
May 4, 2025 - The current consensus seems to be MCP is a game changer as it allows dynamic discovery at runtime allowing connections to local context and expose new capabilities like editing your code for you.