claude-autopm 1.13.10 → 1.13.12
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.
|
@@ -26,20 +26,11 @@
|
|
|
26
26
|
},
|
|
27
27
|
"playwright-mcp": {
|
|
28
28
|
"command": "npx",
|
|
29
|
-
"args": ["@playwright/mcp
|
|
29
|
+
"args": ["@playwright/mcp"],
|
|
30
30
|
"env": {
|
|
31
31
|
"PLAYWRIGHT_BROWSER": "chromium",
|
|
32
32
|
"PLAYWRIGHT_HEADLESS": "true"
|
|
33
33
|
}
|
|
34
|
-
},
|
|
35
|
-
"github-mcp": {
|
|
36
|
-
"command": "npx",
|
|
37
|
-
"args": ["@modelcontextprotocol/server-github"],
|
|
38
|
-
"env": {
|
|
39
|
-
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN:-}",
|
|
40
|
-
"GITHUB_API_URL": "https://api.github.com"
|
|
41
|
-
},
|
|
42
|
-
"envFile": ".claude/.env"
|
|
43
34
|
}
|
|
44
35
|
},
|
|
45
36
|
"contextPools": {
|
|
@@ -82,9 +73,9 @@
|
|
|
82
73
|
"devops-context": {
|
|
83
74
|
"type": "shared",
|
|
84
75
|
"agents": ["github-operations-specialist", "kubernetes-orchestrator", "azure-devops-specialist"],
|
|
85
|
-
"sources": ["context7-docs"
|
|
76
|
+
"sources": ["context7-docs"],
|
|
86
77
|
"filters": ["github-actions", "kubernetes", "ci-cd"],
|
|
87
|
-
"maxSize": "100MB",
|
|
78
|
+
"maxSize": "100MB",
|
|
88
79
|
"retention": "7d",
|
|
89
80
|
"refresh": "daily"
|
|
90
81
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "claude-autopm",
|
|
3
|
-
"version": "1.13.
|
|
3
|
+
"version": "1.13.12",
|
|
4
4
|
"description": "Autonomous Project Management Framework for Claude Code - Advanced AI-powered development automation",
|
|
5
5
|
"main": "bin/autopm.js",
|
|
6
6
|
"bin": {
|
|
@@ -149,8 +149,7 @@
|
|
|
149
149
|
},
|
|
150
150
|
"optionalDependencies": {
|
|
151
151
|
"@upstash/context7-mcp": "^1.0.0",
|
|
152
|
-
"@
|
|
153
|
-
"@playwright/mcp-server": "^1.0.0"
|
|
152
|
+
"@playwright/mcp": "^0.0.40"
|
|
154
153
|
},
|
|
155
154
|
"publishConfig": {
|
|
156
155
|
"access": "public",
|
package/scripts/mcp-handler.js
CHANGED
|
@@ -134,6 +134,9 @@ class MCPHandler {
|
|
|
134
134
|
this.updateRegistry(name, serverDef);
|
|
135
135
|
|
|
136
136
|
rl.close();
|
|
137
|
+
|
|
138
|
+
// Show next steps
|
|
139
|
+
this.showNextSteps('add', { name, metadata: serverDef });
|
|
137
140
|
} catch (error) {
|
|
138
141
|
console.error('❌ Error creating server:', error.message);
|
|
139
142
|
rl.close();
|
|
@@ -197,7 +200,9 @@ class MCPHandler {
|
|
|
197
200
|
this.saveConfig(config);
|
|
198
201
|
|
|
199
202
|
console.log(`✅ Server '${serverName}' enabled`);
|
|
200
|
-
|
|
203
|
+
|
|
204
|
+
// Show next steps
|
|
205
|
+
this.showNextSteps('enable', server);
|
|
201
206
|
}
|
|
202
207
|
|
|
203
208
|
/**
|
|
@@ -297,6 +302,9 @@ class MCPHandler {
|
|
|
297
302
|
console.log(`✅ Claude Code config synced to ${claudeCodeMcpPath}`);
|
|
298
303
|
console.log(`📊 Active servers: ${activeServers.length}`);
|
|
299
304
|
console.log(`📦 Total servers in file: ${Object.keys(mcpConfig.mcpServers).length}`);
|
|
305
|
+
|
|
306
|
+
// Show next steps after sync
|
|
307
|
+
this.showNextSteps('sync', null);
|
|
300
308
|
}
|
|
301
309
|
|
|
302
310
|
/**
|
|
@@ -1649,6 +1657,68 @@ This server can be integrated with various agents and context pools.
|
|
|
1649
1657
|
console.log(` Enabled: ${activeServers.length}`);
|
|
1650
1658
|
console.log(` Disabled: ${allServers.length - activeServers.length}`);
|
|
1651
1659
|
}
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* Show next steps after MCP configuration actions
|
|
1663
|
+
* @param {string} action - The action that was performed (enable, add, sync)
|
|
1664
|
+
* @param {Object} server - Server object (for enable/add actions)
|
|
1665
|
+
*/
|
|
1666
|
+
showNextSteps(action, server) {
|
|
1667
|
+
console.log('\n📋 Next Steps:\n');
|
|
1668
|
+
|
|
1669
|
+
if (action === 'enable' || action === 'add') {
|
|
1670
|
+
console.log('1. Run sync to update configuration:');
|
|
1671
|
+
console.log(' autopm mcp sync\n');
|
|
1672
|
+
|
|
1673
|
+
// Check if server needs environment variables
|
|
1674
|
+
if (server && server.metadata && server.metadata.env) {
|
|
1675
|
+
const envVars = Object.keys(server.metadata.env);
|
|
1676
|
+
if (envVars.length > 0) {
|
|
1677
|
+
console.log('2. Configure required environment variables in .claude/.env:');
|
|
1678
|
+
envVars.forEach(varName => {
|
|
1679
|
+
const example = this._getEnvVarExample(server.name || server.metadata.name, varName);
|
|
1680
|
+
console.log(` ${varName}=${example}`);
|
|
1681
|
+
});
|
|
1682
|
+
console.log();
|
|
1683
|
+
console.log('3. Restart Claude Code to load the server\n');
|
|
1684
|
+
console.log('4. Verify server status:');
|
|
1685
|
+
console.log(' /mcp (in Claude Code)\n');
|
|
1686
|
+
} else {
|
|
1687
|
+
console.log('2. Restart Claude Code to load the server\n');
|
|
1688
|
+
console.log('3. Verify server status:');
|
|
1689
|
+
console.log(' /mcp (in Claude Code)\n');
|
|
1690
|
+
}
|
|
1691
|
+
}
|
|
1692
|
+
|
|
1693
|
+
// Show where to get credentials if needed
|
|
1694
|
+
if (server && server.name) {
|
|
1695
|
+
const credInfo = this._getCredentialInfo(server.name);
|
|
1696
|
+
if (credInfo && !credInfo.includes('No credentials needed')) {
|
|
1697
|
+
console.log('💡 API Key Information:');
|
|
1698
|
+
console.log(` ${credInfo}\n`);
|
|
1699
|
+
}
|
|
1700
|
+
}
|
|
1701
|
+
} else if (action === 'sync') {
|
|
1702
|
+
console.log('1. Restart Claude Code to load the updated configuration\n');
|
|
1703
|
+
console.log('2. Verify servers are running:');
|
|
1704
|
+
console.log(' /mcp (in Claude Code)\n');
|
|
1705
|
+
|
|
1706
|
+
// Check for missing environment variables
|
|
1707
|
+
const envStatus = this.checkEnvVarsStatus();
|
|
1708
|
+
if (envStatus.missing.length > 0) {
|
|
1709
|
+
console.log('⚠️ Some servers require environment variables:\n');
|
|
1710
|
+
envStatus.missing.forEach(varName => {
|
|
1711
|
+
console.log(` ❌ ${varName}`);
|
|
1712
|
+
});
|
|
1713
|
+
console.log('\n3. Configure missing variables in .claude/.env\n');
|
|
1714
|
+
console.log('4. Check configuration:');
|
|
1715
|
+
console.log(' autopm mcp check\n');
|
|
1716
|
+
} else {
|
|
1717
|
+
console.log('3. Check configuration status:');
|
|
1718
|
+
console.log(' autopm mcp check\n');
|
|
1719
|
+
}
|
|
1720
|
+
}
|
|
1721
|
+
}
|
|
1652
1722
|
}
|
|
1653
1723
|
|
|
1654
1724
|
// CLI execution
|