@vasperacapital/vaspera-mcp-server 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +182 -0
- package/dist/cli.d.ts +1 -0
- package/dist/cli.js +3102 -0
- package/dist/cli.js.map +1 -0
- package/dist/server.d.ts +3 -0
- package/dist/{index.js → server.js} +17 -13
- package/dist/server.js.map +1 -0
- package/package.json +6 -5
- package/src/cli.ts +315 -0
- package/src/middleware/auth.ts +1 -1
- package/src/middleware/rate-limit.ts +1 -1
- package/src/{index.ts → server.ts} +14 -9
- package/tsup.config.ts +5 -4
- package/dist/index.d.ts +0 -2
- package/dist/index.js.map +0 -1
package/README.md
ADDED
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
# VasperaPM
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
╔═══════════════════════════════════════════════════════════════╗
|
|
7
|
+
║ ║
|
|
8
|
+
║ ██╗ ██╗ █████╗ ███████╗██████╗ ███████╗██████╗ █████╗ ║
|
|
9
|
+
║ ██║ ██║██╔══██╗██╔════╝██╔══██╗██╔════╝██╔══██╗██╔══██╗ ║
|
|
10
|
+
║ ██║ ██║███████║███████╗██████╔╝█████╗ ██████╔╝███████║ ║
|
|
11
|
+
║ ╚██╗ ██╔╝██╔══██║╚════██║██╔═══╝ ██╔══╝ ██╔══██╗██╔══██║ ║
|
|
12
|
+
║ ╚████╔╝ ██║ ██║███████║██║ ███████╗██║ ██║██║ ██║ ║
|
|
13
|
+
║ ╚═══╝ ╚═╝ ╚═╝╚══════╝╚═╝ ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝ ║
|
|
14
|
+
║ ║
|
|
15
|
+
║ AI-Powered Product Management ║
|
|
16
|
+
║ ║
|
|
17
|
+
╚═══════════════════════════════════════════════════════════════╝
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
**Transform your ideas into production-ready specs with AI**
|
|
21
|
+
|
|
22
|
+
[](https://www.npmjs.com/package/@vasperacapital/vaspera-mcp-server)
|
|
23
|
+
[](https://opensource.org/licenses/MIT)
|
|
24
|
+
|
|
25
|
+
</div>
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## What is VasperaPM?
|
|
30
|
+
|
|
31
|
+
VasperaPM is an MCP (Model Context Protocol) server that brings AI-powered product management tools directly into Claude Code. Generate PRDs, API specs, test cases, and sync with your favorite PM tools - all from your IDE.
|
|
32
|
+
|
|
33
|
+
### Key Features
|
|
34
|
+
|
|
35
|
+
- **Generate PRDs** - Create comprehensive Product Requirements Documents from context
|
|
36
|
+
- **Infer from Code** - Analyze existing codebases to generate documentation
|
|
37
|
+
- **Generate Code** - Turn PRDs into implementation code
|
|
38
|
+
- **API Specs** - Auto-generate OpenAPI/Swagger specifications
|
|
39
|
+
- **Test Cases** - Create detailed test plans and acceptance criteria
|
|
40
|
+
- **PM Tool Sync** - Export to Jira, Linear, and GitHub
|
|
41
|
+
|
|
42
|
+
---
|
|
43
|
+
|
|
44
|
+
## Quick Start
|
|
45
|
+
|
|
46
|
+
### 1. Install
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
npm install -g @vasperacapital/vaspera-mcp-server
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
### 2. Set Up
|
|
53
|
+
|
|
54
|
+
```bash
|
|
55
|
+
vasperapm install
|
|
56
|
+
```
|
|
57
|
+
|
|
58
|
+
This will:
|
|
59
|
+
- Configure Claude Code to use VasperaPM
|
|
60
|
+
- Set up your API key (optional for test mode)
|
|
61
|
+
- Show you the available tools
|
|
62
|
+
|
|
63
|
+
### 3. Restart Claude Code
|
|
64
|
+
|
|
65
|
+
After installation, restart VSCode or Claude Code to load the MCP server.
|
|
66
|
+
|
|
67
|
+
### 4. Start Using
|
|
68
|
+
|
|
69
|
+
In Claude Code, try:
|
|
70
|
+
- "Generate a PRD for a user authentication system"
|
|
71
|
+
- "Analyze this codebase and create a PRD"
|
|
72
|
+
- "Generate test cases for this feature"
|
|
73
|
+
|
|
74
|
+
---
|
|
75
|
+
|
|
76
|
+
## Commands
|
|
77
|
+
|
|
78
|
+
| Command | Description |
|
|
79
|
+
|---------|-------------|
|
|
80
|
+
| `vasperapm install` | Configure VasperaPM with Claude Code |
|
|
81
|
+
| `vasperapm connect` | Set up your API key and integrations |
|
|
82
|
+
| `vasperapm status` | Check your current configuration |
|
|
83
|
+
| `vasperapm serve` | Start the MCP server (used by Claude Code) |
|
|
84
|
+
| `vasperapm help` | Show help message |
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Available Tools
|
|
89
|
+
|
|
90
|
+
Once installed, these tools are available in Claude Code:
|
|
91
|
+
|
|
92
|
+
### PRD Tools
|
|
93
|
+
| Tool | Description |
|
|
94
|
+
|------|-------------|
|
|
95
|
+
| `generate_prd` | Generate a PRD from description and context |
|
|
96
|
+
| `infer_prd_from_code` | Analyze code to generate a PRD |
|
|
97
|
+
| `generate_code_from_prd` | Generate implementation from PRD |
|
|
98
|
+
| `expand_prd_section` | Expand a specific section of a PRD |
|
|
99
|
+
| `validate_prd` | Validate PRD completeness and quality |
|
|
100
|
+
|
|
101
|
+
### Integration Tools
|
|
102
|
+
| Tool | Description |
|
|
103
|
+
|------|-------------|
|
|
104
|
+
| `sync_jira` | Export PRD to Jira epics and stories |
|
|
105
|
+
| `sync_linear` | Export PRD to Linear projects |
|
|
106
|
+
| `sync_github` | Create GitHub issues from PRD |
|
|
107
|
+
|
|
108
|
+
### Specification Tools
|
|
109
|
+
| Tool | Description |
|
|
110
|
+
|------|-------------|
|
|
111
|
+
| `generate_api_spec` | Generate OpenAPI specification |
|
|
112
|
+
| `generate_test_cases` | Create test plans and cases |
|
|
113
|
+
| `generate_user_stories` | Create user stories from PRD |
|
|
114
|
+
|
|
115
|
+
### Utility Tools
|
|
116
|
+
| Tool | Description |
|
|
117
|
+
|------|-------------|
|
|
118
|
+
| `list_templates` | List available PRD templates |
|
|
119
|
+
| `get_template` | Get a specific template |
|
|
120
|
+
| `estimate_effort` | Estimate implementation effort |
|
|
121
|
+
|
|
122
|
+
---
|
|
123
|
+
|
|
124
|
+
## API Key
|
|
125
|
+
|
|
126
|
+
### Free Tier (Test Mode)
|
|
127
|
+
Run `vasperapm install` without an API key to use test mode. This provides:
|
|
128
|
+
- 5 API calls per month
|
|
129
|
+
- Basic tool access
|
|
130
|
+
- Local storage only
|
|
131
|
+
|
|
132
|
+
### Production Mode
|
|
133
|
+
Get your API key at [vasperapm.com/dashboard](https://vasperapm.com/dashboard) for:
|
|
134
|
+
- Higher rate limits
|
|
135
|
+
- Full tool access
|
|
136
|
+
- Cloud sync
|
|
137
|
+
- Jira/Linear/GitHub integrations
|
|
138
|
+
|
|
139
|
+
---
|
|
140
|
+
|
|
141
|
+
## Configuration
|
|
142
|
+
|
|
143
|
+
VasperaPM stores configuration in:
|
|
144
|
+
- `~/.vasperapm/config.json` - Your API key and settings
|
|
145
|
+
- `~/.claude/claude_desktop_config.json` - Claude Code integration
|
|
146
|
+
|
|
147
|
+
---
|
|
148
|
+
|
|
149
|
+
## Integrations
|
|
150
|
+
|
|
151
|
+
Connect your PM tools at [vasperapm.com/dashboard/integrations](https://vasperapm.com/dashboard/integrations):
|
|
152
|
+
|
|
153
|
+
- **Jira** - Sync PRDs to epics and stories
|
|
154
|
+
- **Linear** - Export tasks to Linear projects
|
|
155
|
+
- **GitHub** - Create issues and track progress
|
|
156
|
+
|
|
157
|
+
---
|
|
158
|
+
|
|
159
|
+
## Requirements
|
|
160
|
+
|
|
161
|
+
- Node.js 20+
|
|
162
|
+
- Claude Code (VSCode extension or CLI)
|
|
163
|
+
|
|
164
|
+
---
|
|
165
|
+
|
|
166
|
+
## Support
|
|
167
|
+
|
|
168
|
+
- **Documentation**: [github.com/rcolkitt/VasperaPM](https://github.com/rcolkitt/VasperaPM)
|
|
169
|
+
- **Issues**: [github.com/rcolkitt/VasperaPM/issues](https://github.com/rcolkitt/VasperaPM/issues)
|
|
170
|
+
- **Dashboard**: [vasperapm.com/dashboard](https://vasperapm.com/dashboard)
|
|
171
|
+
|
|
172
|
+
---
|
|
173
|
+
|
|
174
|
+
## License
|
|
175
|
+
|
|
176
|
+
MIT License - see [LICENSE](LICENSE) for details.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
<div align="center">
|
|
181
|
+
Made with by <a href="https://github.com/rcolkitt">@rcolkitt</a>
|
|
182
|
+
</div>
|
package/dist/cli.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
#!/usr/bin/env node
|