Skip to content
Discussion options

You must be logged in to vote

I found my answer buried in old documentation: https://learn.microsoft.com/en-us/dotnet/aspire/fundamentals/dashboard/configuration?tabs=bash#mcp

For anyone else coming across this, the quick solution is to add the following to Properties/launchSettings.json in your Aspire project:

{
    "profiles": {
        "...for each profile...": {
            "environmentVariables": {
               ...
               "Dashboard__Mcp__Disabled": "true"
            }
        }
    }
}

This is likely something that should be added to https://aspire.dev/dashboard/mcp-server/.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@CZEMacLeod
Comment options

@davidfowl
Comment options

@cofl
Comment options

Answer selected by cofl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants