Skip to content

Commit a46ed27

Browse files
committed
docs: update readme adding a section about how to setup Cursor
Signed-off-by: Rai Siqueira <rai93siqueira@gmail.com>
1 parent 914f3d8 commit a46ed27

3 files changed

Lines changed: 31 additions & 3 deletions

File tree

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ A Model Context Protocol (MCP) server for Django applications, inspired by [Lara
1313
- [For Development](#for-development)
1414
- [Usage](#usage)
1515
- [AI Tools Setup](#ai-tools-setup)
16+
- [Cursor](#cursor)
1617
- [Claude Desktop](#claude-desktop)
1718
- [Claude Code (VS Code)](#claude-code-vs-code-extension)
1819
- [OpenAI ChatGPT Desktop](#openai-chatgpt-desktop-with-mcp)
@@ -104,6 +105,33 @@ django-ai-boost --settings myproject.settings --transport sse
104105

105106
## AI Tools Setup
106107

108+
### Cursor
109+
110+
[Cursor](https://cursor.com/) is a popular AI-powered code editor with built-in MCP support.
111+
112+
1. Open Cursor Settings (Cmd/Ctrl + Shift + J)
113+
2. Navigate to the "Tools & MCP" section
114+
3. Add the Django AI Boost server configuration:
115+
116+
```json
117+
{
118+
"mcpServers": {
119+
"django-ai-boost": {
120+
"command": "django-ai-boost",
121+
"args": ["--settings", "myproject.settings"],
122+
"env": {
123+
"DJANGO_SETTINGS_MODULE": "myproject.settings",
124+
"PYTHONPATH": "/path/to/your/django/project"
125+
}
126+
}
127+
}
128+
}
129+
```
130+
131+
**Note**: Replace `/path/to/your/django/project` with the actual path to your Django project root directory.
132+
133+
For more information, see the [Cursor MCP documentation](https://cursor.com/docs/context/mcp).
134+
107135
### Claude Desktop
108136

109137
Add to your Claude Desktop configuration:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "django-ai-boost"
3-
version = "0.3.0"
3+
version = "0.3.1"
44
description = "A Model Context Protocol (MCP) server for Django applications, inspired by Laravel Boost"
55
readme = "README.md"
66
authors = [

server.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
"url": "https://github.com/vintasoftware/django-ai-boost",
77
"source": "github"
88
},
9-
"version": "0.3.0",
9+
"version": "0.3.1",
1010
"packages": [
1111
{
1212
"registryType": "pypi",
1313
"identifier": "django-ai-boost",
14-
"version": "0.3.0",
14+
"version": "0.3.1",
1515
"transport": {
1616
"type": "stdio"
1717
},

0 commit comments

Comments
 (0)