MCP server

Serena

Semantic code retrieval and editing toolkit for coding agents

Open-source coding toolkit that gives agents IDE-like symbolic navigation and editing via language servers. Supports finding symbols and references, symbol-level edits, renames and project memories across many languages. Installed with `uv tool install -p 3.13 serena-agent`.

Connect

  1. 1Add the server to Codex
    codex mcp add serena -- serena start-mcp-server --context ide

Configs are generated from the publisher's documented endpoint. Check their docs for plan requirements and scopes. New to this? Read the step-by-step tutorial.

Tools 12

find_symbolfind_referencing_symbolsget_symbols_overviewreplace_symbol_bodyinsert_after_symbolinsert_before_symbolrename_symbolsearch_for_patternread_filereplace_contentwrite_memoryread_memory

Things to ask

  • “Find all references to the UserService class”
  • “Rename the function parse_config to load_config everywhere”
  • “Give me an overview of symbols in src/api”
  • “Replace the body of the validate method”

Related