Skip to content

feat: add Dataverse CLI as MCP fallback for simple CRUD and N:N#80

Open
arorashivam96 wants to merge 1 commit into
mainfrom
feat/cli-fallback-routing
Open

feat: add Dataverse CLI as MCP fallback for simple CRUD and N:N#80
arorashivam96 wants to merge 1 commit into
mainfrom
feat/cli-fallback-routing

Conversation

@arorashivam96

Copy link
Copy Markdown
Contributor

Summary

  • Adds the Dataverse CLI (npx @microsoft/dataverse) as a middle tier in the tool routing hierarchy: MCP → CLI → SDK → Web API
  • When MCP is unavailable, basic users can perform simple CRUD with a single shell command instead of writing a Python script
  • N:N record association/disassociation now uses CLI data associate/data disassociate instead of raw Web API $ref boilerplate
  • Fixes pre-existing dv-overview token budget violation (5186 > 5000) by extracting tool-routing content to references/
  • Version bump 1.5.01.6.0 (MINOR: new backward-compatible capability)

Files changed

  • dv-overview/SKILL.md — Amend Hard Rule 1 (Python Only → CLI carve-out), Hard Rule 2 (new routing hierarchy), extract Tool Capabilities table to references
  • dv-overview/references/tool-routing.md — New file: full tool capabilities table with CLI row, volume guidance, MCP availability check flow
  • dv-data/SKILL.md — CLI Quick Reference section (create/get/update/delete/associate/disassociate), N:N moved from Web API to CLI, MCP fallback guidance
  • dv-query/SKILL.md — CLI Query Fallback section (query/get/count), updated routing table with MCP-available vs MCP-unavailable columns
  • Version manifests (3 files, 4 fields) — 1.5.01.6.0

Test plan

  • python .github/evals/static_checks.py passes (8 skill files, 45 Python blocks, 8 categories)
  • python .github/evals/version_bump_check.py passes (MINOR bump validated)
  • Manual: CLI commands in skills match actual @microsoft/dataverse CLI surface
  • Manual: Verify agent routes to CLI when MCP is unavailable for simple CRUD
  • Manual: Verify agent routes to SDK for bulk operations (10+ records)

🤖 Generated with Claude Code

…tions

Adds the Dataverse CLI (`npx @microsoft/dataverse`) as a middle tier in the
tool routing hierarchy: MCP -> CLI -> SDK -> Web API. When MCP is unavailable,
basic users can now perform simple CRUD with a single shell command instead of
writing a Python script.

Key changes:
- dv-overview: amend Hard Rules for CLI carve-out, extract tool-routing to
  references/ (fixes pre-existing token budget violation)
- dv-data: add CLI Quick Reference for CRUD + N:N associate/disassociate
- dv-query: add CLI fallback for simple reads, counts, and paginated queries
- Version bump 1.5.0 -> 1.6.0 (MINOR: new capability)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@arorashivam96 arorashivam96 requested a review from a team June 3, 2026 17:03
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