Loading...
uvx --from git+https://github.com/oraios/serena serena start-mcp-server --help{
"mcpServers": {
"serena": {
"command": "/abs/path/to/uv",
"args": ["run", "--directory", "/abs/path/to/serena", "serena-mcp-server"]
}
}
}find_symbolFinds a code symbol (e.g., function, class) within the codebase.
Read-only operation; no code modification.
find_referencing_symbolsFinds all symbols that reference a given symbol.
Read-only operation; no code modification.
insert_after_symbolInserts code after a specified symbol.
Modifies code by inserting new content.
Serena's safety depends on the configuration and the LLM using it. It's relatively safe for read-only operations and code analysis. However, code modification capabilities introduce risks, especially if the LLM is not properly controlled or the underlying language servers have vulnerabilities.