Skip to content

Commit 32e77d2

Browse files
committed
Restore MCP Azure function configuration in mcp.json
1 parent b3c8fb7 commit 32e77d2

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

.vscode/mcp.json

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
{
22
"inputs": [
3-
// {
4-
// "type": "promptString",
5-
// "id": "mcp-azure-function-key",
6-
// "description": "Azure Function Key to access the MCP server on Azure",
7-
// "password": true
8-
// },
9-
// {
10-
// "type": "promptString",
11-
// "id": "mcp-azure-function-name",
12-
// "description": "Azure Function name to access the MCP server on Azure"
13-
// }
3+
{
4+
"type": "promptString",
5+
"id": "mcp-azure-function-key",
6+
"description": "Azure Function Key to access the MCP server on Azure",
7+
"password": true
8+
},
9+
{
10+
"type": "promptString",
11+
"id": "mcp-azure-function-name",
12+
"description": "Azure Function name to access the MCP server on Azure"
13+
}
1414
],
1515
"servers": {
16-
// "local-mcp-azure-function": {
17-
// "type": "sse",
18-
// "url": "http://localhost:7071/runtime/webhooks/mcp/sse",
19-
// },
20-
// "remote-mcp-azure-function": {
21-
// "type": "sse",
22-
// "url": "https://${input:mcp-azure-function-name}.azurewebsites.net/runtime/webhooks/mcp/sse",
23-
// "headers": {
24-
// "x-functions-key": "${input:mcp-azure-function-key}"
25-
// }
26-
// },
16+
"azure-function-mcp": {
17+
"type": "sse",
18+
"url": "http://localhost:7071/runtime/webhooks/mcp/sse"
19+
},
20+
"remote-mcp-azure-function": {
21+
"type": "sse",
22+
"url": "https://${input:mcp-azure-function-name}.azurewebsites.net/runtime/webhooks/mcp/sse",
23+
"headers": {
24+
"x-functions-key": "${input:mcp-azure-function-key}"
25+
}
26+
}
2727
}
2828
}

0 commit comments

Comments
 (0)