From 3db328d66366d77ed43f209f8e8082dc44992445 Mon Sep 17 00:00:00 2001 From: Lior Shmueli <48066416+ShmueLior@users.noreply.github.com> Date: Fri, 4 Dec 2026 10:30:37 +0200 Subject: [PATCH] Set version to 0.6.0-preview --- CHANGELOG.md | 2 ++ Directory.Build.props | 2 +- README.md | 22 +++++++++++----------- action.yml | 2 +- templates/azure-pipelines/mcpprobe.yml | 2 +- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index e371322..764d6e9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ All notable changes to this project are documented here. The format is based on ## [Unreleased] +## [0.6.0-preview] - 2026-12-04 + ### Added - Lint checks resource templates when the server declares the resources capability: MCPP025 (no description), MCPP026 (missing, invalid or duplicate uri, uriTemplate or prompt name, error) and MCPP027 (no name). Listed resources are checked only with `--resources` (config `lint.resources`). MCPP028 checks icons on tools, prompts and resource templates from a live server, without fetching them. `--from-file` lints tools only, so MCPP028 does not run on a snapshot file. diff --git a/Directory.Build.props b/Directory.Build.props index 7e1875e..00450ac 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -12,7 +12,7 @@ - 0.5.0 + 0.6.0 preview Lior Shmueli Copyright (c) 2026 Lior Shmueli diff --git a/README.md b/README.md index 9d0998c..853323e 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ A .NET test kit for C# MCP server testing, for servers built with the [MCP C# SD Works with any test framework: failures are plain `McpProbeAssertionException`s. Targets .NET 8 and .NET 10, on ModelContextProtocol 2.4.0. -> Status: 0.5.0-preview on NuGet. The API may change before 1.0. +> Status: 0.6.0-preview on NuGet. The API may change before 1.0. ![mcpprobe CLI: snapshot a server, lint it, then catch a breaking tool-surface change](docs/demo.gif) @@ -226,7 +226,7 @@ In code: `new LintOptions { Baseline = LintBaseline.Load("mcpprobe-lint-baseline Write a snapshot once and commit it, then check it in CI: ```bash -dotnet tool install --global McpProbe.Cli --version 0.5.0-preview +dotnet tool install --global McpProbe.Cli --version 0.6.0-preview mcpprobe snapshot --stdio "dotnet run --project src/MyServer" --out mcp-tools.json mcpprobe diff --stdio "dotnet run --project src/MyServer" --baseline mcp-tools.json @@ -300,7 +300,7 @@ This is the .NET / NuGet McpProbe Action from [`ShmueLior/mcpprobe`](https://git The `McpProbe tool surface check` Action installs the same `McpProbe.Cli` version as the tag you pin, then runs `diff` and `lint`. It needs `actions/checkout`, `actions/setup-dotnet` (a .NET 8 or .NET 10 SDK), and your server already built. Reports go to the job summary. -Pin an exact release tag that includes the Action (0.3.0-preview or later), for example `ShmueLior/mcpprobe@v0.5.0-preview`. Do not pin `@main`. There is no supported floating `@v0` or `@v1` tag until 1.0. +Pin an exact release tag that includes the Action (0.3.0-preview or later), for example `ShmueLior/mcpprobe@v0.6.0-preview`. Do not pin `@main`. There is no supported floating `@v0` or `@v1` tag until 1.0. ```yaml name: CI @@ -325,7 +325,7 @@ jobs: 10.0.x - run: dotnet build -c Release - name: Check MCP tool surface - uses: ShmueLior/mcpprobe@v0.5.0-preview + uses: ShmueLior/mcpprobe@v0.6.0-preview with: stdio: dotnet run --no-build --project src/MyServer -c Release baseline: mcp-tools.json @@ -337,7 +337,7 @@ Pass exactly one of `stdio`, `http`, or `from-file`. Both `diff` and `lint` are ```yaml - name: Check MCP tool surface - uses: ShmueLior/mcpprobe@v0.5.0-preview + uses: ShmueLior/mcpprobe@v0.6.0-preview with: http: https://example.test/mcp bearer-env: MCP_TOKEN @@ -371,7 +371,7 @@ Pass exactly one of `stdio`, `http`, or `from-file`. Both `diff` and `lint` are | `lint-baseline` | empty | Path to a lint baseline written by 'mcpprobe lint --write-baseline'. Findings in it don't fail lint. Not the snapshot (that is baseline). Overrides baseline in mcpprobe.json. Requires a CLI that has lint --baseline. | | `transport` | empty | Pin the HTTP transport: auto, streamable-http, or sse. Only used with http. Leave empty to use the CLI default (auto). | | `report` | empty | Directory where HTML reports are written (lint.html and/or diff.html). This input is a directory, not a file; the CLI --report flag takes a file. Leave empty to skip writing HTML files. Requires a CLI that has --report. | -| `version` | `0.5.0-preview` | Exact McpProbe.Cli version to install. Defaults to the same version as this repository's package. Do not set this to latest. | +| `version` | `0.6.0-preview` | Exact McpProbe.Cli version to install. Defaults to the same version as this repository's package. Do not set this to latest. | | `source` | empty | If set, the only NuGet source used to install McpProbe.Cli (a folder of nupkgs, or a feed URL). Use this to install a just-packed build in CI. | None of the inputs is marked required in `action.yml`. The wrapper still needs exactly one of `stdio`, `http`, or `from-file`. @@ -386,7 +386,7 @@ None of the inputs is marked required in `action.yml`. The wrapper still needs e | `lint-report` | Path to lint.html if that file was written. Empty otherwise. | | `diff-report` | Path to diff.html if that file was written. Empty otherwise. | -`bearer-env` and `header-env` need a CLI that has `--bearer-env` / `--header-env`. If you set them and the installed tool lacks the flags, the Action fails fast with a message instead of a generic "unrecognized option". +`bearer-env` and `header-env` need a CLI that has `--bearer-env` / `--header-env`, which is 0.6.0-preview or later. If you set them and the installed tool lacks the flags, the Action fails fast with a message instead of a generic "unrecognized option". `strict`, `transport`, and `report` are off by default, so an unchanged workflow runs the same commands as before. `strict` is lint-only. `transport` is only used with `http`. `report` is a directory, not a file: the Action writes `lint.html` and/or `diff.html` there (both checks run by default, so a single file path would overwrite one report with the other). The job summary stays the plain-text report. Upload is left to your workflow. @@ -399,7 +399,7 @@ None of the inputs is marked required in `action.yml`. The wrapper still needs e ```yaml - name: Check MCP tool surface id: mcpprobe - uses: ShmueLior/mcpprobe@v0.5.0-preview + uses: ShmueLior/mcpprobe@v0.6.0-preview with: stdio: dotnet run --no-build --project src/MyServer -c Release baseline: mcp-tools.json @@ -423,7 +423,7 @@ resources: type: github name: ShmueLior/mcpprobe endpoint: GitHub - ref: refs/tags/v0.5.0-preview + ref: refs/tags/v0.6.0-preview steps: - checkout: self @@ -437,7 +437,7 @@ steps: baseline: mcp-tools.json ``` -The template needs bash (Git Bash on Windows). It also accepts `strict`, `transport`, `report` (a directory, as in the Action), `config`, `lintBaseline`, `bearerEnv` and `headerEnv`. Do not add those parameters to a pipeline that pins `refs/tags/v0.3.0-preview`; that tag's template does not have them. `config` and `lintBaseline` need `refs/tags/v0.5.0-preview` or later. `bearerEnv` and `headerEnv` need a CLI that has `--bearer-env` / `--header-env`. Upload is a separate step; the template does not publish an artifact: +The template needs bash (Git Bash on Windows). It also accepts `strict`, `transport`, `report` (a directory, as in the Action), `config`, `lintBaseline`, `bearerEnv` and `headerEnv`. Do not add those parameters to a pipeline that pins `refs/tags/v0.3.0-preview`; that tag's template does not have them. `config` and `lintBaseline` need `refs/tags/v0.5.0-preview` or later. `bearerEnv` and `headerEnv` need `refs/tags/v0.6.0-preview` or later. Upload is a separate step; the template does not publish an artifact: ```yaml - task: PublishPipelineArtifact@1 @@ -456,7 +456,7 @@ If you cannot reference the GitHub repo, install the tool and run the same comma - script: | set -euo pipefail tool_path="$(Agent.TempDirectory)/mcpprobe-cli" - dotnet tool install McpProbe.Cli --tool-path "$tool_path" --version 0.5.0-preview + dotnet tool install McpProbe.Cli --tool-path "$tool_path" --version 0.6.0-preview export PATH="$tool_path:$PATH" mcpprobe diff --stdio "dotnet run --no-build --project src/MyServer -c Release" --baseline mcp-tools.json mcpprobe lint --stdio "dotnet run --no-build --project src/MyServer -c Release" diff --git a/action.yml b/action.yml index 33ccd3d..37ffe8f 100644 --- a/action.yml +++ b/action.yml @@ -129,7 +129,7 @@ inputs: Exact McpProbe.Cli version to install. Defaults to the same version as this repository's package. Do not set this to latest. required: false - default: '0.5.0-preview' + default: '0.6.0-preview' source: description: >- If set, the only NuGet source used to install McpProbe.Cli (a folder of diff --git a/templates/azure-pipelines/mcpprobe.yml b/templates/azure-pipelines/mcpprobe.yml index a3cce9f..a5a5c62 100644 --- a/templates/azure-pipelines/mcpprobe.yml +++ b/templates/azure-pipelines/mcpprobe.yml @@ -9,7 +9,7 @@ # type: github # name: ShmueLior/mcpprobe # endpoint: GitHub -# ref: refs/tags/v0.5.0-preview +# ref: refs/tags/v0.6.0-preview # # steps: # - checkout: self