Skip to content

Commit 3e7c4eb

Browse files
authored
Merge pull request #8449 from microsoft/fix-api-bookmarks
Fix bookmarks
2 parents fd1538f + 815c0d6 commit 3e7c4eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/extension-guides/mcp.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Instead of using MCP servers to extend the chat functionality, you can also [con
2222
2323
## Register an MCP server
2424

25-
To register an MCP server in your extension, use the `vscode.lm.registerMcpServerDefinitionProvider` API to provide the [MCP configuration](/docs/copilot/chat/mcp-servers#configuration-format) for the server. The API takes a `providerId` string and a `McpServerDefinitionProvider` object.
25+
To register an MCP server in your extension, use the `vscode.lm.registerMcpServerDefinitionProvider` API to provide the [MCP configuration](/docs/copilot/chat/mcp-servers#_configuration-format) for the server. The API takes a `providerId` string and a `McpServerDefinitionProvider` object.
2626

2727
Before calling this method, extensions must contribute the `contributes.mcpServerDefinitionProviders` extension point in the `package.json` with the `id` of the provider.
2828

@@ -120,4 +120,4 @@ Get started with a full example of how to register an MCP server in a VS Code ex
120120
- [Model Context Protocol Documentation](https://modelcontextprotocol.io/)
121121
- [Use MCP tools in agent mode](/docs/copilot/chat/mcp-servers)
122122
- [Contribute a language model tool](/api/extension-guides/tools)
123-
- [Language Model API reference](/api/references/vscode-api#lm)
123+
- [Language Model API reference](/api/references/vscode-api#_lm)

0 commit comments

Comments
 (0)