Skip to content

Commit 69cd9ab

Browse files
committed
fix: usage guide
1 parent bf347d5 commit 69cd9ab

File tree

3 files changed

+61
-0
lines changed

3 files changed

+61
-0
lines changed

.cursor/mcp.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"mcpServers": {
3+
"agent-builder": {
4+
"command": "python",
5+
"args": ["-m", "framework.mcp.agent_builder_server"],
6+
"cwd": "core",
7+
"env": {
8+
"PYTHONPATH": "../tools/src"
9+
}
10+
},
11+
"tools": {
12+
"command": "python",
13+
"args": ["mcp_server.py", "--stdio"],
14+
"cwd": "tools",
15+
"env": {
16+
"PYTHONPATH": "src"
17+
}
18+
}
19+
}
20+
}

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,15 @@ PYTHONPATH=core:exports python -m your_agent_name run --input '{...}'
102102

103103
**[📖 Complete Setup Guide](ENVIRONMENT_SETUP.md)** - Detailed instructions for agent development
104104

105+
### Cursor IDE Support
106+
107+
Skills are also available in Cursor. To enable:
108+
109+
1. Open Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`)
110+
2. Run `MCP: Enable` to enable MCP servers
111+
3. Restart Cursor to load the MCP servers from `.cursor/mcp.json`
112+
4. Type `/` in Agent chat and search for skills (e.g., `/building-agents-construction`)
113+
105114
## Features
106115

107116
- **Goal-Driven Development** - Define objectives in natural language; the coding agent generates the agent graph and connection code to achieve them
@@ -226,6 +235,7 @@ hive/
226235
├── docs/ # Documentation and guides
227236
├── scripts/ # Build and utility scripts
228237
├── .claude/ # Claude Code skills for building agents
238+
├── .cursor/ # Cursor IDE skills (symlinks to .claude/skills)
229239
├── ENVIRONMENT_SETUP.md # Python setup guide for agent development
230240
├── DEVELOPER.md # Developer guide
231241
├── CONTRIBUTING.md # Contribution guidelines

pr-message.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
## Summary
2+
3+
Add Cursor IDE support for existing Claude Code skills and MCP servers.
4+
5+
## Changes
6+
7+
- Created `.cursor/skills/` directory with symlinks to all 5 existing skills:
8+
- `agent-workflow`
9+
- `building-agents-core`
10+
- `building-agents-construction`
11+
- `building-agents-patterns`
12+
- `testing-agent`
13+
- Added `.cursor/mcp.json` with MCP server configuration (same as `.mcp.json`)
14+
15+
## Why symlinks for skills?
16+
17+
- Single source of truth - updates to `.claude/skills/` are reflected in both IDEs
18+
- No duplication or sync issues
19+
- Cursor automatically loads skills from `.cursor/skills/`, `.claude/skills/`, and `.codex/skills/`
20+
21+
## MCP Configuration
22+
23+
Cursor requires `.cursor/mcp.json` for project-level MCP servers. This enables:
24+
- `agent-builder` - Agent building MCP server
25+
- `tools` - Hive tools MCP server
26+
27+
## Setup in Cursor
28+
29+
1. **Enable MCP**: Open Command Palette (`Cmd+Shift+P` / `Ctrl+Shift+P`) and run `MCP: Enable`
30+
2. **Restart Cursor** to load the MCP servers from `.cursor/mcp.json`
31+
3. **Skills**: Type `/` in Agent chat and search for the skill name

0 commit comments

Comments
 (0)