mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-14 06:17:58 +00:00
Readme, docs: clarified config file creation and JB plugin role
Also added a sentence on using with the Codex app
This commit is contained in:
1 parent
66cb41a66a
commit
0e229586dc
3 files changed
+33
-8
No files matched your search
@@ -1,7 +1,11 @@
|
||||
# The Serena JetBrains Plugin
|
||||
|
||||
The [JetBrains Plugin](https://plugins.jetbrains.com/plugin/28946-serena/) allows Serena to
|
||||
The [JetBrains Plugin](https://plugins.jetbrains.com/plugin/28946-serena/) allows the Serena MCP server to
|
||||
leverage the powerful code analysis and editing capabilities of your JetBrains IDE.
|
||||
This page explains how to install the plugin and how to configure Serena for using it.
|
||||
You will still need to set up the Serena MCP server
|
||||
itself, so make sure to follow the [installation instructions](020_running.md) and connect the MCP server to your
|
||||
LLM-based client as described in [client setup](030_clients.md) in addition to following the instructions below.
|
||||
|
||||
```{raw} html
|
||||
<p>
|
||||
@@ -61,9 +65,18 @@ After installing the plugin, you need to configure Serena to use it.
|
||||
|
||||
**Central Configuration**.
|
||||
|
||||
Edit the global Serena configuration file located at `~/.serena/serena_config.yml`
|
||||
If you ever executed Serena before, you will have the global Serena configuration file located at `~/.serena/serena_config.yml`
|
||||
(`%USERPROFILE%\.serena\serena_config.yml` on Windows).
|
||||
Change the `language_backend` setting as follows:
|
||||
|
||||
If the configuration file does not exist, run
|
||||
|
||||
```shell
|
||||
uvx -p 3.13 --from git+https://github.com/oraios/serena serena start-mcp-server
|
||||
```
|
||||
|
||||
(see [running Serena](020_running.md) for alternative options) to install all dependencies and create configuration files. Terminate the server with `Ctrl+C` after it has started.
|
||||
|
||||
In your configuration, change the `language_backend` setting as follows:
|
||||
|
||||
```yaml
|
||||
language_backend: JetBrains
|
||||
|
||||
@@ -147,7 +147,7 @@ While serena can be directly installed from the GitHub MCP server registry, we r
|
||||
|
||||
## Codex
|
||||
|
||||
Serena works with OpenAI's Codex CLI out of the box, but you have to use the `codex` context for it to work properly. (The technical reason is that Codex doesn't fully support the MCP specifications, so some massaging of tools is required.).
|
||||
Serena works with OpenAI's Codex CLI and app out of the box, but you have to use the `codex` context for it to work properly. (The technical reason is that Codex doesn't fully support the MCP specifications, so some massaging of tools is required.).
|
||||
|
||||
Add a [run command](020_running) to `~/.codex/config.toml` to configure Serena for all Codex sessions;
|
||||
create the file if it does not exist.
|
||||
@@ -162,6 +162,12 @@ args = ["-p", "3.13", "--from", "git+https://github.com/oraios/serena", "serena"
|
||||
|
||||
The larger startup timeout is to permit uvx to download the necessary dependencies. Once downloaded, the startup time is much faster.
|
||||
|
||||
:::{note}
|
||||
The codex app does not start a session in the project's directory, so when using the app, you will have to
|
||||
ask Codex to "Activate the current dir as project using serena" at the start of each session.
|
||||
This is not necessary when using the codex CLI.
|
||||
:::
|
||||
|
||||
:::{attention}
|
||||
Codex currently ignores the [instructions](https://blog.modelcontextprotocol.io/posts/2025-11-03-using-server-instructions/)
|
||||
property of MCP servers, so it is recommended to prompt the agent to
|
||||
|
||||
Reference in new issue
Block a user