iblai-api-agent-chat
Skill222 starsChanged 11 days agoMITView on GitHub
Set up live chat with a deployed ibl.ai agent by wiring the hosted iblai-api-agent-chat MCP server into the project (.mcp.json / claude mcp add) using the .env Api-Token and a chosen agent's unique id, or by signing in from claude.ai, ChatGPT or Claude Desktop with only the URL. Use to enable runtime conversations with an agent, and to list or disconnect the apps a user has connected. The actual chatting then happens through the MCP server's tools.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- iblai/vibeword for word, first seen Oct 13, 2026
Other versions1 project uses a version of this.
Word for word · 1
- iblai/vibe★ 222100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository166 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- iblai-vibe-pr-reviewSkill
- iblai-api-agent-accessSkill
- iblai-api-agent-auditSkill
- iblai-api-agent-createSkill
- iblai-api-agent-datasetSkill
- iblai-api-agent-disclaimerSkill
- iblai-api-agent-embedSkill
- iblai-api-agent-evalSkill
- iblai-api-agent-historySkill
- iblai-api-agent-llmSkill
- iblai-api-agent-mcpSkill
- iblai-api-agent-memorySkill
- iblai-api-agent-privacySkill
- iblai-api-agent-promptSkill
- iblai-api-agent-safetySkill
- iblai-api-agent-sandboxSkill
- iblai-api-agent-sessionSkill
- iblai-api-agent-settingSkill
- iblai-api-agent-skillSkill
- iblai-api-agent-supportSkill
- iblai-api-agent-toolSkill
- iblai-api-agent-voiceSkill
- iblai-api-inferenceSkill
- iblai-api-searchSkill
- iblai-vibe-agent-accessSkill
- iblai-vibe-agent-analyticsSkill
- iblai-vibe-agent-apiSkill
- iblai-vibe-agent-assistantSkill
- iblai-vibe-agent-auditSkill
- iblai-vibe-agent-billingSkill
- iblai-vibe-agent-chat-sidebarSkill
- iblai-vibe-agent-chatSkill
- iblai-vibe-agent-createSkill
- iblai-vibe-agent-datasetSkill
- iblai-vibe-agent-disclaimerSkill
- iblai-vibe-agent-embedSkill
- iblai-vibe-agent-evalsSkill
- iblai-vibe-agent-graderSkill
- iblai-vibe-agent-historySkill
- iblai-vibe-agent-llmSkill
- iblai-vibe-agent-ltiSkill
- iblai-vibe-agent-mcpSkill
- iblai-vibe-agent-memorySkill
- iblai-vibe-agent-privacySkill
- iblai-vibe-agent-promptSkill
- iblai-vibe-agent-safetySkill
- iblai-vibe-agent-sandboxSkill
- iblai-vibe-agent-screenshareSkill
- iblai-vibe-agent-searchSkill
- iblai-vibe-agent-settingSkill
- iblai-vibe-agentSkill
- iblai-vibe-agent-skillsSkill
- iblai-vibe-agent-supportSkill
- iblai-vibe-agent-taskSkill
- iblai-vibe-agent-toolSkill
- iblai-vibe-agent-virtual-machineSkill
- iblai-vibe-agent-voiceSkill
- iblai-vibe-incognitoSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 39
No agent header is needed.
- Very specific: line 53
Add to the project's .mcp.json (or the client's MCP config).
- Very specific: line 70
After adding it, the assistant gains the server's get_mentor_response(prompt, session_id?) tool.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
iblai-api-agent-chat
Enable live chat with a deployed agent. Unlike the other iblai-* skills
(which call the REST API directly), runtime chat (the agent's tools, RAG and
memory) is served by the hosted iblai-api-agent-chat MCP server. This
skill does the one-time wiring so your assistant can talk to an agent; the conversation
itself then runs through that server's MCP tools.
When to use
- You want to converse with an agent (not configure it). For configuring agents
use the other
/iblai-api-agent-*skills; to find an agent'sunique_iduse/iblai-api-search.
What you need
IBLAI_API_KEY— your Platform API Token (from.env; run/iblai-api-loginif it is not set).- An agent's
unique_id— the agent to chat with. Get one from/iblai-api-search(each result'sunique_id), then confirm the choice with the user.
Setup
The agent's unique_id goes in the URL, and the server authenticates with one
header, Authorization: Api-Token <key>:
https://asgi.data.iblai.app/mcp/agent-chat/<unique_id>No agent header is needed. (The older X-Mentor-Unique-Id / X-Agent-Unique-Id
header still works for existing configs; a URL id and a header naming different
agents are refused.)
Claude Code
claude mcp add iblai-api-agent-chat \
--transport http "https://asgi.data.iblai.app/mcp/agent-chat/$MENTOR" \
--header "Authorization: Api-Token $IBLAI_API_KEY".mcp.json / Claude Desktop / Cursor
Add to the project's .mcp.json (or the client's MCP config). Substitute the real
token and unique_id - do not commit secrets:
{
"mcpServers": {
"iblai-agent-chat": {
"transport": "streamable-http",
"url": "https://asgi.data.iblai.app/mcp/agent-chat/YOUR_AGENT_UNIQUE_ID",
"headers": {
"Authorization": "Api-Token YOUR_API_TOKEN"
}
}
}
}After adding it, the assistant gains the server's
get_mentor_response(prompt, session_id?) tool. Each call is one chat turn:
the agent replies as it does in the chat screen, with its own instructions,
tools and trained documents. The tool returns the full reply text, ending with
a session_id: <id> line (also in the result's structured content).
Sign in instead of a key (claude.ai, ChatGPT, Claude Desktop)
App stores and connector dialogs give the user no box for a key. On
platforms where OAuth sign-in is on (hosted iblai.app included), the same
URL works with no header at all: the app discovers the sign-in from the
server's 401, registers itself, and opens an ibl.ai page in the browser.
- Give the app only the URL,
https://asgi.data.iblai.app/mcp/agent-chat/<unique_id>, and keep its default sign-in (claude.ai: Settings > Connectors > Add custom connector, Authentication left as OAuth; ChatGPT: chatgpt.com/pluginsAdd custom MCP server, Authentication OAuth; Claude Desktop: the same connector dialog).
- The browser lands on the organization's sign-in (the auth SPA for the agent's organization, so its SSO options show), then on a consent page that names the agent and the app: Connect or Cancel. The page shows the signed-in email, Switch account (signs the SPA out and starts again) and Contact support (the organization's support address).
- Back in the app,
get_mentor_responseworks as with a key. The user must be an active member of the agent's organization; for amainagent shared with every organization the connection is on the user's organization, picked on the page when they are on several.
What the token can do: chat with the agent in its URL, and nothing else. It is refused by the other MCP servers and by the REST API. The access token lasts an hour and the app refreshes it silently for up to 30 days of inactivity, so the user signs in again only after a month unused or after disconnecting. The turn is attributed to the signed-in user and billed to the connection's organization, exactly as a key's would be.
Registration takes public clients only (token_endpoint_auth_method none,
PKCE S256, https redirect URIs or http on localhost): claude.ai and ChatGPT
both register that way. A client that asks for a secret gets
invalid_client_metadata.
The user's connected apps
Apps a user connected this way are listed and disconnected with the user's
own session token (Authorization: Token <dm_token>, the browser SDK's
token), never a Platform API Token: each user sees only their own.
# List: app, host, agent, organization, connected and last-used dates, expired flag.
# Standard page envelope (count, next_page, previous_page, results); page_size=,
# and date_filter= / start_date= / end_date= on the connected date.
curl -s "https://api.iblai.app/dm/v1/mcp/connected-apps" \
-H "Authorization: Token $DM_TOKEN"
# Disconnect one: its tokens stop at once; the app must be connected again.
curl -s -X DELETE "https://api.iblai.app/dm/v1/mcp/connected-apps/<id>" \
-H "Authorization: Token $DM_TOKEN" # 204, or 404 when it is not theirsPOST /dm/api/core/session/logout/ ("invalidate all tokens") disconnects
them all and reports the count as tokens_deleted.mcp. Disconnecting the app
on the claude.ai or ChatGPT side revokes the token too.
Notes
- One agent per connection - the agent is fixed by the URL of each server
entry. To chat with several agents, add multiple named entries (e.g.
iblai-api-agent-chat-tutor,iblai-api-agent-chat-advisor), each with its ownunique_idin the URL. - Follow-up questions - pass the
session_idfrom the previous reply to continue the conversation; the agent sees the earlier turns. Omit it to start a new conversation. A session belongs to the token's owner and its agent; a session id of another user, organization or agent is refused. - Owner-mode tokens only (when a key is used) - the turn is attributed to the token's owner and billed to the token's organization like a turn in the chat screen (credits, spend caps and moderation apply). A refused turn (out of credits, a non-owner-mode token, no access to the agent) comes back as a tool error with the reason.
- Which agents - your organization's agents, plus
mainagents shared with every organization (visibility "viewable by anyone"). Those are chattable with any organization's token, and the turn is billed to the caller's organization. - The token lives in client config /
.env- never commit it;.envand local MCP config should stay gitignored. - This is the only runtime surface among the
iblai-api-*skills; everything else (configure, search, recommend, profile, analytics, admin) is a direct-REST skill.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

