# Serena MCP: the IDE for your agent

> Serena MCP: the IDE for your agent is an open-source MCP server for developer tools. MCP toolkit giving coding agents symbol-level code retrieval and editing. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Platforms:** CLI, self-hosted, vscode, jetbrains
- **Website:** https://oraios.github.io/serena
- **Repository:** https://github.com/oraios/serena
- **GitHub stars:** 31,454
- **MCP Registry name:** io.github.oraios/serena
- **Categories:** developer tools
- **Listing updated:** 2026-11-14

## About

Serena gives a coding agent IDE-like tools: semantic code retrieval, editing, refactoring and debugging that work at the symbol level rather than with line numbers or plain text search.

It connects to any client or model through MCP, including terminal clients, IDE plugins and desktop apps. You either give the client a launch command or run Serena in HTTP mode and supply the URL. A language model is still needed to orchestrate the tools.

It is aimed at developers working in larger or multi-language codebases with AI agents.

## Features

- **Symbol-level tools:** Retrieval and editing based on code structure.
- **Refactoring support:** Cross-file renames and moves in single calls.
- **Client-agnostic:** Works with any MCP-capable client or LLM.
- **Two connection modes:** Launch command or HTTP mode.
- **Language support:** Covers many languages through semantic analysis.

## Good for

- Rename symbols across files
- Navigate references in a monorepo
- Refactor large codebases with an agent
- Add semantic tools to an existing client

## Install

### Claude Code (Terminal)

```sh
claude mcp add serena -- uvx serena-agent
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "serena-agent"
      ]
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "serena-agent"
      ]
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "serena": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "serena-agent"
      ]
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "serena-agent"
      ]
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "serena": {
      "command": "uvx",
      "args": [
        "serena-agent"
      ]
    }
  }
}
```

## FAQ

### How do I connect it?

Give your client a launch command or start Serena in HTTP mode and provide the URL.

### Which clients work?

Terminal clients, IDE plugins and desktop or web clients that support MCP.

### Does it include a model?

No, an LLM is needed to orchestrate the tools.

### Is Serena MCP: the IDE for your agent free?

Yes. Serena MCP: the IDE for your agent is open source, so you can use and self-host it for free.

### How do I add Serena MCP: the IDE for your agent to Claude Code?

Run this command in your terminal: claude mcp add serena -- uvx serena-agent

### What are the best alternatives to Serena MCP: the IDE for your agent?

The closest alternatives to Serena MCP: the IDE for your agent are REA, Codebase Memory, GitHub, XERJ and Ouroboros.

## Alternatives

- [REA](https://ai-powered.com/mcp/rea): REA is an open-source MCP server for developer tools.
- [Codebase Memory](https://ai-powered.com/mcp/codebase-memory): Codebase Memory is an open-source MCP server for knowledge and memory.
- [GitHub](https://ai-powered.com/mcp/github-2): GitHub is an open-source MCP server for developer tools.
- [XERJ](https://ai-powered.com/mcp/xerj): XERJ is an open-source MCP server for knowledge and memory.
- [Ouroboros](https://ai-powered.com/mcp/ouroboros): Ouroboros is an open-source MCP server for developer tools.
- [Claude Code Ultimate Guide](https://ai-powered.com/mcp/claude-code-ultimate-guide): Claude Code Ultimate Guide is an open-source MCP server for ai models and llm tooling.
- [Concord MCP](https://ai-powered.com/mcp/concord-mcp): Concord MCP is a freemium MCP server for developer tools.
- [Solana MCP by Vybe](https://ai-powered.com/mcp/solana-mcp-by-vybe): Solana MCP by Vybe is an MCP server for finance and payments.

---
Source: https://ai-powered.com/mcp/serena-mcp-the-ide-for-your-agent
