Serena is an MCP server that gives coding agents semantic code retrieval, editing, refactoring, debugging, and memory tools at the symbol level. It connects to clients via MCP and uses either language servers or a JetBrains IDE backend for code analysis.
From the registry: A powerful toolkit for coding, providing semantic retrieval and editing capabilities.
$ uv tool install -p 3.13 serena-agent$ serena initPlease install the `serena` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install uv** — Serena is managed by uv; installing uv is the only required prerequisite. (https://docs.astral.sh/uv/getting-started/installation/)
- **Install Serena CLI** — Install the Serena command-line tool so the `serena` executable is available in your shell. Run: `uv tool install -p 3.13 serena-agent`
- **Initialize Serena** — Run Serena's initialization step to verify setup and configure the default backend. Use `serena init -b JetBrains` if you want the JetBrains backend instead of the default language server backend. Run: `serena init`
Optional prerequisites:
- Optional language-specific dependencies — When using the language server backend, additional dependencies may be needed for some programming languages. (https://oraios.github.io/serena/01-about/020_programming-languages.html)
Canonical MCP server config (stdio transport):
- command: `serena`
- args: []
Note: The README explicitly recommends installing Serena via uv and then configuring clients to launch the `serena` command. It also mentions an HTTP mode exists, but does not provide a concrete URL shape or startup command in this README, so only stdio can be extracted confidently.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.AI orchestration with hive-mind swarms, neural networks, and 87 MCP tools for enterprise dev.
Persistent codebase knowledge graph. Survives session restarts and context compaction.
MCP Toolbox for Databases enables your agent to connect to your database.