From 976f56ea056d615b2e0c8d319078d895525c629b Mon Sep 17 00:00:00 2001 From: Glenn Gailey Date: Fri, 8 May 2026 01:20:50 -0700 Subject: [PATCH] Add mcp.json and AZURE_RESOURCE_GROUP Bicep output --- .gitignore | 1 + .vscode/mcp.json | 19 +++++++++++++++++++ infra/main.bicep | 1 + 3 files changed, 21 insertions(+) create mode 100644 .vscode/mcp.json diff --git a/.gitignore b/.gitignore index ce89292..8582491 100644 --- a/.gitignore +++ b/.gitignore @@ -402,6 +402,7 @@ FodyWeavers.xsd !.vscode/tasks.json !.vscode/launch.json !.vscode/extensions.json +!.vscode/mcp.json !.vscode/*.code-snippets # Local History for Visual Studio Code diff --git a/.vscode/mcp.json b/.vscode/mcp.json new file mode 100644 index 0000000..0365d42 --- /dev/null +++ b/.vscode/mcp.json @@ -0,0 +1,19 @@ +{ + "servers": { + "remote-mcp-function": { + "type": "http", + "url": "https://${input:functionapp-name}.azurewebsites.net/runtime/webhooks/mcp" + }, + "local-mcp-function": { + "type": "http", + "url": "http://localhost:7071/runtime/webhooks/mcp" + } + }, + "inputs": [ + { + "type": "promptString", + "id": "functionapp-name", + "description": "Azure Functions App Name" + } + ] +} diff --git a/infra/main.bicep b/infra/main.bicep index 54e8490..0159dc0 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -263,6 +263,7 @@ module monitoring 'br/public:avm/res/insights/component:0.6.0' = { // App outputs output APPLICATIONINSIGHTS_CONNECTION_STRING string = monitoring.outputs.connectionString output AZURE_LOCATION string = location +output AZURE_RESOURCE_GROUP string = rg.name output AZURE_TENANT_ID string = tenant().tenantId output SERVICE_API_NAME string = api.outputs.SERVICE_API_NAME output SERVICE_API_DEFAULT_HOSTNAME string = api.outputs.SERVICE_MCP_DEFAULT_HOSTNAME