mirror of
https://github.com/tiennm99/serena.git
synced 2026-10-15 08:17:15 +00:00
Merge branch 'main' into prepare-v1
Conflicts: src/serena/resources/serena_config.template.yml
This commit is contained in:
commit
d8d1cb113f
16 files changed
+510
-67
No files matched your search
@@ -157,6 +157,7 @@ to get a list of all available options.
|
||||
Some useful options include:
|
||||
|
||||
* `--project <path|name>`: specify the project to work on by name or path.
|
||||
* `--project-from-cwd`: auto-detect project from current working directory (searches up for `.serena/project.yml` or `.git`, falls back to CWD). Intended only for CLI-based agents like Claude Code, Gemini and Codex.
|
||||
* `--context <context>`: specify the operation [context](contexts) in which Serena shall operate
|
||||
* `--mode <mode>`: specify one or more [modes](modes) to enable (can be passed several times)
|
||||
* `--enable-web-dashboard <true|false>`: enable or disable the web dashboard (enabled by default)
|
||||
@@ -234,4 +235,4 @@ Here are some examples of commands you might find useful:
|
||||
<serena> prompts edit-override prompt-name
|
||||
```
|
||||
|
||||
Explore the full set of commands and options using the CLI itself!
|
||||
Explore the full set of commands and options using the CLI itself!
|
||||
@@ -88,6 +88,18 @@ Note:
|
||||
that Serena is configured to work on the current project from the get-go, following
|
||||
Claude Code's mode of operation.
|
||||
|
||||
Alternatively, use `--project-from-cwd` for user-level configuration that works across all projects:
|
||||
|
||||
```shell
|
||||
claude mcp add --scope user serena -- <serena> start-mcp-server --context=claude-code --project-from-cwd
|
||||
```
|
||||
|
||||
This searches up from the current directory for `.serena/project.yml` or `.git` markers,
|
||||
falling back to the current directory if neither is found. This makes it suitable for a
|
||||
single global MCP configuration. The `--project-from-cwd` option is intended for CLI-based agents
|
||||
(like Claude Code, Gemina or Codex) that invoke Serena from within project directories.
|
||||
|
||||
Be sure to use at least `v1.0.52` of Claude Code (as earlier versions do not read MCP server system prompts upon startup).
|
||||
|
||||
### VSCode
|
||||
|
||||
|
||||
Reference in new issue
Block a user