Serena MCP

Find, rename and edit code by symbol in 40+ languages, like an IDE does

Out of the box, a coding agent finds code with text search and edits it by replacing lines. Serena, an open-source project by Oraios AI, gives it the tools an IDE has: find a symbol, find everything that references it, rename it everywhere, replace a function body.
It runs real language servers, so it understands 40+ languages, from TypeScript and Python to Go, Rust and Java. A paid JetBrains plugin is an alternative backend that adds moves, inlining and debugging. On a large codebase, the agent follows references instead of grepping and reading whole files.
Find symbols
Jumps to a function, class or method by name, with a file outline
Find references
Lists every place that uses a symbol, across files
Rename everywhere
Renames a symbol across the codebase in one call
Edit by symbol
Replaces a function body or inserts code before or after a symbol

A real run

We pointed it at the editor package that renders our articles and asked what it takes to add a new MDX component. Serena followed the references instead of grepping, found the three callers and named the one object to change. It also caught a side effect: the new component would vanish when the editor converts blocks back to markdown.
Prompts to try
When to use
  • You work in a large codebase or monorepo
  • You do cross-file refactors and renames
  • You want the agent to read less code to find the right place
When not to use
  • Your repo is small: grep is already fast enough
  • You need docs for a third-party library: use Context7
  • You need to see how the app behaves at runtime: use Playwright or Chrome DevTools

Watch out

  • It pays off on large codebases. On a small repo, it's extra startup time for what grep already does.

Install

Serena needs uv. Then:
Terminal

Loading editor...

uv tool install -p 3.13 serena-agent && serena setup claude-code
For Codex, Cursor, Claude Desktop and other clients, see the client setup guide. Serena asks you not to install it from MCP marketplaces, which carry outdated commands.
© 2026 Paralect, Inc 651 N Broad St, Suite 206, Middletown, 19709, Delaware, United States