Amp
Amp: add aicharged.io to amp.mcpServers in settings.json with the key from an environment variable — or sign in with OAuth via amp mcp add.
- API key (Bearer)
- OAuth sign-in
Config file
~/.config/amp/settings.json
Recommended
{
"amp.mcpServers": {
"aicharged": {
"url": "https://aicharged.io/api/v1/mcp",
"headers": {
"Authorization": "Bearer ${AICHARGED_API_KEY}"
}
}
}
}
For one project use .amp/settings.json. amp mcp add has no --header flag, so the key belongs in the settings file.
Store the key in an environment variable
· macOS / Linuxexport AICHARGED_API_KEY="<API_KEY>"
Add the export line to your shell profile (e.g. ~/.zshrc) so new terminals see the key too.
Sign in with OAuth
amp mcp add aicharged https://aicharged.io/api/v1/mcp