Skip to content

Commit c04bb08

Browse files
Merge pull request #303471 from mattchenderson/mcp
host.json preview note; ensuring sequencing of builder steps
2 parents 9599499 + 6805fd1 commit c04bb08

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

articles/azure-functions/functions-bindings-mcp-trigger.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -421,6 +421,8 @@ In both cases, you must include a call to `builder.EnableMcpToolMetadata()` in y
421421
```csharp
422422
var builder = FunctionsApplication.CreateBuilder(args);
423423

424+
builder.ConfigureFunctionsWebApplication();
425+
424426
builder.EnableMcpToolMetadata();
425427

426428
// other configuration
@@ -449,6 +451,8 @@ You can define one or more tool properties in your entry point (`Program.cs`) fi
449451
```csharp
450452
var builder = FunctionsApplication.CreateBuilder(args);
451453

454+
builder.ConfigureFunctionsWebApplication();
455+
452456
builder.EnableMcpToolMetadata();
453457

454458
builder

articles/azure-functions/functions-bindings-mcp.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ To use this preview bundle in your app, replace the existing `extensionBundle` o
6464

6565
[!INCLUDE [functions-host-json-section-intro](../../includes/functions-host-json-section-intro.md)]
6666

67+
> [!NOTE]
68+
> Until the extension is no longer in preview, the JSON schema for `host.json` isn't updated, and specific properties and behaviors might change. During the preview period, you might see warnings in your editor that say the `mcp` section isn't recognized. You can safely ignore these warnings.
69+
6770
You can use `host.json` to define MCP server information.
6871

6972
```json

0 commit comments

Comments
 (0)