Skip to main content

Podłącz CrewAI do aicharged.io

215 narzędzi, jeden punkt końcowy: https://aicharged.io/api/v1/mcp

CrewAI

CrewAI: przekaż agentowi MCPServerHTTP w mcps, ze streamable HTTP i nagłówkiem Authorization.

  • Klucz API (Bearer)

Kod agenta

Zalecane
import os
from crewai import Agent
from crewai.mcp import MCPServerHTTP

agent = Agent(
    role="Media producer",
    goal="Create media with the aicharged.io tools",
    backstory="You work through the aicharged.io MCP server.",
    mcps=[MCPServerHTTP(
        url="https://aicharged.io/api/v1/mcp",
        headers={"Authorization": f"Bearer {os.environ['AICHARGED_API_KEY']}"},
        streamable=True,
    )],
)

Albo pozwól, aby CLI to skonfigurował

aicharged setup wyszukuje klientów AI na tym komputerze, loguje Cię przez przeglądarkę i zapisuje ich konfigurację.

Połącz w jednej linijce

Zainstaluj CLI · macOS / Linux
curl -fsSL https://aicharged.io/install.sh | sh && aicharged setup
Zainstaluj CLI · Windows
irm https://aicharged.io/install.ps1 | iex; aicharged setup
Punkt końcowy MCP
https://aicharged.io/api/v1/mcp

Strumieniowe HTTP. Wyślij nagłówek Authorization: Bearer <API_KEY> lub zaloguj się przez OAuth, jeśli Twój klient to obsługuje.

Lub powiedz swojemu agentowi
Przeczytaj https://aicharged.io/agent.md i skonfiguruj mi aicharged.io

Otwórz z tym promptem w Claude (otwiera się w nowej karcie) ChatGPT (otwiera się w nowej karcie) Perplexity (otwiera się w nowej karcie)