Skip to main content

Podłącz curl (HTTP) do aicharged.io

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

curl (HTTP)

Czysty JSON-RPC przez HTTP POST — do skryptów, debugowania i klientów bez SDK MCP.

  • Klucz API (Bearer)

Klasyczny przebieg: initialize → tools/list → tools/call (MCP 2025-11-25)

Zalecane
U=https://aicharged.io/api/v1/mcp
H=(-H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -H "Authorization: Bearer <API_KEY>")
curl -s "${H[@]}" -d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-11-25","capabilities":{},"clientInfo":{"name":"curl","version":"1.0"}}}' "$U"
curl -s "${H[@]}" -H "MCP-Protocol-Version: 2025-11-25" -d '{"jsonrpc":"2.0","method":"notifications/initialized"}' "$U"
curl -s "${H[@]}" -H "MCP-Protocol-Version: 2025-11-25" -d '{"jsonrpc":"2.0","id":2,"method":"tools/list","params":{}}' "$U"
curl -s "${H[@]}" -H "MCP-Protocol-Version: 2025-11-25" -d '{"jsonrpc":"2.0","id":3,"method":"tools/call","params":{"name":"list_runs","arguments":{}}}' "$U"

Nowoczesny tryb bez handshake (MCP 2026-07-28)

U=https://aicharged.io/api/v1/mcp
H=(-H "Content-Type: application/json" -H "Accept: application/json, text/event-stream" -H "Authorization: Bearer <API_KEY>")
M='"_meta":{"io.modelcontextprotocol/protocolVersion":"2026-07-28","io.modelcontextprotocol/clientInfo":{"name":"curl","version":"1.0"},"io.modelcontextprotocol/clientCapabilities":{}}'
curl -s "${H[@]}" -H "MCP-Protocol-Version: 2026-07-28" -H "Mcp-Method: server/discover" -d "{\"jsonrpc\":\"2.0\",\"id\":\"d1\",\"method\":\"server/discover\",\"params\":{$M}}" "$U"
curl -s "${H[@]}" -H "MCP-Protocol-Version: 2026-07-28" -H "Mcp-Method: tools/list" -d "{\"jsonrpc\":\"2.0\",\"id\":2,\"method\":\"tools/list\",\"params\":{$M}}" "$U"
curl -s "${H[@]}" -H "MCP-Protocol-Version: 2026-07-28" -H "Mcp-Method: tools/call" -H "Mcp-Name: list_runs" -d "{\"jsonrpc\":\"2.0\",\"id\":3,\"method\":\"tools/call\",\"params\":{\"name\":\"list_runs\",\"arguments\":{},$M}}" "$U"

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)