$ 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

26k stars22k/wkupdated 1d agogithub ↗
91excellent
▣ Overview

What it does

Serena provides semantic code retrieval, editing, refactoring, and debugging tools designed specifically for AI agents working with source code. Operating at the symbol level rather than line numbers or text patterns, it enables cross-file renames, reference lookups, and intelligent code navigation. Serena integrates with LLM clients via the Model Context Protocol (MCP) and can be backed by language servers (LSP, open-source, default) or a JetBrains IDE plugin (paid, optional). It supports multiple programming languages and scales efficiently across large and complex codebases.

Who it's for

Developers deploying coding AI agents that need semantic understanding of codebases, and LLM client users (Claude Code, Copilot, Codex, etc.) who want their agents to perform IDE-level code operations safely and accurately.

Common use cases

  • Cross-file symbol renames and refactors that preserve references across a codebase.
  • Symbol-aware code navigation and reference lookups in large projects.
  • Semantic search and editing workflows grounded in language syntax, not regex.
  • Monorepo dependency navigation and symbol tracking across package boundaries.
  • Refactoring and debugging tasks that require understanding code structure, not just text.

Setup pitfalls

  • Do not install via MCP or plugin marketplaces—they contain outdated install commands. Use pip install serena-agent and follow official Quick Start instructions.
  • Requires a backend: free LSP language servers (default) or the paid JetBrains plugin (free trial available). LSP support may vary by language.
  • Needs explicit MCP client configuration: either a launch command or HTTP server setup. Misconfigured clients cannot reach the server.
  • High risk class—reads and writes filesystem, makes network calls. Restrict directory access and network destinations appropriate to your codebase and threat model.
▣ Score BreakdownMCPScore = Σ(raw × weight)
DimensionRawWeighted
Security
35%
100
35.0
Freshness
25%
100
25.0
Adoption
20%
92
18.4
Quality
10%
80
8.0
Trust
10%
50
5.0
Total
91.4
⚿ 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 40 snapshots
5/10/20266/21/2026 · 40 snapshots
⚙ Maintenance health
71/ 100 · is this project alive?
contributors (1y)85
top contributor share53%
releases (1y)12
last release25d ago
ci✓ passing
⛁ Raw data
weekly downloads22k
github stars26k
forks2k
open issues131
license✓ present
readme length14391 chars
last publish0d ago
last commit1d ago
last updated7d ago
install verified✓ pass · 41d 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