quickbase-mcp-dotnet
Quickbase MCP server for .NET
An MCP server that lets Claude, GitHub Copilot and Cursor read Quickbase data and make previewed, allowlisted changes.
Unofficial project. Not affiliated with Quickbase, Inc.
Why this one
Other Quickbase MCP servers are written in TypeScript or only read data. This one is built for teams that run .NET and keep real company data in Quickbase.
.NET 10. Runs with
dnx, publishes as a native AOT binary and uses the QuickbaseNet SDK for every Quickbase call.Safe writes. Read only by default. Writes go through a preview that returns a
change_id, then a separate apply call. Apps and tables are allowlisted and sensitive fields can be hidden from the model entirely.Azure ready. A second host serves streamable HTTP behind Microsoft Entra ID, reads the Quickbase token from Key Vault with a managed identity and deploys to Azure Container Apps with
azd up.
Related MCP server: QueryShield
Quick start
You need the .NET 10 SDK, a Quickbase user token and the IDs of the apps you want to expose. The app ID is the part after /db/ in the app's URL.
Try it against a sandbox app first, not production data.
Claude Desktop
Add this to claude_desktop_config.json (Settings > Developer > Edit Config):
{
"mcpServers": {
"quickbase": {
"command": "dnx",
"args": ["QuickbaseDotNet.Mcp", "--yes"],
"env": {
"QB_REALM": "acme.quickbase.com",
"QB_USER_TOKEN": "b1234_abcd_0_xxxxxxxxxxxxxxxxxxxxxxxx",
"QB_ALLOWED_APPS": "bqx7a9k2m"
}
}
}
}Claude Code
claude mcp add quickbase \
--env QB_REALM=acme.quickbase.com \
--env QB_USER_TOKEN=b1234_abcd_0_xxxxxxxxxxxxxxxxxxxxxxxx \
--env QB_ALLOWED_APPS=bqx7a9k2m \
-- dnx QuickbaseDotNet.Mcp --yesVS Code
Add this to .vscode/mcp.json. VS Code asks for the token the first time and stores it in its secret storage:
{
"inputs": [
{
"type": "promptString",
"id": "qb-token",
"description": "Quickbase user token",
"password": true
}
],
"servers": {
"quickbase": {
"type": "stdio",
"command": "dnx",
"args": ["QuickbaseDotNet.Mcp", "--yes"],
"env": {
"QB_REALM": "acme.quickbase.com",
"QB_USER_TOKEN": "${input:qb-token}",
"QB_ALLOWED_APPS": "bqx7a9k2m"
}
}
}
}Cursor
Add this to ~/.cursor/mcp.json or .cursor/mcp.json in your project:
{
"mcpServers": {
"quickbase": {
"command": "dnx",
"args": ["QuickbaseDotNet.Mcp", "--yes"],
"env": {
"QB_REALM": "acme.quickbase.com",
"QB_USER_TOKEN": "b1234_abcd_0_xxxxxxxxxxxxxxxxxxxxxxxx",
"QB_ALLOWED_APPS": "bqx7a9k2m"
}
}
}
}Prefer a global install? dotnet tool install -g QuickbaseDotNet.Mcp puts qb-mcp on your PATH. Use qb-mcp as the command and drop the args.
Also listed on Glama, where you can browse the tools and see the quality score before installing.
Tools
Tool | What it does |
| App name, description, time zone and its tables. |
| Tables you can use in an allowed app. |
| Fields with fid, label, type, required, unique and multiple-choice options. Cached for 10 minutes. |
| Records with structured filters, sorting and paging. Returns |
| How many records match a filter. |
| Rows of a saved report, with paging. |
| What a create or update would change, plus validation problems. Returns a |
| Writes a previewed upsert. Write mode only. |
| How many records a delete would remove and a sample of 5. Returns a |
| Deletes previewed records, up to |
The server also exposes each allowed table's schema as a resource at quickbase://{appId}/{tableId}/schema and three prompts: explore_table, find_stale_records and data_quality_check.
Filters are structured so the model never writes Quickbase query syntax:
{
"match": "all",
"conditions": [
{ "field": "Status", "operator": "equals", "value": "Open" },
{ "field": "Spent", "operator": "greater_than", "value": 10000 }
]
}Fields can be labels or fids. Operators are equals, not_equals, contains, starts_with, greater_than, less_than, on_or_after, on_or_before, in_range, is_empty and is_not_empty. Each is checked against the field type. A misspelled label gets an error that lists the closest real labels, so the model can correct itself. A raw where string is accepted as an advanced option and every fid in it is checked.
Results are keyed by label, dates are ISO 8601, text longer than 500 characters is cut and flagged and every response starts with a one-line summary such as Returned 50 of 1,240 records.
Configuration
Variable | Required | Default | Description |
| yes | Realm host, such as | |
| stdio | User token. The HTTP host reads it from Key Vault instead. | |
| yes | Comma separated app IDs. Quickbase has no safe way to list every app, so this is required. | |
| no | all tables in the allowed apps | Comma separated table IDs that narrow the allowed apps. |
| no |
|
|
| no |
| Most rows returned or changed in one call. Hard cap 5000. |
| no | Fids or labels never returned, such as | |
| no | off | File path, |
| no |
| Stdio log level. Logs go to stderr. |
HTTP host only:
Setting | Description |
| Directory (tenant) ID. |
| Application (client) ID of the server's app registration. |
| Vault that holds the user token. Read with the managed identity. |
| Secret name. Defaults to |
| Requests per minute per caller. Defaults to 60. |
| Optional. Shares pending changes across replicas. |
| Turns on the Azure Monitor exporter. |
Settings are checked at startup and every problem is listed at once.
Safety model
The server starts read only. Every call checks the app and table against the allowlists, not only at startup. Hidden fields are left out of queries, results, schemas and suggestions, so the model cannot even learn they exist. Writes take two steps: a preview tool validates the change and returns a change_id that lasts 5 minutes, works once and only for the caller who made it, then an apply tool performs it. Deletes need a filter, are capped at QB_MAX_ROWS and are re-counted before running. Clients that support MCP elicitation also ask the user to confirm. Each call writes a JSON lines audit entry with the caller, tool, table, filter, row count, change_id and outcome, but never field values or tokens.
Azure deployment
The HTTP host serves stateless streamable HTTP at /mcp. It validates Entra ID tokens and maps app roles to permissions: Quickbase.Read sees the read tools and Quickbase.Write also sees preview and apply.
azd auth login
az login
azd env new qbmcp
azd env set QB_REALM acme.quickbase.com
azd env set QB_ALLOWED_APPS bqx7a9k2m
azd env set QB_MODE read
azd upazd up creates an Entra app registration with both roles (skip this by setting ENTRA_CLIENT_ID first), then provisions Container Apps, Container Registry, Key Vault, Log Analytics and Application Insights with a user-assigned managed identity. Put the token in Key Vault once:
az keyvault secret set --vault-name "$(azd env get-value AZURE_KEY_VAULT_NAME)" \
--name quickbase-user-token --value "<user token>"Assign Quickbase.Read or Quickbase.Write to people under Enterprise applications in the Entra admin center. Then connect from VS Code, which signs in with Entra on its own:
{
"servers": {
"quickbase": {
"type": "http",
"url": "https://<your-app>.azurecontainerapps.io/mcp"
}
}
}or from Claude Code with a token from the Azure CLI:
claude mcp add --transport http quickbase https://<your-app>.azurecontainerapps.io/mcp \
--header "Authorization: Bearer $(az account get-access-token --resource api://<client-id> --query accessToken -o tsv)"The container app runs one replica because pending changes live in memory. Set ConnectionStrings__Redis to scale out.
The image is also published to ghcr.io/gitshrini/quickbasenet-mcp on every release.
Example conversations
You: How many open projects are over budget?
Claude calls
describe_tableon Projects, thencount_recordswithStatus equals OpenandOver Budget equals true.Claude: 7 open projects are over budget. The largest overrun is Skylab at 112% of budget.
You: Mark these 3 tasks complete: Pour concrete, Order steel, Hire crane.
Claude calls
query_recordsto find their Record ID#s, thenpreview_upsertand shows you: 2 updates, 1 unchanged (Hire crane was already done).You: Go ahead.
Claude calls
apply_upsertwith thechange_id: Updated 2, unchanged 1.
You: Delete the test projects I made last week.
Claude calls
preview_deletewithName starts_with "TEST"andDate Created on_or_after 2026-11-23, shows 4 matches with a sample and waits. Your client asks you to confirm beforeapply_deleteruns.
Troubleshooting
dnx is not recognized. It ships with the .NET 10 SDK. Run dotnet --version and install 10.0 or later.
The server exits right away. Settings are checked at startup. Your client's MCP log shows the problem list, for example QB_ALLOWED_APPS is required.
Quickbase rejected the user token. Assign the token to each allowed app under My Preferences > Manage my user tokens in Quickbase.
A table is not available. Its app is not in QB_ALLOWED_APPS or the table is not in QB_ALLOWED_TABLES. Call list_tables to see what the server allows.
Write tools are missing. Set QB_MODE=write. Over HTTP the caller also needs the Quickbase.Write role.
change_id is unknown or expired. It lasts 5 minutes and works once. Run the preview again.
401 from the HTTP host. The token's audience must be the server's client ID or api://<client-id>. The issuer must be your tenant.
Watch the traffic. Run npx @modelcontextprotocol/inspector dnx QuickbaseDotNet.Mcp --yes with the same environment variables to list tools and call them by hand.
Building from source
dotnet build
dotnet test
dotnet run --project src/QuickbaseNet.Mcp.Stdio
dotnet publish src/QuickbaseNet.Mcp.Stdio -c Release -r linux-x64 # native AOT
docker build -t quickbasenet-mcp .See CONTRIBUTING.md for the layout.
Related
QuickbaseNet is the .NET SDK this server uses for every Quickbase call. Use it directly when you want typed records, source-generated mappers and retries in your own apps.
License
Available Tools
6 toolscount_recordsCount recordsARead-onlyIdempotent
Counts the records in a table that match a filter without returning them. Use it for how-many questions.
Inputs: table (required), where, filter.
describe_tableDescribe tableARead-onlyIdempotent
Lists a table's fields with fid, label, type, required, unique and the choices of multiple-choice fields. Call it before filtering, sorting or writing so you use real labels.
Inputs: table (required).
get_appGet appARead-onlyIdempotent
Gets a Quickbase app's name, description, time zone and tables. Use it first to learn what an app holds and to find table IDs.
Inputs: appId.
list_tablesList tablesARead-onlyIdempotent
Lists the tables you can use in a Quickbase app, with their IDs and descriptions. Use it to find the table ID other tools need.
Inputs: appId.
query_recordsQuery recordsARead-onlyIdempotent
Reads records from a table with an optional filter, sort and paging. Use it to look up or list records. When the result has next_skip, call again with skip set to it for the next page.
Inputs: table (required), skip, sort, limit, +3 more.
run_reportRun reportARead-onlyIdempotent
Runs a saved Quickbase report and returns one page of its rows. Use it when the user names a report or its ID. When the result has next_skip, call again with skip set to it.
Inputs: table (required), reportId (required), skip, limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct level of the hierarchy (app, table, fields, records, reports, counts), and the three data-read tools are cleanly separated by purpose (filtered query vs. saved report vs. count). The only real overlap is get_app, whose description says it also returns tables, blurring it slightly with list_tables.
All six tools follow a strict snake_case verb_noun pattern (get_app, list_tables, describe_table, query_records, run_report, count_records). The verbs are used consistently with their meaning across the set.
Six tools is well within a focused range, and each one covers a distinct step of the discovery-to-read workflow with no filler. Nothing feels padded or redundant.
The surface is entirely read-only: there is no way to create, update, or delete records, nor to create tables or fields, so any write task will dead-end. The read path itself (app → tables → fields → query/report/count) is thorough, which keeps this from being a 1.
Maintenance
Related MCP Connectors
Ask your Quickbase apps in plain language. Read-only by default; writes need human approval.
Query 40 databases from Claude, ChatGPT, or Cursor — on any device. Read-only, encrypted, audited.
Query records, run reports and formulas, and insert or update records in Quickbase.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Related MCP Servers
- AlicenseCqualityDmaintenanceProvides a standardized interface for interacting with Quickbase's JSON RESTful API through Claude and other MCP clients, supporting operations like querying records, managing table relationships, and handling file attachments.140 npm16MIT
- AlicenseNot gradedqualityCmaintenanceSecure SQL proxy for AI agents. Translates natural language to safe SQL via Claude, validates at the AST level (SELECT-only, no DDL/DML), enforces per-agent row-level security, and audit-logs every query.1MIT
- AlicenseAqualityBmaintenanceLets AI assistants like Cursor and Claude safely explore your database and answer questions about your data in plain English.41MIT
- AlicenseNot gradedqualityDmaintenanceGives an LLM read-only, schema-aware SQL database access so users can ask business questions in plain English and receive the exact result set, with malformed queries returned as errors for automatic retry and correction.MIT