Skip to content

docs(iblai-agent-mcp): add connector model, resolution order & in-chat OAuth - #17

Open
mamigot wants to merge 1 commit into
mainfrom
docs/mcp-skill-augment
Open

docs(iblai-agent-mcp): add connector model, resolution order & in-chat OAuth#17
mamigot wants to merge 1 commit into
mainfrom
docs/mcp-skill-augment

Conversation

@mamigot

@mamigot mamigot commented Jul 18, 2026

Copy link
Copy Markdown
Member

What

Augments the iblai-agent-mcp skill (skills/iblai-agent-mcp/SKILL.md) with MCP concepts and runtime behavior that the ibl.ai /developer MCP docs document but the skill was missing or covered only thinly. Additions are conceptual/behavioral only — no existing content was rewritten or reordered, and no new endpoints or request shapes were invented (the skill's own api.iblai.app shapes and user|mentor|tenant scope terms are preserved).

What was added (three new sections before ## Notes)

  1. Connector model — the three cooperating objects (MCP serverMCP server connectionconnected service) and how they relate, plus the auth_type (how: none|token|oauth2) vs auth_scope/scope (whose: user|mentor|tenant) orthogonality, and that only oauth2 + user triggers the in-chat prompt. Also documents is_featured (lets admins in other orgs create their own connections).
  2. Runtime credential resolution — the first-match-wins priority order (user → mentor → tenant → featured global fallback → fail), and that OAuth tokens auto-refresh near expiry.
  3. In-chat OAuth (per-user oauth2 connectors) — the events emitted on the live chat socket when a per-user oauth2 connector has no connection yet: oauth_required (with auth_url), oauth_connection_resolved, warning (503), error (400); plus the ~10s poll interval and ~300s timeout, and that completing OAuth after a timeout still works.

Source

Content is drawn from the ibl.ai /developer MCP docs:

  • docs-content/developer/agents/mcp-authentication/architecture.md
  • docs-content/developer/agents/mcp-authentication/mcp-connections.md
  • docs-content/developer/agents/mcp-authentication/oauth-connectors.md
  • docs-content/developer/agents/mcp-authentication/in-chat-mcp-events.md

Terminology was mapped to the skill's existing API vocabulary (docs platformtenant, agentmentor) so the skill stays internally consistent.

🤖 Generated with Claude Code

… OAuth

Augment the MCP agent skill with conceptual/behavioral coverage from the
ibl.ai /developer MCP docs that was missing or thinner in the skill:

- Connector model: server / connection / connected-service relationship
- auth_type vs auth_scope orthogonality (how vs whose credentials)
- Runtime credential resolution order (user > mentor > tenant > featured > fail)
- In-chat OAuth events for per-user oauth2 connectors
  (oauth_required / oauth_connection_resolved / warning / error, poll & timeout)
- is_featured cross-org semantics and automatic OAuth token refresh

Source: docs-content/developer/agents/mcp-authentication/{architecture,
mcp-connections,oauth-connectors,in-chat-mcp-events}.md

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant