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: README.md
+13-18Lines changed: 13 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,11 +4,6 @@
4
4
5
5
6
6
7
-
> [!NOTE]
8
-
> This project is in alpha state.
9
-
10
-
11
-
12
7
## About This Project
13
8
14
9
A Model Context Protocol (MCP) server for the [SAP Cloud Application Programming Model (CAP)](https://cap.cloud.sap).
@@ -48,13 +43,7 @@ See [Getting Started](https://cap.cloud.sap/docs/get-started) on how to jumpstar
48
43
49
44
## Setup
50
45
51
-
```sh
52
-
npm i -g @cap-js/mcp-server
53
-
```
54
-
55
-
This will provide the command `cds-mcp` to start the CAP MCP server.
56
-
57
-
Configure your MCP client (Cline, opencode, Claude Code, GitHub Copilot, etc.) to start the server using the `cds-mcp` command.
46
+
Configure your MCP client (Cline, opencode, Claude Code, GitHub Copilot, etc.) to start the server using the command `npx -y @cap-js/mcp-server` as in the following examples.
58
47
59
48
### Usage in VS Code
60
49
@@ -63,8 +52,8 @@ Example for VS Code extension [Cline](https://marketplace.visualstudio.com/items
63
52
{
64
53
"mcpServers": {
65
54
"cds-mcp": {
66
-
"command": "cds-mcp",
67
-
"args": [],
55
+
"command": "npx",
56
+
"args": ["-y", "@cap-js/mcp-server"],
68
57
"env": {}
69
58
}
70
59
}
@@ -77,8 +66,8 @@ Example for VS Code global [mcp.json](https://code.visualstudio.com/docs/copilot
77
66
{
78
67
"servers": {
79
68
"cds-mcp": {
80
-
"command": "cds-mcp",
81
-
"args": [],
69
+
"command": "npx",
70
+
"args": ["-y", "@cap-js/mcp-server"],
82
71
"env": {},
83
72
"type": "stdio"
84
73
},
@@ -97,7 +86,7 @@ Example for [opencode](https://github.com/sst/opencode):
97
86
"mcp": {
98
87
"cds-mcp": {
99
88
"type": "local",
100
-
"command": ["cds-mcp"],
89
+
"command": ["npx", "-y", "@cap-js/mcp-server"],
101
90
"enabled": true
102
91
}
103
92
}
@@ -117,7 +106,13 @@ Add these rules to your existing global or project-specific [`AGENTS.md`](https:
117
106
118
107
### CLI Usage
119
108
120
-
For experimental purposes, you can also use the tools directly from the command line:
109
+
You can also use the tools directly from the command line.
110
+
111
+
```sh
112
+
npm i -g @cap-js/mcp-server
113
+
```
114
+
115
+
This will provide the command `cds-mcp`, with which you can invoke the tools directly as follows.
0 commit comments