You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part3/installingMcpServer.adoc
+15-11Lines changed: 15 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,49 +14,53 @@
14
14
15
15
=== Installing the Cayenne MCP Server
16
16
17
-
The MCP server is a self-contained, stdio-based process that the AI client launches on demand. It is bundled with the platform-specific CayenneModeler and requires Java 21 or later on the system `PATH`.
17
+
The MCP server is a self-contained, stdio-based process that the AI client launches on demand. It is bundled with the
18
+
platform-specific CayenneModeler and requires Java 21 or later on the system `PATH`.
18
19
19
20
==== Finding the JAR
20
21
21
-
As mentioned above, the MCP server jar is a part if the CayenneModeler download (available at https://cayenne.apache.org/download/). Its location depends on the install format:
22
+
As mentioned above, the MCP server jar is a part if the CayenneModeler download (available at
23
+
https://cayenne.apache.org/download/). Its location depends on the install format:
22
24
23
25
===== macOS
24
26
25
27
[source]
26
28
----
27
29
# <install-dir> is typically "/Applications", but it can be any other directory
The server communicates over stdio and is launched on demand by the client. In the snippets below, replace `/path/to/cayenne-mcp-server-<VERSION>.jar` with the actual jar path from the previous section.
49
+
The server communicates over stdio and is launched on demand by the client. In the snippets below, replace
50
+
`/path/to/CayenneMCPServer.jar` with the actual jar path from the previous section.
48
51
49
52
===== Claude Code
50
53
51
-
By default `claude mcp add` registers the server for the current project only. Use `--scope user` to make it available across all projects for your OS user:
54
+
By default `claude mcp add` registers the server for the current project only. Use `--scope user` to make it available
55
+
across all projects for your OS user:
52
56
53
57
[source,bash]
54
58
----
55
59
# Current project only
56
-
claude mcp add cayenne -- java -jar /path/to/cayenne-mcp-server-<VERSION>.jar
60
+
claude mcp add cayenne -- java -jar /path/to/CayenneMCPServer.jar
57
61
58
62
# All projects for the current user
59
-
claude mcp add cayenne --scope user -- java -jar /path/to/cayenne-mcp-server-<VERSION>.jar
63
+
claude mcp add cayenne --scope user -- java -jar /path/to/CayenneMCPServer.jar
60
64
----
61
65
62
66
===== Cursor
@@ -69,7 +73,7 @@ Edit `~/.cursor/mcp.json` (global, all projects) or `.cursor/mcp.json` in your p
0 commit comments