-
Notifications
You must be signed in to change notification settings - Fork 736
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Right now for the MCP we are hardcoding the api key!!!!!!! AHHHH no! Use inputs!!!
This is what it tells me
{
"servers": {
"aspire-dashboard": {
"type": "http",
"url": "http://localhost:23052/mcp",
"headers": {
"x-mcp-api-key": "MY_KEY_HERE"
}
}
},
"inputs": []
}Expected Behavior
It should be this:
{
"inputs": [
{
"id": "x_mcp_api_key",
"type": "promptString",
"description": "Enter x-mcp-api-key",
"password": true
}
],
"servers": {
"aspire-dashboard": {
"type": "http",
"url": "http://localhost:23052/mcp",
"headers": {
"x-mcp-api-key": "${input:x_mcp_api_key}"
}
}
}
}See https://mcpbadge.dev/mcp please!
Steps To Reproduce
Open up the mcp config in dashboard
Exceptions (if any)
No response
.NET Version info
10
Anything else?
13 aspire
Badge Urls look lik ethis:
We should make it easy to copy the API key as well for hte pop up
Copilot