Claude Desktop
Claude Desktop: ใช้ custom connector เดียวกับบนเว็บ หรือใช้ claude_desktop_config.json ผ่าน aicharged CLI (stdio)
- คีย์ 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 ในแชตจากเมนู +
- ทางเลือกที่ไม่ใช้ connector: เขียน claude_desktop_config.json (ด้านล่าง) แล้วรีสตาร์ท Claude Desktop
URL ของเซิร์ฟเวอร์ MCP ระยะไกล
แนะนำhttps://aicharged.io/api/v1/mcp
เฮดเดอร์คำขอ
Authorization: Bearer <API_KEY>
claude_desktop_config.json ผ่าน aicharged CLI (stdio)
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)
claude_desktop_config.json ผ่านบริดจ์ mcp-remote
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