File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,37 @@ pipx install uv
2929uv sync --locked --all-extras --all-groups
3030```
3131
32+ ### Local Development
33+
34+ If you want to test your changes locally, follow these steps:
35+
36+ 1 . Add a script run-deepset-mcp.sh that uses the binary from the project's virtual env
37+
38+ ``` bash
39+ #! /usr/bin/env bash
40+ # Wrapper to run the local deepset-mcp server for Cursor MCP.
41+ # Use this as command so it doesn't depend on uv or PATH.
42+ set -e
43+ cd " $( dirname " $0 " ) "
44+ exec .venv/bin/deepset-mcp
45+ ```
46+
47+ 2 . Use it this way in Cursor:
48+
49+ ``` bash
50+ " deepset" : {
51+ " command" : " /bin/bash" ,
52+ " args" : [" /Users/*****/****/deepset-mcp-server/run-deepset-mcp.sh" ],
53+ " cwd" : " /Users/*****/****/deepset-mcp-server" ,
54+ " env" : {
55+ " DEEPSET_WORKSPACE" : " WORKSPACE" ,
56+ " DEEPSET_API_KEY" : " API_KEY"
57+ }
58+ }
59+ ```
60+
61+ Note: If you change the codebase, make sure to restart the MCP server.
62+
3263### Code Quality & Testing
3364
3465Run code quality checks and tests using the Makefile:
@@ -60,6 +91,3 @@ Documentation is built using [MkDocs](https://www.mkdocs.org/) with the Material
6091- Content: ` docs/ ` directory
6192- Auto-generated API docs via [ mkdocstrings] ( https://mkdocstrings.github.io/ )
6293- Deployed via GitHub Pages (automated via GitHub Actions on push to main branch)
63-
64-
65-
You can’t perform that action at this time.
0 commit comments