@stellisoft/stellify-mcp 0.1.16 → 0.1.17

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.
Files changed (2) hide show
  1. package/dist/index.js +5 -37
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1134,25 +1134,6 @@ SECURITY: Code runs in a sandboxed environment with limited permissions.`,
1134
1134
  required: ['file', 'method'],
1135
1135
  },
1136
1136
  },
1137
- {
1138
- name: 'get_capabilities',
1139
- description: `List available system-level capabilities in the Stellify framework.
1140
-
1141
- Returns what's currently available for:
1142
- - Authentication (Sanctum, session, etc.)
1143
- - File storage (local, S3, etc.)
1144
- - Email/notifications
1145
- - Queues/jobs
1146
- - Caching
1147
- - Other installed packages and services
1148
-
1149
- Use this BEFORE attempting to build features that might require system capabilities.
1150
- If a capability you need is not listed, use request_capability to log it.`,
1151
- inputSchema: {
1152
- type: 'object',
1153
- properties: {},
1154
- },
1155
- },
1156
1137
  {
1157
1138
  name: 'request_capability',
1158
1139
  description: `Log a missing system-level capability request.
@@ -1312,7 +1293,7 @@ Examples of capabilities (packages you cannot write):
1312
1293
 
1313
1294
  **WORKFLOW:**
1314
1295
 
1315
- 1. When a user requests functionality that might need a package/library, call get_capabilities() FIRST.
1296
+ 1. When a user requests functionality that might need a package/library, check the capabilities list from get_project FIRST.
1316
1297
 
1317
1298
  2. If status is "available" → package is installed, proceed with business logic.
1318
1299
 
@@ -1361,14 +1342,16 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
1361
1342
  switch (name) {
1362
1343
  case 'get_project': {
1363
1344
  const result = await stellify.getProject();
1345
+ const projectData = result.data || result;
1346
+ const projectMeta = projectData.project || {};
1364
1347
  return {
1365
1348
  content: [
1366
1349
  {
1367
1350
  type: 'text',
1368
1351
  text: JSON.stringify({
1369
1352
  success: true,
1370
- message: `Active project: "${result.data?.name || result.name}" (${result.data?.uuid || result.uuid})`,
1371
- project: result.data || result,
1353
+ message: `Active project: "${projectMeta.name || 'unknown'}" (${projectMeta.uuid || 'unknown'})`,
1354
+ project: projectData,
1372
1355
  }, null, 2),
1373
1356
  },
1374
1357
  ],
@@ -1830,21 +1813,6 @@ server.setRequestHandler(CallToolRequestSchema, async (request) => {
1830
1813
  ],
1831
1814
  };
1832
1815
  }
1833
- case 'get_capabilities': {
1834
- const result = await stellify.getCapabilities();
1835
- return {
1836
- content: [
1837
- {
1838
- type: 'text',
1839
- text: JSON.stringify({
1840
- success: true,
1841
- message: 'Available framework capabilities',
1842
- capabilities: result.data || result,
1843
- }, null, 2),
1844
- },
1845
- ],
1846
- };
1847
- }
1848
1816
  case 'request_capability': {
1849
1817
  const result = await stellify.requestCapability(args);
1850
1818
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stellisoft/stellify-mcp",
3
- "version": "0.1.16",
3
+ "version": "0.1.17",
4
4
  "mcpName": "io.github.MattStellisoft/stellify-mcp",
5
5
  "description": "MCP server for Stellify - AI-native code generation platform",
6
6
  "main": "dist/index.js",