Skip to content

Commit a7d0c60

Browse files
ntroghconnor4312digitaraldTylerLeonhardt
authored
MCP Developer Guide (#8499)
* First draft * Update ToC and sitemap * Fix link to MCP for beginners * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Connor Peet <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Connor Peet <[email protected]> * Fix URL handler * Finalize content * Edit pass * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Connor Peet <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Connor Peet <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Connor Peet <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Connor Peet <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Connor Peet <[email protected]> * Update after review * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Harald Kirschner <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Harald Kirschner <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Harald Kirschner <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Harald Kirschner <[email protected]> * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Harald Kirschner <[email protected]> * Fix typo * Update docs/copilot/guides/mcp-developer-guide.md Co-authored-by: Tyler James Leonhardt <[email protected]> * Update auth section after review --------- Co-authored-by: Connor Peet <[email protected]> Co-authored-by: Harald Kirschner <[email protected]> Co-authored-by: Tyler James Leonhardt <[email protected]>
1 parent 9368b19 commit a7d0c60

14 files changed

+295
-13
lines changed

build/sitemap.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -440,6 +440,11 @@
440440
<changefreq>weekly</changefreq>
441441
<priority>0.8</priority>
442442
</url>
443+
<url>
444+
<loc>https://code.visualstudio.com/docs/copilot/guides/mcp-developer-guide</loc>
445+
<changefreq>weekly</changefreq>
446+
<priority>0.8</priority>
447+
</url>
443448
<url>
444449
<loc>https://code.visualstudio.com/docs/copilot/reference/copilot-vscode-features</loc>
445450
<changefreq>weekly</changefreq>

docs/copilot/chat/mcp-servers.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ VS Code also includes a URL handler that you can use to install an MCP server. T
359359

360360
```typescript
361361
// For Insiders, use `vscode-insiders` instead of `code`
362-
const link = `vscode:mcp/install?${encodeURIComponent(JSON.stringify(obj))`;
362+
const link = `vscode:mcp/install?${encodeURIComponent(JSON.stringify(obj))}`;
363363
```
364364

365365
This link can be used in a browser, or opened on the command line, for example via `xdg-open $LINK` on Linux.
@@ -398,16 +398,6 @@ You can enable _development mode_ for MCP servers by adding a `dev` key to the M
398398
> [!NOTE]
399399
> We currently only support debugging Node.js and Python servers launched with `node` and `python` respectively.
400400

401-
## Create an MCP server
402-
403-
VS Code has all the tools you need to develop your own MCP server. While MCP servers can be written in any language that can handle `stdout`, the MCP's official SDKs are a good place to start:
404-
405-
* [TypeScript SDK](https://github.com/modelcontextprotocol/typescript-sdk)
406-
* [Python SDK](https://github.com/modelcontextprotocol/python-sdk)
407-
* [Java SDK](https://github.com/modelcontextprotocol/java-sdk)
408-
* [Kotlin SDK](https://github.com/modelcontextprotocol/kotlin-sdk)
409-
* [C# SDK](https://github.com/modelcontextprotocol/csharp-sdk)
410-
411401
## Frequently asked questions
412402

413403
### Can I control which MCP tools are used?
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

docs/copilot/guides/mcp-developer-guide.md

Lines changed: 256 additions & 0 deletions
Large diffs are not rendered by default.

docs/toc.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,9 +149,10 @@
149149
"area": "copilot/guides",
150150
"noCollapse": true,
151151
"topics": [
152-
["Edit notebooks with AI", "/docs/copilot/guides/notebooks-with-ai"],
152+
["Edit Notebooks with AI", "/docs/copilot/guides/notebooks-with-ai"],
153153
["Test with AI", "/docs/copilot/guides/test-with-copilot"],
154-
["Debug with AI", "/docs/copilot/guides/debug-with-copilot"]
154+
["Debug with AI", "/docs/copilot/guides/debug-with-copilot"],
155+
["MCP Dev Guide", "/docs/copilot/guides/mcp-developer-guide"]
155156
]
156157
}
157158
],

0 commit comments

Comments
 (0)