Skip to main content

aicharged.io에 AutoGen 연결

도구 215개, 단일 엔드포인트: https://aicharged.io/api/v1/mcp

AutoGen

AutoGen: headers가 있는 StreamableHttpServerParams를 McpWorkbench를 통해 사용합니다.

  • API 키(Bearer)

클라이언트 코드

추천
import asyncio, os
from autogen_ext.tools.mcp import McpWorkbench, StreamableHttpServerParams

async def main():
    params = StreamableHttpServerParams(
        url="https://aicharged.io/api/v1/mcp",
        headers={"Authorization": f"Bearer {os.environ['AICHARGED_API_KEY']}"},
        timeout=30.0,
    )
    async with McpWorkbench(params) as workbench:
        tools = await workbench.list_tools()
        print([tool["name"] for tool in tools])

asyncio.run(main())

패키지 설치

pip install "autogen-ext[mcp]"

또는 CLI로 자동 설정하기

aicharged setup 명령어가 이 기기에서 AI 클라이언트를 찾아 브라우저를 통해 로그인하고 설정을 자동으로 작성합니다.

한 줄로 연결하기

CLI 설치 · macOS / Linux
curl -fsSL https://aicharged.io/install.sh | sh && aicharged setup
CLI 설치 · Windows
irm https://aicharged.io/install.ps1 | iex; aicharged setup
MCP 엔드포인트
https://aicharged.io/api/v1/mcp

스트리밍 가능한 HTTP. Authorization: Bearer <API_KEY> 헤더를 전송하거나, 클라이언트가 지원하는 경우 OAuth로 로그인하세요.

또는 에이전트에게 지시하세요
다음을 읽고 aicharged.io를 설정해 주세요: https://aicharged.io/agent.md

이 프롬프트로 열기: Claude (새 창에서 열림) ChatGPT (새 창에서 열림) Perplexity (새 창에서 열림)