Skip to content

Conversation

@JamesNK
Copy link
Member

@JamesNK JamesNK commented Nov 3, 2025

Summary

Add Aspire MCP documentation. For Aspire 13.


Internal previews

📄 File 🔗 Preview link
docs/fundamentals/dashboard/mcp-server.md docs/fundamentals/dashboard/mcp-server
docs/toc.yml docs/toc

@JamesNK JamesNK requested a review from IEvangelist as a code owner November 3, 2025 09:59
Copilot AI review requested due to automatic review settings November 3, 2025 09:59
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds comprehensive documentation for the new Aspire MCP (Model Context Protocol) server feature, which enables AI assistants to interact with Aspire resources and telemetry data during development.

Key Changes

  • Documentation of MCP server functionality, including configuration, tools, and troubleshooting
  • Code snippets demonstrating MCP configuration and usage
  • Integration into the documentation table of contents

Reviewed Changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 5 comments.

File Description
docs/toc.yml Adds "Aspire MCP" entry to the dashboard section of the documentation navigation
docs/fundamentals/dashboard/mcp-server.md Main documentation file explaining MCP server setup, tools, prompts, and troubleshooting
docs/fundamentals/dashboard/snippets/Mcp/launchSettings.json Example launch settings showing HTTP-only MCP endpoint configuration
docs/fundamentals/dashboard/snippets/Mcp/AppHost.cs Example showing how to exclude a resource from MCP using ExcludeFromMcp()

@davidfowl
Copy link
Member

One addition, can be a follow up is how to configure this in the copilot CLI and claude code. It took me a while to figure it out.

@IEvangelist
Copy link
Member

One addition, can be a follow up is how to configure this in the copilot CLI and claude code. It took me a while to figure it out.

How do you configure it there? I'll add that to aspire.dev? See microsoft/aspire.dev#8

@JamesNK
Copy link
Member Author

JamesNK commented Nov 4, 2025

One addition, can be a follow up is how to configure this in the copilot CLI and claude code. It took me a while to figure it out.

There are links to copilot CLI and claude code MCP docs in the doc already.

I don't think it's feasible to add detailed documentation for every product and keep it up to date.

@davidfowl
Copy link
Member

I don't think it's feasible to add detailed documentation for every product and keep it up to date.

Just the popular ones.

@JamesNK
Copy link
Member Author

JamesNK commented Nov 4, 2025

Which are popular? Which do we want details for?

VS? VS Code? Claude Code? Copilot CLI?

I think building instructions into the dashboard dialog, like we already do for VS and VS Code, would be best. We can give an exact command line to run in the dashboard. In docs we'd need to have placeholders for the URL and HTTP header token.

@davidfowl
Copy link
Member

you’re right

@JamesNK JamesNK changed the base branch from main to release-13 November 11, 2025 00:34
@JamesNK JamesNK merged commit 04015ec into release-13 Nov 11, 2025
5 of 7 checks passed
@JamesNK JamesNK deleted the jamesnk/mcp-docs branch November 11, 2025 00:36
IEvangelist added a commit that referenced this pull request Nov 11, 2025
* Document ClaimActions configuration for dashboard OpenID Connect authentication (#5192)

* Initial plan

* Document ClaimActions configuration for dashboard OIDC authentication

Co-authored-by: JamesNK <[email protected]>

* Apply suggestion from @JamesNK

* Apply suggestion from @JamesNK

* Apply suggestion from @JamesNK

* Update configuration.md

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: JamesNK <[email protected]>
Co-authored-by: James Newton-King <[email protected]>

* Document breaking change: DefaultAzureCredential defaults to ManagedIdentityCredential on ACA and App Service (#5303)

* Initial plan

* Add breaking change documentation for DefaultAzureCredential in 13.0

Co-authored-by: IEvangelist <[email protected]>

* Fix markdown linting error - add blank line before list

Co-authored-by: IEvangelist <[email protected]>

* Update docs/compatibility/13.0/defaultazurecredential-managedidentity-default.md

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>
Co-authored-by: David Pine <[email protected]>

* Update Azure AI Foundry and GitHub Models documentation to use strongly-typed model constants (#5302)

* Initial plan

* Update documentation to use AIFoundryModel and GitHubModel constants

Co-authored-by: IEvangelist <[email protected]>

* Update compatibility matrix to use GitHubModel constant

Co-authored-by: IEvangelist <[email protected]>

* Apply suggestions from code review

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>
Co-authored-by: David Pine <[email protected]>

* Update environment variable format to polyglot-friendly pattern (#5320)

* Initial plan

* Update environment variable format to polyglot-friendly pattern

Co-authored-by: IEvangelist <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>

* Update AppHost project documentation for Aspire 13.0 SDK format (#5319)

* Initial plan

* Update AppHost project section to show new SDK format for Aspire 13.0

Co-authored-by: IEvangelist <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>

* Add AddCSharpApp and CSharpAppResource documentation to app-host-overview.md (#5318)

* Initial plan

* Add AddCSharpApp and CSharpAppResource documentation to app-host-overview.md

Co-authored-by: IEvangelist <[email protected]>

* Apply suggestions from code review

* Update docs/fundamentals/app-host-overview.md

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>
Co-authored-by: David Pine <[email protected]>

* Add breaking changes documentation for pipeline activity reporter API rename (PR #12137) (#5310)

* Initial plan

* Add breaking changes article for PR #12137 and update documentation

Co-authored-by: IEvangelist <[email protected]>

* Fix parameter naming consistency in breaking change examples

Co-authored-by: IEvangelist <[email protected]>

* Fix cross reference warnings by using inline code formatting

Co-authored-by: IEvangelist <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>
Co-authored-by: David Pine <[email protected]>

* Add documentation for ASPIREPIPELINES001, ASPIREPIPELINES002, and ASPIREPIPELINES003 diagnostics (#5359)

* Initial plan

* Add documentation for three new pipeline-related diagnostics

Co-authored-by: captainsafia <[email protected]>

* Fix ms.date to reflect current date in diagnostic documentation

Co-authored-by: captainsafia <[email protected]>

* Update diagnostic codes to use ASPIREPIPELINES001-003 instead of mixed naming scheme

Co-authored-by: captainsafia <[email protected]>

* Add ASPIREPIPELINES001-003 diagnostics to TOC

Co-authored-by: IEvangelist <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: captainsafia <[email protected]>
Co-authored-by: IEvangelist <[email protected]>

* Add Aspire MCP docs (#5446)

* Update configuration

* Document deployment state caching (#5301)

* Initial plan

* Add local deployment state documentation

Co-authored-by: IEvangelist <[email protected]>

* Address feedback: Add intros, italicize paths, add CI/CD example

Co-authored-by: IEvangelist <[email protected]>

* Rename and relocate deployment state doc outside Azure section

Co-authored-by: IEvangelist <[email protected]>

* Clarify cache save behavior in GitHub Actions example

Co-authored-by: IEvangelist <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>

* Add certificate trust customization article for Aspire 13 (#5311)

* Initial plan

* Add certificate trust customization article

Co-authored-by: IEvangelist <[email protected]>

* Fix cross-reference title to match actual article title

Co-authored-by: IEvangelist <[email protected]>

* Address PR feedback: update API examples, add runtime callout, document default scopes

Co-authored-by: IEvangelist <[email protected]>

* Update callback APIs to use async Task and simplified context objects

Co-authored-by: IEvangelist <[email protected]>

* Replace deprecated callback APIs with new simplified APIs

Co-authored-by: IEvangelist <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>

* Update documentation for new polyglot environment variables (issue #5308) (#5313)

* Initial plan

* Update documentation with new polyglot environment variable format

Co-authored-by: IEvangelist <[email protected]>

* Add clarification about resource names in environment variables

Co-authored-by: IEvangelist <[email protected]>

* Improve clarity of note about connection name parameter

Co-authored-by: IEvangelist <[email protected]>

* Update docs/fundamentals/app-host-overview.md

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: IEvangelist <[email protected]>
Co-authored-by: David Pine <[email protected]>

* Update documentation for Aspire 13 release

* Apply suggestions from code review

Co-authored-by: Copilot <[email protected]>

* fix: build

---------

Co-authored-by: Copilot <[email protected]>
Co-authored-by: JamesNK <[email protected]>
Co-authored-by: James Newton-King <[email protected]>
Co-authored-by: IEvangelist <[email protected]>
Co-authored-by: captainsafia <[email protected]>
Co-authored-by: Copilot <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants