Serena MCP server
Coding agent toolkit with semantic code retrieval and editing capabilities. Connect your AI agents to Serena with enterprise-grade governance, observability, and control through MintMCP Gateway.
Tools included with Serena MCP
read_file
Reads the given file or a chunk of it. Generally, symbolic operations like find_symbol or find_referencing_symbols sh...
create_text_file
Write a new file or overwrite an existing file. Returns a message indicating success or failure.
list_dir
Lists files and directories in the given directory (optionally with recursion). Returns a JSON object with the names ...
find_file
Finds non-gitignored files matching the given file mask within the given relative path. Returns a JSON object with th...
replace_content
Replaces one or more occurrences of a given pattern in a file with new content. This is the preferred way to replace...
search_for_pattern
Offers a flexible search for arbitrary patterns in the codebase, including the possibility to search in non-code file...
get_symbols_overview
Use this tool to get a high-level understanding of the code symbols in a file. This should be the first tool to call ...
find_symbol
Retrieves information on all symbols/code entities (classes, methods, etc.) based on the given name path pattern. The...
find_referencing_symbols
Finds references to the symbol at the given `name_path`. The result will contain metadata about the referencing symbo...
replace_symbol_body
Replaces the body of the symbol with the given `name_path`. The tool shall be used to replace symbol bodies that hav...
insert_after_symbol
Inserts the given body/content after the end of the definition of the given symbol (via the symbol's location). A typ...
insert_before_symbol
Inserts the given content before the beginning of the definition of the given symbol (via the symbol's location). A t...
rename_symbol
Renames the symbol with the given `name_path` to `new_name` throughout the entire codebase. Note: for languages with ...
safe_delete_symbol
Deletes the symbol if it is safe to do so (i.e., if there are no references to it) or returns a list of references to...
write_memory
Write information (utf-8-encoded) about this project that can be useful for future tasks to a memory in md format. Th...
read_memory
Reads the contents of a memory. Should only be used if the information is likely to be relevant to the current task, ...
list_memories
Lists available memories, optionally filtered by topic.
delete_memory
Delete a memory, only call if instructed explicitly or permission was granted by the user.
rename_memory
Rename or move a memory, use "/" in the name to organize into topics. The "global" topic should only be used if e...
edit_memory
Replaces content matching a regular expression in a memory.
Showing 20 of 26 tools
Works with every major client
Why MintMCP gateway
Centralized governance
Unified authentication, audit logging, and rate control for all Serena MCP connections.
One-click deployment
Instantly enable Serena MCP for AI teams via MintMCP's standardized gateway without manual server setup.
OAuth + SSO enforcement
Automatic enterprise authentication wrapping for Serena MCP endpoints.
Host stdio servers on MintMCP instead of running locally
Containerized servers become accessible to clients like ChatGPT without local installations. Better risk management and security posture without requiring users to run servers on their machines.
Observability and control
Real-time dashboards for monitoring usage, detecting anomalies, and maintaining SLA compliance.
Enterprise hardening
High availability, security, and compliance alignment transform MCP from developer utility to production-grade infrastructure.
Supports shared and per-user auth
Flexibility to configure service accounts at the admin level or enable individual OAuth flows. Secrets remain protected while users gain access, with centralized revocation capabilities.
Granular tool access control
Configure tool access by role. For example, enable read-only operations and exclude write tools like create and delete.
FAQs
Yes. MintMCP Gateway is SOC 2 compliant and uses OAuth-based authentication for all Serena MCP interactions.