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
To use the CAP MCP server, install the npm package `@cap-js/mcp-server` globally:
41
+
40
42
```sh
41
-
npm i -g @cap-js/mcp-server
42
-
```
43
+
npm i -g @cap-js/mcp-server # provides the cds-mcp command
43
44
44
-
This will provide the command `cds-mcp` to start the CAP MCP server.
45
+
cds-mcp # starts the CAP MCP Server
46
+
```
45
47
46
48
## Usage
47
49
48
-
Configure your MCP client (Claude Code, opencode, etc.) to start the server with command `cds-mcp`.
50
+
Configure your MCP client (Claude Code, opencode, and so on) to start the server with command `cds-mcp`.
49
51
50
52
Example for opencode:
51
53
@@ -99,19 +101,19 @@ The fuzzy search algorithm matches definition names and allows for partial match
99
101
100
102
This tool uses vector embeddings to search through preprocessed CAP documentation content stored locally. The process works as follows:
101
103
102
-
1.**Pre-processing**: CAP documentation is chunked into semantic sections and converted to vector embeddings using a local embedding model
103
-
2.**Query processing**: Your search query is also converted to an embedding vector
104
-
3.**Similarity search**: The system finds documentation chunks with the highest semantic similarity to your query
104
+
1.**Pre-processing**: CAP documentation is chunked into semantic sections and converted to vector embeddings using a local embedding model.
105
+
2.**Query processing**: Your search query is also converted to an embedding vector.
106
+
3.**Similarity search**: The system finds documentation chunks with the highest semantic similarity to your query.
105
107
106
108
This approach enables semantic search - you can find relevant documentation even when your query doesn't contain exact keywords from the docs.
107
109
108
110
## Support, Feedback, Contributing
109
111
110
-
This project is open to feature requests/suggestions, bug reports etc. via [GitHub issues](https://github.com/cap-js/mcp-server/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).
112
+
This project is open to feature requests/suggestions, bug reports, and so on, via [GitHub issues](https://github.com/cap-js/mcp-server/issues). Contribution and feedback are encouraged and always welcome. For more information about how to contribute, the project structure, as well as additional contribution information, see our [Contribution Guidelines](CONTRIBUTING.md).
111
113
112
114
## Security / Disclosure
113
115
114
-
If you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/cap-js/mcp-server/security/policy) on how to report it. Please do not create GitHub issues for security-related doubts or problems.
116
+
If you find any bug that may be a security problem, please follow our instructions at [in our security policy](https://github.com/cap-js/mcp-server/security/policy) on how to report it. Please don't create GitHub issues for security-related doubts or problems.
115
117
116
118
## Code of Conduct
117
119
@@ -123,6 +125,6 @@ Copyright 2025 SAP SE or an SAP affiliate company and @cap-js/cds-mcp contributo
123
125
124
126
## Acknowledgments
125
127
126
-
-**onnxruntime-web** is used for creating embeddings in Node.js
127
-
-**@huggingface/transformers.js** for the reference implementation for the WordPiece tokenizer
128
-
-**@modelcontextprotocol/sdk** provides the SDK for MCP
128
+
-**onnxruntime-web** is used for creating embeddings in Node.js.
129
+
-**@huggingface/transformers.js** for the reference implementation for the WordPiece tokenizer.
130
+
-**@modelcontextprotocol/sdk** provides the SDK for MCP.
0 commit comments