serena
by oraios
Overview
AI Agent framework for interacting with code via Language Servers, facilitating automated development tasks and comprehensive code analysis.
Installation
uv run --directory [SERENA_REPO_PATH] serena-mcp-server [YOUR_PROJECT_SERENA_CONFIG_PATH]Environment Variables
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- MATLAB_PATH
- PP
- FPCDIR
- MIX_ENV
- MIX_TARGET
- JAVA_HOME
- NIX_PATH
Security Notes
The system is designed to allow an AI agent to execute arbitrary shell commands (via `ExecuteShellCommandTool`) and download/run external binaries (language servers via `requests.get` and `subprocess.Popen`). This grants significant privileges and requires strong trust in the AI's directives. While these actions are central to its function as a coding agent, they represent a high-risk capability if the AI is compromised or misbehaves.
Similar Servers
mcp-language-server
Serves as an MCP (Model Context Protocol) gateway, enabling LLMs to interact with Language Servers (LSPs) for codebase navigation, semantic analysis, and code editing operations.
chunkhound
Provides local-first codebase intelligence, extracting architecture, patterns, and institutional knowledge for AI assistants.
cclsp
Integrate LLM-based coding agents with Language Server Protocol (LSP) servers to enable robust code navigation, symbol resolution, and refactoring across various programming languages.
sentry-mcp
A middleware server designed to optimize Sentry API access for human-in-the-loop coding agents, focusing on developer workflows and debugging use cases.