Skip to content

[MCP] Update MCP SDK - #9184

Merged
glen-84 merged 2 commits into
mainfrom
gai/update-mcp-sdk
Feb 24, 2026
Merged

glen-84 merged 2 commits into
mainfrom
gai/update-mcp-sdk

Conversation

@glen-84

@glen-84 glen-84 commented Feb 24, 2026

Copy link
Copy Markdown
Member

Summary of the changes (Less than 80 chars)

  • [MCP] Update MCP SDK.

Copilot AI review requested due to automatic review settings February 24, 2026 11:18

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the HotChocolate MCP adapter to a newer Model Context Protocol (MCP) ASP.NET Core SDK release and adjusts adapter/test code to align with the SDK’s structured-content JSON representation.

Changes:

  • Bump ChilliCream.ModelContextProtocol.AspNetCore from 0.0.1-p.8 to 0.0.1-rc.1.
  • Update tool call handling to return structured content as System.Text.Json.JsonElement instead of JsonNode.
  • Simplify MCP integration test snapshot assertions to snapshot StructuredContent directly.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
src/HotChocolate/Adapters/test/Adapters.Mcp.Tests/IntegrationTestBase.cs Updates snapshot assertions to work with the new structured content type and removes JsonNode-based helpers.
src/HotChocolate/Adapters/src/Adapters.Mcp.Core/Handlers/CallToolHandler.cs Adjusts StructuredContent creation to use JsonElement for MCP tool call responses.
src/Directory.Packages.props Upgrades the MCP ASP.NET Core SDK package version.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

github-actions Bot commented Feb 24, 2026 •

Copy link
Copy Markdown
Contributor

Fusion Gateway Performance Results

Simple Composite Query

Req/s Err%
Constant (50 VUs) 6913.65 0.00%
Ramping (0-500-0 VUs) 7413.69 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.56ms 5.96ms 7.09ms 11.10ms 16.16ms 177.54ms
Ramping 0.59ms 23.99ms 29.73ms 63.81ms 75.44ms 183.41ms
query TestQuery {
  topProducts(first: 5) {
    inStock
    name
    price
    shippingEstimate
    upc
    weight
    reviews {
      id
      body
      author {
        id
        username
        name
      }
    }
  }
}

Deep Recursion Query

Req/s Err%
Constant (50 VUs) 1280.64 0.00%
Ramping (0-500-0 VUs) 1346.51 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 3.29ms 34.30ms 37.89ms 51.29ms 60.23ms 439.10ms
Ramping 1.96ms 132.71ms 157.44ms 340.46ms 384.99ms 704.95ms
query TestQuery {
  users {
    id
    username
    name
    reviews {
      id
      body
      product {
        inStock
        name
        price
        shippingEstimate
        upc
        weight
        reviews {
          id
          body
          author {
            id
            username
            name
            reviews {
              id
              body
              product {
                inStock
                name
                price
                shippingEstimate
                upc
                weight
              }
            }
          }
        }
      }
    }
  }
  topProducts(first: 5) {
    inStock
    name
    price
    shippingEstimate
    upc
    weight
    reviews {
      id
      body
      author {
        id
        username
        name
        reviews {
          id
          body
          product {
            inStock
            name
            price
            shippingEstimate
            upc
            weight
          }
        }
      }
    }
  }
}

Variable Batching Throughput

Req/s Err%
Constant (50 VUs) 23713.70 0.00%
Ramping (0-500-0 VUs) 18527.99 0.00%
Response Times & Query
Min Med Avg P90 P95 Max
Constant 0.08ms 1.72ms 2.06ms 3.96ms 4.79ms 37.38ms
Ramping 0.08ms 9.37ms 11.40ms 23.36ms 28.30ms 122.85ms
query TestQuery($upc: ID!, $price: Long!, $weight: Long!) {
  productByUpc(upc: $upc) {
    inStock
    shippingEstimate(weight: $weight, price: $price)
  }
}

Variables (5 sets batched per request)

[
  { "upc": "1", "price": 899, "weight": 100 },
  { "upc": "2", "price": 1299, "weight": 1000 },
  { "upc": "3", "price": 15, "weight": 20 },
  { "upc": "4", "price": 499, "weight": 100 },
  { "upc": "5", "price": 1299, "weight": 1000 }
]

Run 22352283028 • Commit 2c01b8a • Tue, 24 Feb 2026 13:35:33 GMT

@glen-84
glen-84 merged commit 39dd5a3 into main Feb 24, 2026
116 checks passed
@glen-84
glen-84 deleted the gai/update-mcp-sdk branch February 24, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants