MCP DWH Server
MCP DWH Server
Akij DWH(Data Warehouse) SQL Server 데이터베이스에 대한 읽기 전용 액세스를 제공하는 원격 MCP 서버입니다. 누구나 이 서버에 연결하여 제조 OEE 데이터, SBU 목록을 조회하고 임시 SQL 쿼리를 실행할 수 있습니다.
사용 가능한 도구
도구 | 설명 |
| DWH에 대해 읽기 전용 SELECT 쿼리 실행 |
| 데이터베이스, 테이블 및 구성 나열 |
| SBU 및 날짜별로 집계된 OEE 데이터 가져오기 |
| 코드와 이름이 포함된 모든 SBU 나열 |
Related MCP server: mssql-mcp
로컬 개발
cd mcp-dwh-server
npm install
node index.js서버는 http://localhost:3000/mcp 에서 실행됩니다.
Vercel에 배포
Vercel CLI 설치:
npm i -g vercel이 디렉터리에서
vercel실행Vercel 대시보드에서 환경 변수를 설정합니다.
MSSQL_SERVER=203.202.241.211MSSQL_PORT=1433MSSQL_USER=mcp_userMSSQL_PASSWORD=(your password)MSSQL_DATABASE=DWHMSSQL_ENCRYPT=falseMSSQL_TRUST_SERVER_CERTIFICATE=true
OpenCode에서 연결
opencode.json에 다음을 추가합니다:
{
"mcp": {
"dwh-server": {
"type": "remote",
"url": "https://your-app.vercel.app/mcp"
}
}
}모든 MCP 클라이언트에서 연결
StreamableHTTP 전송 URL을 사용합니다:
https://your-app.vercel.app/mcp보안 참고 사항
SELECT 쿼리만 허용됩니다 (INSERT/UPDATE/DELETE/DDL 불가)
데이터베이스 자격 증명은 환경 변수로 저장됩니다
교차 출처 액세스를 위해 CORS가 활성화되어 있습니다
프로덕션 사용을 위해 인증 추가를 고려하세요
Related MCP Connectors
Securely query and analyze business data, dashboards, projections, alerts, and knowledge.
Query your own databases and Data Sets with read-only SQL, and build hosted dashboards.
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.
Query your databases and build dashboards, Streamlit apps and reports your team logs in to.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables read-only exploration and querying of Microsoft SQL Server databases through a standardized interface.2ISC
- AlicenseNot gradedqualityDmaintenanceLocal MCP server for running ad hoc T-SQL queries against SQL Server databases, read-only by default with security safeguards.1,382 npmMIT
- AlicenseAqualityDmaintenanceProvides read-only SQL Server access via MCP tools and a chat interface for natural-language database queries.4ISC
- 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.-