Copilot SQL MCP POC
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., "@Copilot SQL MCP POCWhat were the top 5 products sold last month?"
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.
Copilot SQL MCP POC
Proof of concept for answering business questions over local SQL Server WideWorldImporters data through MCP.
Current Milestone
Milestone 5: local Streamable HTTP MCP server.
Status:
Legacy Cursor implementation preserved in
legacy/.Shared app package created.
STDIO entry point added as
server_stdio.py.Existing MCP tool names preserved.
Existing Cursor MCP App resource URI preserved.
Data dictionary copied from the legacy implementation.
Cursor renderer copied from the legacy implementation.
Unit tests added for SQL validation and result handling.
Shared
VisualResponsemodel added.Cursor visual results now pass through the neutral model.
Cursor renderer can normalize
visual_responsepayloads.SQL remains excluded from public visual response payloads.
Adaptive Card renderer added for KPI, bar, horizontal bar, line, pie, doughnut, table, and fallback outputs.
Copilot-facing output helper added with business result, Adaptive Card, and fallback text.
Streamable HTTP entry point added as
server_http.py./healthendpoint added.MCP HTTP endpoint defaults to
/mcp.Manual Cursor acceptance questions verified against live SQL Server.
Related MCP server: SqlAugur
Local STDIO Server
Run the refactored Cursor-compatible MCP server with:
python server_stdio.pyLocal Streamable HTTP Server
Run the local HTTP MCP server with:
python server_http.pyDefaults:
host:
0.0.0.0port:
8000, orPORTif setMCP endpoint:
/mcp, orMCP_HTTP_PATHif sethealth endpoint:
/health
Example health URL:
http://localhost:8000/healthThe original working implementation remains available at:
legacy/sqlserver_mcp_wwi_cursor_apps_business.pyConfiguration
The refactored server keeps the legacy local defaults:
SQLSERVER_HOST, default050027346-3SQLSERVER_DB, defaultWideWorldImportersSQLSERVER_USER, optionalSQLSERVER_PASS, optional legacy password variableSQLSERVER_PASSWORD, optional preferred password variableSQLSERVER_DRIVER, defaultODBC Driver 17 for SQL Server
If no SQL user/password is provided, the connection uses Windows trusted authentication, matching the legacy Cursor setup.
Local state files default to the legacy/ directory for compatibility:
mcp_memory.txtmcp_pending_suggestions.txtmcp_queries.log
Override that directory with MCP_STATE_DIR if needed.
Tests
The current tests use the Python standard library and do not require a live SQL Server:
python -m unittest discover -s tests -p "test_*.py" -vManual Cursor and SQL Server acceptance checks are listed in
docs/acceptance_tests.md.
The shared visual contract is summarized in docs/visual_contract.md.
Adaptive Card rendering notes are in docs/adaptive_card_examples.md.
Local HTTP setup notes are in docs/local_http.md.
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.
Latest Blog Posts
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/PhilFer1973/copilot-sql-mcp-poc'
If you have feedback or need assistance with the MCP directory API, please join our Discord server