Skip to content

Commit 1cc33b8

Browse files
committed
Refactor and enhance clarity in MCP tool options documentation
1 parent ec0529b commit 1cc33b8

1 file changed

Lines changed: 23 additions & 15 deletions

File tree

learn-pr/wwl-data-ai/design-implement-sql-solutions-ai-assisted-tools/includes/5-configure-model-mcp-tool-options.md

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,20 @@ Now that you have GitHub Copilot and Fabric Copilot enabled, you can customize h
22

33
## Understanding model selection
44

5-
GitHub Copilot supports multiple AI models, each with different capabilities and performance characteristics. You can select which model to use for different scenarios based on your needs.
5+
GitHub Copilot supports multiple AI models, each with different capabilities and performance characteristics. You can select which model to use for different scenarios based on your needs. Available models typically include:
66

7-
**Available models typically include:**
87
- **GPT**: Advanced reasoning capabilities, excellent for complex T-SQL generation and database design questions
98
- **Claude models**: Strong at explaining code and providing detailed documentation
109
- **Gemini models**: Available in some configurations with different strengths
1110

12-
To change models in a Copilot chat session:
11+
To change models in a Copilot chat session in **SSMS**:
1312

14-
**In SSMS:**
1513
1. Open the Copilot Chat window
1614
2. Look for the model selector dropdown at the top of the chat
1715
3. Select the model you want to use for your current session
1816

19-
**In VS Code:**
17+
To change models in a Copilot chat session in **VS Code**:
18+
2019
1. Open the Copilot Chat panel (**Ctrl+Alt+I**)
2120
2. Use the model picker in the chat interface
2221
3. Switch models as needed for different tasks
@@ -42,18 +41,27 @@ MCP follows a client-server architecture:
4241

4342
GitHub Copilot supports MCP integration through agent mode in VS Code. To [use MCP servers in VS Code](/azure/data-api-builder/mcp/quickstart-visual-studio-code?azure-portal=true):
4443

45-
**Enable Agent Mode:**
44+
### Enable agent mode
45+
46+
Agent mode allows GitHub Copilot to use external tools, including MCP servers, to gather context and perform actions on your behalf.
47+
4648
1. Open the Copilot Chat panel in VS Code
4749
2. Look for the mode selector (Ask, Edit, or Agent)
4850
3. Switch to **Agent** mode to access MCP tools
4951

50-
**Add an MCP Server:**
52+
### Add an MCP Server
53+
54+
You can add MCP servers to your VS Code workspace using the Command Palette or by manually editing the configuration file.
55+
5156
1. Open the Command Palette (**Ctrl+Shift+P**)
5257
2. Type **MCP: Add Server** and select it
5358
3. Choose the server type (HTTP or Stdio)
5459
4. Enter the server URL or configuration
5560

56-
**Manage MCP Tools:**
61+
### Manage MCP Tools
62+
63+
Once MCP servers are added, you can control which tools are active for each chat session.
64+
5765
1. In Agent mode, select the tools icon in the chat panel
5866
2. View available MCP servers and their tools
5967
3. Enable or disable specific tools as needed
@@ -64,11 +72,11 @@ When MCP tools are configured, you'll see them listed when you click the tools i
6472

6573
Several MCP server options are available for connecting AI assistants to SQL databases:
6674

67-
**SQL MCP Server**: Connects to SQL Server and Azure SQL databases using Microsoft's open-source solution built on Data API builder. This option provides a secure, managed way to expose database metadata to AI assistants.
75+
- **SQL MCP Server**: Connects to SQL Server and Azure SQL databases using Microsoft's open-source solution built on Data API builder. This option provides a secure, managed way to expose database metadata to AI assistants.
6876

69-
**Microsoft Fabric MCP Server**: Connects to [Fabric data agents as MCP servers](/fabric/data-science/data-agent-mcp-server?azure-portal=true), enabling AI assistants to query lakehouses, warehouses, and SQL databases within Fabric workspaces.
77+
- **Microsoft Fabric MCP Server**: Connects to [Fabric data agents as MCP servers](/fabric/data-science/data-agent-mcp-server?azure-portal=true), enabling AI assistants to query lakehouses, warehouses, and SQL databases within Fabric workspaces.
7078

71-
**Azure MCP Server**: Provides broader Azure resource integration, including database services.
79+
- **Azure MCP Server**: Provides broader Azure resource integration, including database services.
7280

7381
To configure a SQL MCP server in VS Code:
7482

@@ -104,13 +112,13 @@ This approach allows you to use the same data agent from both the Fabric portal
104112

105113
## Best practices for model and MCP configuration
106114

107-
**Start with defaults**: Begin with default model and MCP settings, then adjust based on your experience. Not every scenario requires the most advanced configuration.
115+
- **Start with defaults**: Begin with default model and MCP settings, then adjust based on your experience. Not every scenario requires the most advanced configuration.
108116

109-
**Match models to tasks**: Use more capable models for complex design decisions, simpler models for routine code completion.
117+
- **Match models to tasks**: Use more capable models for complex design decisions, simpler models for routine code completion.
110118

111-
**Limit MCP scope**: Configure MCP connections with least-privilege access. If your AI workflow only needs schema information, don't grant data read permissions.
119+
- **Limit MCP scope**: Configure MCP connections with least-privilege access. If your AI workflow only needs schema information, don't grant data read permissions.
112120

113-
**Test configurations**: After changing model or MCP settings, verify the assistant still provides accurate suggestions. Different models might interpret prompts differently.
121+
- **Test configurations**: After changing model or MCP settings, verify the assistant still provides accurate suggestions. Different models might interpret prompts differently.
114122

115123
> [!IMPORTANT]
116124
> MCP servers establish direct connections to your databases. Ensure your network security policies allow these connections and that authentication follows the security best practices covered earlier in this module.

0 commit comments

Comments
 (0)