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
+35-1Lines changed: 35 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,12 @@ To use this server with the [Claude Desktop app](https://claude.ai/download), ad
30
30
31
31
After updating the config, restart Claude Desktop.
32
32
33
+
## Manual configuration for Cursor
34
+
35
+
This MCP can also be used in cursor with a similar configuration from above added to your [Cursor](https://www.cursor.com/) global environment or to individual projects.
@@ -103,4 +109,32 @@ This MCP provides the following tools for interacting with DevHub CMS:
103
109
104
110
## Usage with LLMs
105
111
106
-
This MCP is designed to be used with Large Language Models that support the Model Context Protocol. It allows LLMs to manage content in DevHub CMS without needing direct API access integrated into the LLM natively.
112
+
This MCP is designed to be used with Large Language Models that support the Model Context Protocol. It allows LLMs to manage content in DevHub CMS without needing direct API access integrated into the LLM natively.
113
+
114
+
## Testing
115
+
116
+
This package includes a test suite with mocked requests to the DevHub API, allowing you to test the functionality without making actual API calls.
117
+
118
+
### Running Tests
119
+
120
+
To run the tests, first install the package with test dependencies:
121
+
122
+
```bash
123
+
uv pip install -e ".[test]"
124
+
```
125
+
126
+
Run the tests with pytest:
127
+
128
+
```bash
129
+
pytest
130
+
```
131
+
132
+
For more detailed output and test coverage information:
133
+
134
+
```bash
135
+
pytest -v --cov=devhub_cms_mcp
136
+
```
137
+
138
+
### Test Structure
139
+
140
+
-`tests/devhub_cms_mcp/test_mcp_integration.py`: Tests for MCP integration endpoints
0 commit comments