DuckDB MCP Server
Allows interaction with a DuckDB database, providing tools for running SQL queries, listing tables, describing table schemas, and retrieving paginated data from tables.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@DuckDB MCP ServerShow me the schema for the suppliers table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Token Management
Current Auth Model
This server uses a static bearer token stored in .env as MCP_BEARER_TOKEN.
The token is validated on every request. Invalid or missing tokens receive
an HTTP 401 response with a WWW-Authenticate header (MCP spec compliant).
Token Storage Rules
Token lives in
.envONLY — never hardcoded in source.envis listed in.gitignore— never committed to GitHub.env.examplecontains the key name only, no value:MCP_BEARER_TOKEN=
Token Rotation Procedure
Rotate the token any time you suspect exposure, or on a scheduled basis (recommended: every 90 days).
Step 1 — Generate a new token Run this in your terminal to generate a secure random token:
python -c "import secrets; print(secrets.token_urlsafe(32))"Step 2 — Update .env in Codespaces
# Open .env
nano .env
# Replace the value:
MCP_BEARER_TOKEN=<paste new token here>
# Save and exit: Ctrl+X → Y → EnterStep 3 — Update Fuelix
Go to your MCP server config in Fuelix (ideas.fuelix.ai or copilot settings)
Update the bearer token to match the new value
Save
Step 4 — Restart the server
# If running with uvicorn:
uvicorn main:app --host 0.0.0.0 --port 8000 --reloadStep 5 — Verify
# Test with new token — should return 200:
curl -H "Authorization: Bearer <new_token>" https://localhost:8000/health
# Test with old token — should return 401:
curl -H "Authorization: Bearer <old_token>" https://localhost:8000/healthStep 6 — Confirm and close
Old token is now invalid
No code changes needed — token lives in env only
Document rotation date below
Rotation Log
Date | Rotated By | Reason |
Aug 5 2026 | Pooven Pillay | Initial setup |
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceEnables DuckDB database interaction through MCP, supporting SQL queries, table creation, and schema inspection with optional read-only mode.1MIT
- FlicenseNot gradedqualityFmaintenanceProvides read-only SQL query access to Postgres and DuckDB databases via MCP tools, with extensive security hardening for public endpoints.1
- AlicenseBqualityCmaintenanceEnables SQL querying over CSV and Excel files using DuckDB, providing tools to load files, inspect schemas, and run read-only queries via MCP.5MIT
- FlicenseNot gradedqualityDmaintenanceEnables read-only SQL querying and schema inspection across MSSQL, PostgreSQL, and MySQL databases via MCP tools.
Related MCP Connectors
Explore, query, and inspect SQLite databases with ease. List tables, preview results, and view det…
Read-only MCP access to sessions, funnels, campaigns, errors, live visitors, and anomalies.
Read-only MCP server for wafergraph.com's semiconductor & AI supply-chain data: 30 tools, no auth.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/poovenp/duckdb-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server