Skip to content

API guide: register MCP server #8260

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

API guide: register MCP server #8260

wants to merge 2 commits into from

Conversation

ntrogh
Copy link
Contributor

@ntrogh ntrogh commented Apr 9, 2025

Fixes #8216

@ntrogh ntrogh requested a review from isidorn April 9, 2025 08:38
@isidorn isidorn requested review from digitarald and connor4312 April 9, 2025 08:39
@isidorn
Copy link
Contributor

isidorn commented Apr 9, 2025

Assigning @digitarald and @connor4312 as reviewers first

@vs-code-engineering vs-code-engineering bot added this to the April 2025 milestone Apr 9, 2025
@connor4312
Copy link
Member

connor4312 commented Apr 9, 2025

I would not merge this until we finalize an API, as it's not very useful for extensions until then and is still subject to change

@ntrogh
Copy link
Contributor Author

ntrogh commented Apr 9, 2025

Thanks. I'll hold off on merging this.

@ntrogh
Copy link
Contributor Author

ntrogh commented May 5, 2025

TODO: incorporate API updates from microsoft/vscode-extension-samples#1182

@connor4312
Copy link
Member

The MCP extension API is now finalized so we should be good to go here :)

Final version: https://github.com/microsoft/vscode/pull/248244/files#diff-0a75aed19c118603eb96332bc0b9c2d7867f4182346d16d18b7fc31b6ceeb321

@isidorn isidorn modified the milestones: April 2025, May 2025 May 8, 2025
Copy link

@Rakalah Rakalah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

😪

- [Add MCP servers to chat](/docs/copilot/chat/mcp-servers.md)
- [Language Model API reference](/api/references/vscode-api.md#lm)
- [Register an MCP server in a VS Code extension](/api/extension-guides/mcp.md)
- [Use MCP tools in agent mode](/docs/copilot/chat/mcp-servers.md)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- [Use MCP tools in agent mode](/docs/copilot/chat/mcp-servers.md)
- [Use MCP tools in agent mode](/docs/- [ ] copilot/chat/mcp-servers.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MCP server as VS Code extension
5 participants