MCP server · Developer tools

OfficialNot tested yet (sources checked)Local executionGPL-3.0-or-laterUpdated November 2026

Serena MCP

Oraios AI's local coding toolkit: find and edit code by symbol through language servers, plus file, memory and shell command tools.

Quick verdict

A strong choice for symbol-level navigation and refactoring if you treat it as local code execution: use it on a repository under version control or a disposable copy, keep your client's approval prompts on, and turn usage reporting off if you prefer. To restrict it, switch to the classic tool interface (agent_interface: tools) and set read_only: true in the project's .serena/project.yml, which disables Serena's editing, memory-write and shell tools for that project. That is not a read-only process: a trusted project's activation command still runs, and the default REPL interface is not limited by it. To prevent changes to project files, enforce read-only filesystem access, for example by mounting the project read-only inside a sandbox.

  • MaintainerOraios AI (official)
  • Security scopeLocal execution
  • Transportsstdio, streamable-http, sse
  • Install channelpypi · serena-agent
  • EvidenceNot tested yet (sources checked)
  • LicenseGPL-3.0-or-later · Open source (GPL-3.0-or-later since v2; SolidLSP MIT). An optional JetBrains plugin backend is sold separately.

Serena is Oraios AI's coding toolkit for AI agents, run as a local MCP server. It uses language servers (over 40 languages) or a paid JetBrains plugin to give an assistant IDE-style operations: find a symbol, list a file's symbols, find references and implementations, and edit by symbol (replace a function body, insert before or after a symbol, rename across the codebase, safe delete). It also reads, creates and edits files, searches and replaces across files, keeps project memories, and runs shell commands. Since version 2, a new setup gives the assistant a single tool that runs Python code inside Serena, which can do anything the Serena process can do; the classic one-tool-per-operation interface is a setting. Serena opens a local web dashboard at start-up and reports its version and settings to Oraios on each start unless turned off. The configuration shown is Serena's Claude Desktop entry, which exposes its full tool set and needs Serena installed first with uv. Serena's application code is GPL-3.0-or-later since version 2; releases up to 1.7.0 were MIT.

MCP security best practices

Install Serena MCP

Install uv, then run uv tool install -p 3.13 serena-agent and serena init (uv fetches Python 3.13); update later with uv tool upgrade serena-agent. If your client cannot find the serena command, use its full path (where serena on Windows, which serena elsewhere). The configuration shown is Serena's Claude Desktop entry; its desktop-app context exposes Serena's full tool set, including file creation and editing, memory writes and execute_shell_command. For Claude Code, Serena documents claude mcp add serena -- serena start-mcp-server --context claude-code --project "$(pwd)" for one project, or serena setup claude-code for every project. Since version 2 a new setup uses the REPL interface, in which the assistant sends Python code that Serena runs with your permissions, and Serena says tool exclusions and the read_only setting do not limit that code. To narrow it, add --agent-interface tools to args (or set agent_interface: tools in ~/.serena/serena_config.yml), then set read_only: true in the project's .serena/project.yml to remove the editing, memory-write and shell tools for that project (a trusted project's activation command still runs), or list execute_shell_command under excluded_tools. Serena's own advice for anything you do not fully trust is a sandbox, such as its documented Docker image (ghcr.io/oraios/serena) with only your project folder mounted. Work on a repository under version control or a disposable copy, keep your client's approval prompts on, and skip Serena's optional Claude Code auto-approve hook, which approves its editing tools in acceptEdits and auto modes. Trusted projects can run an activation_command shell command when activated: new configurations trust no project, but older installs may trust all, so check trusted_project_path_patterns in serena_config.yml. Serena starts a local dashboard at http://localhost:24282/dashboard/ (a higher port if busy) and opens it in your browser; --open-web-dashboard False stops that, and --enable-web-dashboard False turns the dashboard off. The language server backend downloads and runs language servers on first use. On each start Serena sends its version, OS, context, interface, backend and dashboard setting to Oraios; add SERENA_USAGE_REPORTING=false to env to stop it. Serena's README warns against installing from MCP or plugin marketplaces, whose commands are out of date, and the older uvx --from git+https://github.com/oraios/serena form runs the unreleased main branch.

serena start-mcp-server --context=desktop-app

Config entry (mcpServers)
{
  "mcpServers": {
    "serena": {
      "command": "serena",
      "args": [
        "start-mcp-server",
        "--context=desktop-app"
      ]
    }
  }
}

Credentials

No credentials required.

Verified configurations

Not run by us yet. This profile is Not tested yet (sources checked): the install channel, config entry, credentials and license were checked against the source and upstream metadata, but no configuration has been installed, discovered and executed in a recorded environment. When one is, it appears here with the eight scope dimensions below.

Best for

Developers using an assistant on a medium or large codebase who want it to navigate and refactor by symbol (definitions, references, renames, body replacements) instead of reading whole files and editing by line or regex.

Why use it

It is an open-source server built for semantic code navigation, actively maintained by the company that makes it, and it works with free language servers for over 40 languages, so the assistant edits whole functions and renames symbols project-wide in one call. It runs entirely locally with no account, and in the classic tool interface a project can be set to drop Serena's editing, memory-write and shell tools.

Tradeoffs

It is a code-execution server by design: the shell tool and, since v2, the default REPL interface let the assistant run commands and Python with your user's permissions, and Serena says the REPL is not constrained by tool exclusions or the project read-only setting. Its security model assumes the machine, the client, the model and the repository are all trusted, and its maintainers recommend a sandbox (its Docker image) for anything else. Editing tools overwrite files, rename symbols across the project and change memories without their own confirmation; Serena's optional Claude Code auto-approve hook removes the client's prompt too. It opens a local web dashboard in your browser at start-up, downloads and runs language servers on first use, and sends a usage report (version, OS, context, interface, backend) to Oraios on each start unless SERENA_USAGE_REPORTING=false. Setup takes several steps (uv, a Python 3.13 tool install, serena init, often the full path to the serena command). The application moved from MIT to GPL-3.0-or-later in v2, and a JetBrains backend with extra refactorings is a paid plugin. Version 2 changed tools and defaults within a month, and the MCP Registry entry is out of date. Repository content is untrusted input to the model.

Upstream state

pypi package published · repository active. Lifecycle is derived from a committed upstream snapshot at build time, never authored by hand.

Editorial details

EditorCJ ZwartLast updatedNovember 2026Sourcesoraios/serena README (features, tool groups, install, licence summary, marketplace warning); Serena docs: Installation (uv tool install -p 3.13 serena-agent, serena init); Serena docs: Running Serena (start-mcp-server, transports, options, uvx from Git, Docker); Serena docs: Connecting Your MCP Client (Claude Desktop entry, Claude Code commands, hooks); Serena docs: Configuration (agent interfaces, trusted projects, contexts, modes, data folders); Serena docs: Security Considerations (trust assumptions, REPL limits, read_only, network services, sandboxing); Serena docs: Tools and APIs (full tool list and REPL facades); Serena docs: The Dashboard (local web app, port 24282, opening behaviour); Serena docs: Privacy Policy (usage data fields, SERENA_USAGE_REPORTING opt-out); oraios/serena LICENSE (per-component licensing, GPL-3.0-or-later since v2, MIT cutoff v1.7.0); Serena global configuration template (agent_interface: REPL default, dashboard, excluded_tools, trusted projects); Serena project configuration template (read_only, activation_command, excluded_tools); Serena source: agent.py (read_only removes editing tools, usage report endpoint and opt-out); Serena CHANGELOG (v2.0.0 licence change and REPL, v2.1.0 registry manifest fix); PyPI: serena-agent

Grade B: Not tested yet (sources checked). Re-review is due by 2027-02-16. Config entries, credential names and package status can change upstream; verify against the source repository before granting an agent access.

Sources

Related guides

All MCP servers →