Skip to content

feat: convert onboarding skill to MCP-only#45

Merged
vahidlazio merged 2 commits into
mainfrom
feat/onboarding-mcp-only
Jul 10, 2026
Merged

feat: convert onboarding skill to MCP-only#45
vahidlazio merged 2 commits into
mainfrom
feat/onboarding-mcp-only

Conversation

@vahidlazio

Copy link
Copy Markdown
Collaborator

Summary

Converts the onboarding skill from REST API calls to MCP tool calls for all Confidence operations. Only create-account remains on REST (no account exists yet to authenticate MCP).

What changed

Main skill (onboard-confidence/SKILL.md):

  • invite-user: REST curl → inviteUser MCP tool
  • create-client: REST curl → createClient + getClientSecret MCP tools
  • setup-wizard: removed REST fallback, MCP auth required at Step 2 (not optional)
  • Updated MCP tools reference with all 15 tools
  • Removed "What stays on REST" items that moved to MCP

Warehouse skills (all 4 types):

  • Replaced curl to metrics.*/v1/dataWarehouseConfig:validatevalidateWarehouseConfig
  • Replaced curl to metrics.*/v1/dataWarehousescreateWarehouse
  • Replaced curl to connectors.*/v1/flagAppliedConnectionscreateFlagAppliedConnection
  • Replaced curl to connectors.*/v1/eventConnectionscreateEventConnection
  • Replaced curl to metrics.*/v1/assignmentTablescreateAssignmentTable
  • Snowflake: replaced curl to iam.*/v1/cryptoKeyscreateCryptoKey
  • Removed token management, Auth0 scripts, gRPC transcoding rules (~1400 lines)
  • Kept all cloud-provider ops (gcloud, aws, snowsql, bq) as-is

Depends on

konfidens-mcp PR #348 (deployed) which added all the MCP tools these skills now use.

Test plan

  • Run /onboard-confidence setup-wizard end-to-end with MCP
  • Run /onboard-confidence invite-user with MCP
  • Run /onboard-confidence setup-warehouse for at least one warehouse type
  • Verify create-account still works via REST (no MCP needed)

🤖 Generated with Claude Code

vahidlazio and others added 2 commits July 8, 2026 16:02
Replace all Confidence REST API calls with MCP tool calls across the
onboarding skill and all 4 warehouse setup skills. Only create-account
remains on REST (no account exists yet to authenticate MCP).

Changes:
- invite-user: REST curl → mcp__confidence-flags__inviteUser
- create-client: REST curl → createClient + getClientSecret MCP tools
- setup-wizard: remove REST fallbacks, require MCP auth at Step 2
- setup-warehouse (all 4 types): replace curl calls to metrics/connectors
  APIs with validateWarehouseConfig, createWarehouse,
  createFlagAppliedConnection, createEventConnection,
  createAssignmentTable, and createCryptoKey MCP tools
- Remove ~1400 lines of token management, Auth0 scripts, REST
  templates, and gRPC transcoding rules that are no longer needed

Cloud-provider operations (gcloud, aws, snowsql, bq) and telemetry
remain as Bash commands — only Confidence API calls moved to MCP.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
After /mcp auth, the agent waited for explicit user confirmation due to
local-command-caveat wrapping. Now proceeds on any next user message.

Targeting rule defaulted to user_id which doesn't exist on new accounts.
Now checks context schema first to use the correct entity field.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vahidlazio vahidlazio merged commit 6d9cb85 into main Jul 10, 2026
1 check passed
@vahidlazio vahidlazio deleted the feat/onboarding-mcp-only branch July 10, 2026 14:57
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.

2 participants