@stellisoft/stellify-mcp 0.1.0 → 0.1.1
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 +121 -65
- package/package.json +13 -3
package/README.md
CHANGED
|
@@ -1,81 +1,99 @@
|
|
|
1
1
|
# Stellify MCP Server
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
[](https://www.npmjs.com/package/@stellisoft/stellify-mcp)
|
|
4
|
+
[](https://opensource.org/licenses/MIT)
|
|
5
|
+
|
|
6
|
+
Model Context Protocol (MCP) server for [Stellify](https://stellisoft.com) - the AI-native code generation platform.
|
|
4
7
|
|
|
5
8
|
## What is This?
|
|
6
9
|
|
|
7
|
-
This MCP server lets AI assistants (like Claude) interact with your Stellify projects to build Laravel applications incrementally. Instead of generating full code files at once, AI can:
|
|
10
|
+
This MCP server lets AI assistants (like Claude Desktop) interact with your Stellify projects to build Laravel applications incrementally. Instead of generating full code files at once, AI can:
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
12
|
+
- 🏗️ Create file structures (classes, controllers, models, middleware)
|
|
13
|
+
- 📝 Add method signatures with type hints
|
|
14
|
+
- 🔍 Parse PHP code into structured JSON (statement-by-statement)
|
|
15
|
+
- 🔎 Search existing code in your projects
|
|
16
|
+
- 🚀 Build Laravel applications through natural conversation
|
|
13
17
|
|
|
14
|
-
##
|
|
18
|
+
## Quick Start
|
|
15
19
|
|
|
16
20
|
### Prerequisites
|
|
17
21
|
|
|
18
|
-
- Node.js 18 or higher
|
|
19
|
-
- A Stellify account
|
|
20
|
-
- Claude Desktop (or another MCP-compatible client)
|
|
22
|
+
- **Node.js 18 or higher**
|
|
23
|
+
- **A Stellify account** - Sign up at [stellisoft.com](https://stellisoft.com)
|
|
24
|
+
- **Claude Desktop** (or another MCP-compatible AI client)
|
|
21
25
|
|
|
22
|
-
###
|
|
26
|
+
### Installation
|
|
23
27
|
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
cd /Users/matthewanderson/stellify-mcp
|
|
27
|
-
npm install
|
|
28
|
-
```
|
|
28
|
+
Install globally via npm:
|
|
29
29
|
|
|
30
|
-
2. **Build the TypeScript:**
|
|
31
30
|
```bash
|
|
32
|
-
npm
|
|
31
|
+
npm install -g @stellisoft/stellify-mcp
|
|
33
32
|
```
|
|
34
33
|
|
|
35
|
-
|
|
36
|
-
```bash
|
|
37
|
-
cp .env.example .env
|
|
38
|
-
```
|
|
34
|
+
### Configuration
|
|
39
35
|
|
|
40
|
-
|
|
41
|
-
- Log into Stellify
|
|
42
|
-
-
|
|
43
|
-
- Create
|
|
44
|
-
- Copy
|
|
36
|
+
1. **Get your Stellify API token:**
|
|
37
|
+
- Log into [Stellify](https://stellisoft.com)
|
|
38
|
+
- Navigate to Settings → API Tokens
|
|
39
|
+
- Click "Create New Token"
|
|
40
|
+
- Copy your token
|
|
45
41
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
42
|
+
2. **Configure Claude Desktop:**
|
|
43
|
+
|
|
44
|
+
Edit your Claude Desktop configuration file:
|
|
45
|
+
- **macOS:** `~/Library/Application Support/Claude/claude_desktop_config.json`
|
|
46
|
+
- **Windows:** `%APPDATA%\Claude\claude_desktop_config.json`
|
|
47
|
+
- **Linux:** `~/.config/claude/claude_desktop_config.json`
|
|
48
|
+
|
|
49
|
+
Add the Stellify MCP server:
|
|
52
50
|
|
|
53
|
-
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"mcpServers": {
|
|
54
|
+
"stellify": {
|
|
55
|
+
"command": "stellify-mcp",
|
|
56
|
+
"env": {
|
|
57
|
+
"STELLIFY_API_URL": "https://api.stellisoft.com/v1",
|
|
58
|
+
"STELLIFY_API_TOKEN": "your-token-here"
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
```
|
|
54
64
|
|
|
55
|
-
|
|
65
|
+
3. **Restart Claude Desktop**
|
|
56
66
|
|
|
57
|
-
|
|
67
|
+
That's it! The Stellify tools should now be available in Claude Desktop.
|
|
58
68
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
69
|
+
## Usage
|
|
70
|
+
|
|
71
|
+
Once configured, you can talk to Claude naturally to build Laravel applications:
|
|
72
|
+
|
|
73
|
+
### Example Conversations
|
|
74
|
+
|
|
75
|
+
**Create a new controller:**
|
|
76
|
+
```
|
|
77
|
+
"Create a UserController in my Stellify project"
|
|
72
78
|
```
|
|
73
79
|
|
|
74
|
-
**
|
|
80
|
+
**Add methods:**
|
|
81
|
+
```
|
|
82
|
+
"Add a method called 'store' that takes a Request parameter and returns a JsonResponse"
|
|
83
|
+
```
|
|
75
84
|
|
|
76
|
-
|
|
85
|
+
**Implement method logic:**
|
|
86
|
+
```
|
|
87
|
+
"Add this implementation to the store method:
|
|
88
|
+
$user = User::create($request->validated());
|
|
89
|
+
return response()->json($user, 201);"
|
|
90
|
+
```
|
|
77
91
|
|
|
78
|
-
|
|
92
|
+
**Search your codebase:**
|
|
93
|
+
```
|
|
94
|
+
"Search for all controller files in my project"
|
|
95
|
+
"Find methods related to authentication"
|
|
96
|
+
```
|
|
79
97
|
|
|
80
98
|
## Available Tools
|
|
81
99
|
|
|
@@ -136,18 +154,17 @@ Search for files in the project.
|
|
|
136
154
|
- `name` (optional): File name pattern
|
|
137
155
|
- `type` (optional): File type filter
|
|
138
156
|
|
|
139
|
-
##
|
|
157
|
+
## How Stellify Works
|
|
140
158
|
|
|
141
|
-
|
|
159
|
+
Stellify stores your Laravel application code as **structured JSON** in a database, not text files. This architecture enables:
|
|
142
160
|
|
|
143
|
-
|
|
144
|
-
|
|
161
|
+
- **Surgical precision:** AI modifies specific methods without touching other code
|
|
162
|
+
- **Query your codebase like data:** Find all methods that use a specific class
|
|
163
|
+
- **Instant refactoring:** Rename a method across your entire application instantly
|
|
164
|
+
- **Version control at the statement level:** Track changes to individual code statements
|
|
165
|
+
- **AI-native development:** Give AI granular access without worrying about breaking existing code
|
|
145
166
|
|
|
146
|
-
|
|
147
|
-
1. Call create_file to create Calculator.php
|
|
148
|
-
2. Call create_method to add an "add" method
|
|
149
|
-
3. Call add_method_body to implement "return $a + $b;"
|
|
150
|
-
```
|
|
167
|
+
When you build with Stellify through this MCP server, code is parsed into structured data and can be assembled back into executable PHP when you deploy.
|
|
151
168
|
|
|
152
169
|
## The Incremental Workflow
|
|
153
170
|
|
|
@@ -219,13 +236,52 @@ After Phase 1 works, we'll add:
|
|
|
219
236
|
- Rich metadata extraction
|
|
220
237
|
- Usage statistics
|
|
221
238
|
|
|
239
|
+
## Troubleshooting
|
|
240
|
+
|
|
241
|
+
### Claude Desktop doesn't see the tools
|
|
242
|
+
|
|
243
|
+
1. Verify the configuration file path is correct for your OS
|
|
244
|
+
2. Check that the Stellify API token is valid
|
|
245
|
+
3. Restart Claude Desktop completely (Quit, not just close window)
|
|
246
|
+
4. Check Claude Desktop logs for error messages
|
|
247
|
+
|
|
248
|
+
### API connection errors
|
|
249
|
+
|
|
250
|
+
- Verify your API token at https://stellisoft.com/settings/tokens
|
|
251
|
+
- Check that `STELLIFY_API_URL` is correct
|
|
252
|
+
- Ensure your Stellify account is active
|
|
253
|
+
|
|
254
|
+
### Installation issues
|
|
255
|
+
|
|
256
|
+
```bash
|
|
257
|
+
# Clear npm cache and reinstall
|
|
258
|
+
npm cache clean --force
|
|
259
|
+
npm uninstall -g @stellisoft/stellify-mcp
|
|
260
|
+
npm install -g @stellisoft/stellify-mcp
|
|
261
|
+
```
|
|
262
|
+
|
|
263
|
+
## Contributing
|
|
264
|
+
|
|
265
|
+
We welcome contributions! Please see our contributing guidelines and feel free to submit pull requests.
|
|
266
|
+
|
|
222
267
|
## Support
|
|
223
268
|
|
|
224
269
|
For issues or questions:
|
|
225
|
-
- GitHub
|
|
226
|
-
- Email
|
|
227
|
-
-
|
|
270
|
+
- **GitHub Issues:** [Report a bug or request a feature](https://github.com/Stellify-Software-Ltd/stellify-mcp/issues)
|
|
271
|
+
- **Email:** support@stellisoft.com
|
|
272
|
+
- **Documentation:** https://stellisoft.com/docs
|
|
273
|
+
- **Discord:** Join our community (coming soon)
|
|
274
|
+
|
|
275
|
+
## About Stellify
|
|
276
|
+
|
|
277
|
+
Stellify is building the future of AI-native software development. By storing code as structured data instead of text files, we enable a new paradigm where AI and humans collaborate seamlessly to build better software, faster.
|
|
278
|
+
|
|
279
|
+
Learn more at [stellisoft.com](https://stellisoft.com)
|
|
228
280
|
|
|
229
281
|
## License
|
|
230
282
|
|
|
231
|
-
MIT
|
|
283
|
+
MIT License - see [LICENSE](LICENSE) file for details
|
|
284
|
+
|
|
285
|
+
---
|
|
286
|
+
|
|
287
|
+
Built with ❤️ by the Stellify team
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stellisoft/stellify-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server for Stellify - AI-native code generation platform",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -17,10 +17,20 @@
|
|
|
17
17
|
"stellify",
|
|
18
18
|
"ai",
|
|
19
19
|
"code-generation",
|
|
20
|
-
"laravel"
|
|
20
|
+
"laravel",
|
|
21
|
+
"claude",
|
|
22
|
+
"anthropic"
|
|
21
23
|
],
|
|
22
|
-
"author": "Stellisoft",
|
|
24
|
+
"author": "Stellisoft <stellifysoftware@gmail.com> (https://stellisoft.com)",
|
|
23
25
|
"license": "MIT",
|
|
26
|
+
"repository": {
|
|
27
|
+
"type": "git",
|
|
28
|
+
"url": "https://github.com/Stellify-Software-Ltd/stellify-mcp.git"
|
|
29
|
+
},
|
|
30
|
+
"bugs": {
|
|
31
|
+
"url": "https://github.com/Stellify-Software-Ltd/stellify-mcp/issues"
|
|
32
|
+
},
|
|
33
|
+
"homepage": "https://github.com/Stellify-Software-Ltd/stellify-mcp#readme",
|
|
24
34
|
"dependencies": {
|
|
25
35
|
"@modelcontextprotocol/sdk": "^1.0.4",
|
|
26
36
|
"axios": "^1.7.9",
|