wolfpack-mcp 1.0.3 → 1.0.5
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 +5 -0
- package/dist/config.js +3 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# Wolfpack MCP Server
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/wolfpack-mcp)
|
|
4
|
+
|
|
3
5
|
Connect your AI assistant to Wolfpack to manage work items, track issues, update documentation, and log progress—all
|
|
4
6
|
through natural conversation.
|
|
5
7
|
|
|
@@ -117,6 +119,9 @@ When creating your API key, select the permissions you need:
|
|
|
117
119
|
**"WOLFPACK_API_KEY environment variable is required"**
|
|
118
120
|
Check that your Claude Desktop config has the API key set correctly.
|
|
119
121
|
|
|
122
|
+
**"Invalid API key format"**
|
|
123
|
+
API keys must start with `wfp_sk_` (user keys) or `wfp_ak_` (org-managed agent keys).
|
|
124
|
+
|
|
120
125
|
**"Invalid API key"**
|
|
121
126
|
Your key may be incorrect or revoked. Generate a new one from Account Settings.
|
|
122
127
|
|
package/dist/config.js
CHANGED
|
@@ -8,12 +8,12 @@ export function validateConfig() {
|
|
|
8
8
|
if (!config.apiKey) {
|
|
9
9
|
console.error('Error: WOLFPACK_API_KEY environment variable is required');
|
|
10
10
|
console.error('Please set WOLFPACK_API_KEY to your API key from the Wolfpack application');
|
|
11
|
-
console.error('Example: WOLFPACK_API_KEY=wfp_sk_...');
|
|
11
|
+
console.error('Example: WOLFPACK_API_KEY=wfp_sk_... (user) or wfp_ak_... (agent)');
|
|
12
12
|
process.exit(1);
|
|
13
13
|
}
|
|
14
|
-
if (!config.apiKey.startsWith('wfp_sk_')) {
|
|
14
|
+
if (!config.apiKey.startsWith('wfp_sk_') && !config.apiKey.startsWith('wfp_ak_')) {
|
|
15
15
|
console.error('Error: Invalid API key format');
|
|
16
|
-
console.error('API keys should start with "wfp_sk_"');
|
|
16
|
+
console.error('API keys should start with "wfp_sk_" (user) or "wfp_ak_" (agent)');
|
|
17
17
|
process.exit(1);
|
|
18
18
|
}
|
|
19
19
|
console.error(`MCP Server connecting to: ${config.apiUrl}`);
|