Skip to content

Commit 4a7eb21

Browse files
Merge pull request modelcontextprotocol#320 from modelcontextprotocol/justin/remerge-docs
Incorporate missed commits from docs repo
2 parents 8765f93 + 0cd951f commit 4a7eb21

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

docs/clients.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ This page provides an overview of applications that support the Model Context Pr
3434
| [SpinAI][SpinAI] |||||| Supports tools for Typescript AI Agents |
3535
| [Superinterface][Superinterface] |||||| Supports tools |
3636
| [TheiaAI/TheiaIDE][TheiaAI/TheiaIDE] |||||| Supports tools for Agents in Theia AI and the AI-powered Theia IDE |
37+
| [VS Code GitHub Copilot][VS Code] |||||| Supports tools, roots, dynamic discovery, secure secret configuration, and one-click installation |
3738
| [Windsurf Editor][Windsurf] |||||| Supports tools with AI Flow for collaborative development. |
3839
| [Witsy][Witsy] |||||| Supports tools in Witsy. |
3940
| [Zed][Zed] |||||| Prompts appear as slash commands |
@@ -63,6 +64,7 @@ This page provides an overview of applications that support the Model Context Pr
6364
[SpinAI]: https://spinai.dev
6465
[Superinterface]: https://superinterface.ai
6566
[TheiaAI/TheiaIDE]: https://eclipsesource.com/blogs/2024/12/19/theia-ide-and-theia-ai-support-mcp/
67+
[VS Code]: https://code.visualstudio.com/
6668
[Windsurf]: https://codeium.com/windsurf
6769
[Witsy]: https://github.com/nbonamy/witsy
6870
[Zed]: https://zed.dev
@@ -289,6 +291,16 @@ Theia AI and Theia IDE's MCP integration provide users with flexibility, making
289291
- [Theia IDE and Theia AI MCP Announcement](https://eclipsesource.com/blogs/2024/12/19/theia-ide-and-theia-ai-support-mcp/)
290292
- [Download the AI-powered Theia IDE](https://theia-ide.org/)
291293

294+
### VS Code GitHub Copilot
295+
[VS Code](https://code.visualstudio.com/) integrates MCP with GitHub Copilot through [agent mode](https://code.visualstudio.com/docs/copilot/chat/chat-agent-mode), allowing direct interaction with MCP-provided tools within your agentic coding workflow. Configure servers in Claude Desktop, workspace or user settings, with guided MCP installation and secure handling of keys in input variables to avoid leaking hard-coded keys.
296+
297+
**Key features:**
298+
- Support for stdio and server-sent events (SSE) transport
299+
- Per-session selection of tools per agent session for optimal performance
300+
- Easy server debugging with restart commands and output logging
301+
- Tool calls with editable inputs and always-allow toggle
302+
- Integration with existing VS Code extension system to register MCP servers from extensions
303+
292304
### Windsurf Editor
293305
[Windsurf Editor](https://codeium.com/windsurf) is an agentic IDE that combines AI assistance with developer workflows. It features an innovative AI Flow system that enables both collaborative and independent AI interactions while maintaining developer control.
294306

docs/sdk/java/mcp-server.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -433,7 +433,8 @@ var calculatorTool = new McpServerFeatures.SyncToolSpecification(
433433

434434
// Create a sampling request
435435
McpSchema.CreateMessageRequest request = McpSchema.CreateMessageRequest.builder()
436-
.content(new McpSchema.TextContent("Calculate: " + arguments.get("expression")))
436+
.messages(List.of(new McpSchema.SamplingMessage(McpSchema.Role.USER,
437+
new McpSchema.TextContent("Calculate: " + arguments.get("expression")))
437438
.modelPreferences(McpSchema.ModelPreferences.builder()
438439
.hints(List.of(
439440
McpSchema.ModelHint.of("claude-3-sonnet"),

0 commit comments

Comments
 (0)