Claude Desktop
Claude Desktop:與網頁版相同的自訂連接器,或透過 aicharged CLI(stdio)使用 claude_desktop_config.json。
- API 金鑰(Bearer)
- OAuth 登入
- 本機橋接(stdio)
- 開啟 Customize → Connectors。
- 點擊 + Add → Add custom connector。
- Name:aicharged · Remote MCP server URL:https://aicharged.io/api/v1/mcp
- Authentication:No sign in · Request headers:Authorization: Bearer <API_KEY>
- 儲存,然後在聊天中透過 + 選單啟用 aicharged。
- 不使用連接器的替代方式:撰寫 claude_desktop_config.json(見下方)並重新啟動 Claude Desktop。
遠端 MCP 伺服器 URL
推薦https://aicharged.io/api/v1/mcp
請求標頭
Authorization: Bearer <API_KEY>
透過 aicharged CLI(stdio)的 claude_desktop_config.json
claude_desktop_config.json
· 需要 aicharged CLI
{
"mcpServers": {
"aicharged": {
"command": "aicharged",
"args": [
"mcp",
"serve"
]
}
}
}
macOS:~/Library/Application Support/Claude/,Windows:%APPDATA%\Claude\(Settings → Developer → Edit Config)。
透過 mcp-remote 橋接的 claude_desktop_config.json
claude_desktop_config.json
{
"mcpServers": {
"aicharged": {
"command": "npx",
"args": [
"-y",
"mcp-remote",
"https://aicharged.io/api/v1/mcp",
"--header",
"Authorization:${AUTH_HEADER}",
"--transport",
"http-only"
],
"env": {
"AUTH_HEADER": "Bearer <API_KEY>"
}
}
}
}
Authorization:${AUTH_HEADER} 中冒號後不要加空格——值應放在 env 裡。