MCP DWH Server
Click on "Deploy 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., "@MCP DWH Servershow me OEE data by SBU for the last 7 days"
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.
MCP DWH Server
Remote MCP server that provides read-only access to the Akij DWH (Data Warehouse) SQL Server database. Anyone can connect to this server to query manufacturing OEE data, SBU lists, and run ad-hoc SQL queries.
Tools Available
Tool | Description |
| Execute read-only SELECT queries against the DWH |
| List databases, tables, and configuration |
| Get OEE data aggregated by SBU and date |
| List all SBUs with codes and names |
Related MCP server: mssql-mcp
Local Development
cd mcp-dwh-server
npm install
node index.jsServer runs on http://localhost:3000/mcp
Deploy to Vercel
Install Vercel CLI:
npm i -g vercelRun:
vercelin this directorySet environment variables in Vercel dashboard:
MSSQL_SERVER=203.202.241.211MSSQL_PORT=1433MSSQL_USER=mcp_userMSSQL_PASSWORD= (your password)MSSQL_DATABASE=DWHMSSQL_ENCRYPT=falseMSSQL_TRUST_SERVER_CERTIFICATE=true
Connect from OpenCode
Add to your opencode.json:
{
"mcp": {
"dwh-server": {
"type": "remote",
"url": "https://your-app.vercel.app/mcp"
}
}
}Connect from any MCP client
Use the StreamableHTTP transport URL:
https://your-app.vercel.app/mcpSecurity Notes
Only SELECT queries are allowed (no INSERT/UPDATE/DELETE/DDL)
Database credentials are stored as environment variables
CORS is enabled for cross-origin access
Consider adding authentication for production use
This server cannot be deployed
Maintenance
Related MCP Connectors
- dataOAuthco.thinair
Read-only PostgreSQL, MySQL, SQL Server access via MCP — 24 dialect-aware hosted tools.
Draxlr's remote MCP server connects AI assistants to your SQL databases and dashboards. Explore schemas, run read-only queries, manage saved queries and dashboards, and export results, all with row-level security so each user sees only their own data.
Read-only Texas oil & gas data: operator directory, county production, and dataset catalog.
Read-only NuMetric.work accounting & ERP data: statements, KPIs, reports, invoices, documents.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables read-only exploration and querying of Microsoft SQL Server databases through a standardized interface.2-
- AlicenseNot gradedqualityCmaintenanceLocal MCP server for running ad hoc T-SQL queries against SQL Server databases, read-only by default with security safeguards.591 npmMIT
- FlicenseAqualityCmaintenanceProvides read-only SQL Server access via MCP tools and a chat interface for natural-language database queries.4-
- FlicenseNot gradedqualityCmaintenanceExposes read-only tools for querying production plan variance, issue tracking, plants, and shop floors from a DWH database, mirroring a dashboard's data.-