Skip to content

Serena: install, tools and limits

Better Design

Direct answer

Serena gives a coding agent IDE-like tools to find, edit, refactor and debug code at the symbol level instead of by line numbers or text search. It runs over local stdio by default, or Streamable HTTP at http://localhost:<port>/mcp when you start it with --transport streamable-http, needs no sign-in, and exposes 53 tools.

A hand-drawn terminal that connects a coding agent to Serena, with the server's name and tool count written beside it.

What Serena does

Serena gives a coding agent IDE-like tools to find, edit, refactor and debug code at the symbol level instead of by line numbers or text search. It runs as an MCP server backed by language servers for 40+ languages by default, or by a paid JetBrains plugin.

Oraios AI maintains it. The latest release on PyPI is serena-agent 2.1.0, published October 19, 2026. It is licensed under GPL-3.0-or-later.

How a coding agent uses Serena

The agent asks, Serena acts, and the result comes back into the session.

A hand-drawn three-step flow from the coding agent to Serena and back: Rename this prop across every component, Finds the symbol and its references through the language server, The edited symbols in every file.
  1. The agent asks: Rename this prop across every component
  2. Serena acts: Finds the symbol and its references through the language server
  3. The result comes back: The edited symbols in every file

Install Serena in Claude Code

terminal
serena setup claude-code
# or, global:
claude mcp add --scope user serena -- serena start-mcp-server --context claude-code --project-from-cwd
# or, per project:
claude mcp add serena -- serena start-mcp-server --context claude-code --project "$(pwd)"

Install Serena in VS Code

MCP: Add Server, Command (stdio)
serena start-mcp-server --context=vscode
# or, per workspace:
serena start-mcp-server --context=vscode --project ${workspaceFolder}

Install Serena in Codex

terminal or ~/.codex/config.toml
serena setup codex
# or add to ~/.codex/config.toml:
[mcp_servers.serena]
startup_timeout_sec = 15
command = "serena"
args = ["start-mcp-server", "--project-from-cwd", "--context=codex"]

The 53 tools Serena gives your agent

Serena lists these names in its own documentation, read on November 12, 2026. Your agent sees each one as a tool it can call.

  • Symbol tools: find_declaration, find_implementations, find_referencing_symbols, find_symbol, get_diagnostics_for_file, get_diagnostics_for_symbol, get_symbols_overview, insert_after_symbol, insert_before_symbol, rename_symbol, replace_symbol_body, restart_language_server, safe_delete_symbol
  • JetBrains tools: jet_brains_debug, jet_brains_find_declaration, jet_brains_find_implementations, jet_brains_find_referencing_symbols, jet_brains_find_symbol, jet_brains_get_symbols_overview, jet_brains_inline_symbol, jet_brains_list_inspections, jet_brains_move, jet_brains_rename, jet_brains_run_inspections, jet_brains_safe_delete, jet_brains_type_hierarchy
  • Command tools: execute_shell_command
  • Config tools: activate_project, get_current_config, open_dashboard, remove_project
  • File tools: create_text_file, delete_lines, find_file, insert_at_line, list_dir, read_file, replace_content, replace_in_files, replace_lines, search_for_pattern
  • Memory tools: delete_memory, edit_memory, list_memories, read_memory, rename_memory, write_memory
  • Query project tools: list_queryable_projects, query_project
  • REPL tools: serena_repl
  • Workflow tools: initial_instructions, onboarding, serena_info

Settings worth knowing in Serena

--context <context>
What it changes

Selects the tool set and prompts for the client, for example claude-code, codex, vscode or ide.

Server

Serena

--project <path|name> or --project-from-cwd
What it changes

Picks the active project at start.

Server

Serena

--transport streamable-http --port <port> [--host <listen_address>]
What it changes

Runs Serena as an HTTP server.

Server

Serena

--language-backend JetBrains
What it changes

Switches from language servers to the JetBrains plugin.

Server

Serena

--mode <mode> and --open-web-dashboard <true|false>
What it changes

Set the modes, repeatable, and whether the web dashboard opens.

Server

Serena

Sign-in, limits and caveats for Serena

Sign-in: None. It runs locally. The optional JetBrains backend needs the paid Serena JetBrains Plugin, which has a free trial.

Limits and price: Serena is open source under GPL-3.0-or-later and free to run with language servers. Its documentation states no usage limit. The Serena JetBrains Plugin is paid, with a free trial, and the docs give no price.

  • Install Serena first with uv tool install -p 3.13 serena-agent, then run serena init.
  • Only a subset of the tools is on in most configurations; tools marked optional are off by default.
  • The README says not to install Serena from an MCP or plugin marketplace, because those carry outdated install commands.
  • Serena is stateful with one active project at a time, so one HTTP instance should serve several clients only if they all work on the same project.
  • In Claude Code and VS Code the agent often fails to load or keep using Serena's tools; the docs recommend the serena-hooks reminder hooks, and MCP_TIMEOUT (e.g. 60000) if Serena starts slowly.
  • The SolidLSP component is MIT; distributions that combine it with the Serena application are GPL as a whole.

Use Serena for interface work

find_referencing_symbols, rename_symbol and replace_symbol_body let an agent change a shared component or prop across a large frontend codebase in one call instead of error-prone text search and replace.

Steal this workflow

Run this guide in your own assistant. The prompt carries the guide link and the workflow summary, so the assistant can adapt it to your project.

Read the guide "Serena: install, tools and limits" at https://better-design.com/blog/serena-mcp and help me apply it to my project.

Serena gives a coding agent IDE-like tools to find, edit, refactor and debug code at the symbol level instead of by line numbers or text search. It runs over local stdio by default, or Streamable HTTP at http://localhost:<port>/mcp when you start it with --transport streamable-http, needs no sign-in, and exposes 53 tools.

Start by asking what I am building and which tools I use. Then walk me through the workflow step by step, adapted to my answers.

Claude and ChatGPT open with the prompt filled in. Gemini copies the prompt to your clipboard first, so paste it when the app opens.

Questions

What does Serena do?

Serena gives a coding agent IDE-like tools to find, edit, refactor and debug code at the symbol level instead of by line numbers or text search. It runs as an MCP server backed by language servers for 40+ languages by default, or by a paid JetBrains plugin.

Does Serena need an API key or sign-in?

None. It runs locally. The optional JetBrains backend needs the paid Serena JetBrains Plugin, which has a free trial.

Is Serena free?

Serena is open source under GPL-3.0-or-later and free to run with language servers. Its documentation states no usage limit. The Serena JetBrains Plugin is paid, with a free trial, and the docs give no price.

Which coding agents can use Serena?

Its documentation shows a setup for Claude Code, VS Code, Codex. Any client that speaks MCP over local stdio by default, or Streamable HTTP at http://localhost:<port>/mcp when you start it with --transport streamable-http can connect.

Where these Serena facts come from

Each fact on this page comes from Serena's own repository, documentation or package registry, read on November 12, 2026.

Add design rules next to it

Serena gives the agent its tools. It does not tell the agent what a good screen looks like. Better Design adds that part: a design system, interface principles and review rules that the agent calls while it builds.