Skip to main content
Any Framework

An MCP (Model Context Protocol) server for Shiny.DocumentDb stores, over stdio. Point Claude Code, Claude Desktop, Copilot or any MCP client at a store and let it explore and query the data β€” read-only by default, with page caps and per-collection scope filters.

Published
Sep 21, 2026
1mo ago
Total Downloads
2.0K
2,050

Install

dotnet add package ShinyDocDbMcp --version 14.0.0-beta-0004

No framework information available.

README

ShinyDocDbMcp

An MCP (Model Context Protocol) server over a Shiny.DocumentDb store, speaking stdio β€” point Claude Code, Claude Desktop, Copilot or any other MCP client at a database and let it explore and query the data.

dotnet tool install -g ShinyDocDbMcp
// .mcp.json
{
  "mcpServers": {
    "documentdb": {
      "command": "shiny-documentdb-mcp",
      "args": ["--provider", "sqlite", "--connection", "Data Source=app.db"]
    }
  }
}

Connecting

shiny-documentdb-mcp --profile prod-readonly                        # a saved ShinyDocDbMyAdmin connection
shiny-documentdb-mcp --provider sqlite --connection "Data Source=app.db"
shiny-documentdb-mcp --config ./documentdb-mcp.json                 # collections, scopes, capabilities

Saved profiles are the ones the admin tools already hold, decrypted by the same key. This tool stores no credentials of its own and never accepts them as tool arguments.

What the model can and cannot do

  • Read-only by default. --allow-writes is one of two locks; the collection must opt in as well, and a collection with a scope filter can never be writable.
  • Page caps (--max-page-size, default 100) so a model cannot pull a table into its context.
  • Scope filters (where in the config file) are applied server-side and are invisible to the model.
  • No raw SQL tool, at all, by design.
  • No schema mutation β€” the admin tools own that, interactively.

Full documentation: https://shinylib.net/documentdb/mcp

Changes from Previous Version

No structural changes between v14.0.0-beta-0003 and v14.0.0-beta-0004.

Adoption Assessment

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

This version is marked prerelease. Validate its API and upgrade path before production use.No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.

Related Guides & Workflows

Learn how to evaluate, integrate, or audit this package in your .NET project.