Skip to main content

Připoj AutoGen k aicharged.io

215 nástrojů, jeden endpoint: https://aicharged.io/api/v1/mcp

AutoGen

AutoGen: StreamableHttpServerParams s hlavičkami, používané přes McpWorkbench.

  • API klíč (Bearer)

Kód klienta (client)

Doporučeno
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())

Instalace balíčku (install)

pip install "autogen-ext[mcp]"

Nebo to nech nastavit CLI

aicharged setup najde AI klienty na tomto počítači, přihlásí tě přes prohlížeč a zapíše jejich konfiguraci.

Připoj se jedním řádkem

Instalace CLI · macOS / Linux
curl -fsSL https://aicharged.io/install.sh | sh && aicharged setup
Instalace CLI · Windows
irm https://aicharged.io/install.ps1 | iex; aicharged setup
MCP endpoint
https://aicharged.io/api/v1/mcp

Streamable HTTP. Pošli hlavičku Authorization: Bearer <API_KEY>, nebo se přihlas přes OAuth, pokud to tvůj klient umí.

Nebo řekni agentovi
Přečti si https://aicharged.io/agent.md a nastav mi aicharged.io

Otevřít s tímto promptem v Claude (otevře se v nové kartě) ChatGPT (otevře se v nové kartě) Perplexity (otevře se v nové kartě)