-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
MaJinZe edited this page Aug 7, 2026
·
1 revision
Common issues and their solutions.
Symptom:
npm error 404 Not Found - @aipost/mcp-server
Solution:
- Check your npm registry:
npm config get registry— should behttps://registry.npmjs.org/ - If using a mirror (e.g., Tencent), reset it:
npm config set registry https://registry.npmjs.org/ - Try with explicit version:
npm install -g @aipost/mcp-server@1.0.0
Symptom:
[aipost-mcp] AIPOST_API_KEY environment variable is required
Solution: Set the environment variable before starting the server:
export AIPOST_API_KEY=mfo_your_api_key_hereOr in your MCP client config:
"env": {
"AIPOST_API_KEY": "mfo_your_api_key_here"
}Symptom:
[aipost-mcp] ED25519 key load failed: ...
Common causes:
| Cause | Solution |
|---|---|
| Wrong file path | Verify the path in AIPOST_ED25519_KEY_PATH
|
| Wrong format | Key must be PKCS8 PEM or 64-char hex seed |
| File permissions | Ensure the key file is readable |
| OpenSSH format | Convert: ssh-keygen -p -f key -m PKCS8
|
Generate a correctly formatted key:
openssl genpkey -algorithm ED25519 -out ~/.ssh/aipost_ed25519.pemSymptom:
Error [AUTH_INVALID]: Invalid API key
Solution:
- Verify your API key starts with
mfo_ - Check that the key is active in your AIPost.email dashboard
- Regenerate the key if needed
Symptom:
Error [SIGNATURE_INVALID]: Request signature verification failed
Solution:
- Ensure the ED25519 private key matches the public key registered on aipost.email
- Check system clock — timestamp skew > 5 minutes will be rejected
- Verify the key is in PKCS8 PEM format (not OpenSSH format)
Symptom:
fatal: unable to access 'https://github.com/...': Could not connect to server
Solution:
- Try SSH instead:
git remote set-url origin git@github.com:AIPOST-EMAIL/mcp-server.git
- Or configure gh CLI as credential helper:
gh auth setup-git
Symptom: Agent doesn't discover AIPost tools after configuration.
Solution:
- Restart the MCP client after adding the config
- Check the server logs for startup errors:
[aipost-mcp] Server started - Verify the
commandandargsin your MCP config match the platform
Symptom:
npm error 403 - Two-factor authentication required
Solution: Use an Automation token (not Publish, not Classic) from: 👉 https://www.npmjs.com/settings/aipost/tokens
npm config set //registry.npmjs.org/:_authToken npm_xxx
npm publish --access public