Connect agent clients to AskChannelAI with a Bearer token. The v1 MCP server exposes only `askchannelai_search_quotes`, `askchannelai_search_transcripts`, and `askchannelai_ask_channel`. The Authorization header must contain the full secret. Create a token on the Tokens page; the examples below are prefilled with your latest token.
Try it
tool
channel_id
provider
Create a token on the Tokens page to run.
Code examples
MCP client config
{
"mcpServers": {
"askchannelai": {
"url": "https://your-domain.com/mcp",
"headers": {
"Authorization": "Bearer askchannelai_your_full_secret_here"
}
}
}
}List tools
curl -s 'https://your-domain.com/mcp' \
-H 'Authorization: Bearer askchannelai_your_full_secret_here' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2025-06-18' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}' | jqSearch quotes
curl -s 'https://your-domain.com/mcp' \
-H 'Authorization: Bearer askchannelai_your_full_secret_here' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2025-06-18' \
-d '{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "askchannelai_search_quotes",
"arguments": {
"channel_id": "@apple",
"query": "privacy",
"limit": 5
}
}
}' | jqSearch transcripts
curl -s 'https://your-domain.com/mcp' \
-H 'Authorization: Bearer askchannelai_your_full_secret_here' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2025-06-18' \
-d '{
"jsonrpc": "2.0",
"id": 3,
"method": "tools/call",
"params": {
"name": "askchannelai_search_transcripts",
"arguments": {
"channel_id": "@apple",
"query": "laptop performance",
"limit": 5
}
}
}' | jqAsk channel
curl -s 'https://your-domain.com/mcp' \
-H 'Authorization: Bearer askchannelai_your_full_secret_here' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'MCP-Protocol-Version: 2025-06-18' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "askchannelai_ask_channel",
"arguments": {
"channel_id": "@apple",
"question": "What is the latest Macbook Pro model and what upgrades does it have over the previous version?",
"provider": "gemini"
}
}
}' | jq