$ timeahead.in
/ servers/pypi/serena-agent
pypi

serena-agent

A powerful MCP toolkit for coding, providing semantic retrieval and editing capabilities - the IDE for your agent

25k stars18k/wkupdated 0d agogithub ↗
91excellent
▣ Overview

What it does

Serena provides semantic code retrieval, editing, refactoring, and debugging capabilities through the Model Context Protocol. It operates at the symbol level using language servers (LSP) or the JetBrains plugin backend, offering IDE-like precision for code manipulation rather than relying on line numbers or text patterns. This symbol-aware approach enables agents to perform cross-file renames, trace references, and refactor complex codebases with the understanding a developer would expect from an IDE.

Who it's for

AI agents integrated into coding environments like Claude Code, Codex, Copilot, or JetBrains IDEs. It's most valuable when the agent needs to understand and modify larger or more complex codebases where symbol-level semantics matter—refactoring that would otherwise require careful manual steps collapses into atomic operations.

Common use cases

  • Cross-file symbol renames and moves that preserve code semantics across an entire codebase
  • Finding and updating all references to a function or class definition
  • Navigating monorepo dependencies and performing refactorings that span module boundaries
  • Tracing code flow through semantic relationships rather than text patterns

Setup pitfalls

  • The README explicitly warns against installing via MCP marketplaces, which contain outdated commands; use pip install serena-agent directly instead
  • Requires a working language server installation for your target languages or a JetBrains IDE with the paid plugin; language servers are free but must be separately installed
  • Reads and writes the filesystem—ensure it runs in a controlled environment if analyzing untrusted or sensitive code
  • In HTTP mode, requires manual server startup and a stable connection between the client and Serena server
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
91
18.2
Quality
10%
80
8.0
Trust
10%
50
5.0
Total
91.2
⚿ Capabilities & Risk Explainer
fs readfs writenetworkexecsecrets
◆ Risk level: high
fs read + fs write + network + exec + secrets active — can execute code, access credentials, and make external network calls.
⚙ Install config
Claude Desktop · Cursor · Windsurf · VS Code (Copilot) · Claude Code
add to your MCP client config:
{
  "mcpServers": {
    "serena-agent": {
      "command": "uvx",
      "args": [
        "serena-agent"
      ]
    }
  }
}
📈 Score historylast 27 snapshots
5/10/20266/6/2026 · 27 snapshots
⚙ Maintenance health
71/ 100 · is this project alive?
contributors (1y)83
top contributor share54%
releases (1y)12
last release10d ago
ci✓ passing
⛁ Raw data
weekly downloads18k
github stars25k
forks2k
open issues113
license✓ present
readme length14391 chars
last publish0d ago
last commit0d ago
last updated6h ago
install verified✓ pass · 19d ago
owner of this server? claim your listing to get a verified badgeclaim →
🔔 Score drop alerts
get notified by email when this server's score drops 5+ points