diff --git a/.github/workflows/sync-develop.yml b/.github/workflows/sync-develop.yml index 8e1e7fbe..aab4c305 100644 --- a/.github/workflows/sync-develop.yml +++ b/.github/workflows/sync-develop.yml @@ -67,11 +67,11 @@ jobs: run: | pr=${{ github.event.pull_request.number }} echo "sync_branch=sync/main-into-develop-pr-${pr}" >> $GITHUB_OUTPUT - echo "title_sync=Sync main → develop (PR #${pr})" >> $GITHUB_OUTPUT - echo "body_sync=Auto-opened after merging \`${{ github.event.pull_request.head.ref }}\` into \`main\`. Source PR: #${pr}." >> $GITHUB_OUTPUT + echo "sync_title=Sync main → develop (PR #${pr})" >> $GITHUB_OUTPUT + echo "sync_body=Auto-opened after merging \`${{ github.event.pull_request.head.ref }}\` into \`main\`. Source PR: #${pr}." >> $GITHUB_OUTPUT echo "conflict_branch=conflict/main-into-develop-pr-${pr}" >> $GITHUB_OUTPUT - echo "title_conflict=Sync main → develop (resolve conflicts)" >> $GITHUB_OUTPUT - echo "body_conflict=Opened from a copy of \`main\` so conflicts can be resolved without pushing to a protected branch." >> $GITHUB_OUTPUT + echo "conflict_title=Sync main → develop (resolve conflicts)" >> $GITHUB_OUTPUT + echo "conflict_body=Opened from a copy of \`main\` so conflicts can be resolved without pushing to a protected branch." >> $GITHUB_OUTPUT # Short-lived sync branch from develop and merge main into it (do NOT rebase) # use +e to stop errors from short-circuiting the script @@ -151,8 +151,8 @@ jobs: gh pr create \ --base "${BASE_BRANCH}" \ --head "${{ steps.meta.outputs.conflict_branch }}" \ - --title "${{ steps.meta.outputs.title_conflict }}" \ - --body "${{ steps.meta.outputs.body_conflict }}" \ + --title "${{ steps.meta.outputs.conflict_title }}" \ + --body "${{ steps.meta.outputs.conflict_body }}" \ --label back-merge \ --label automation \ --label conflicts diff --git a/CHANGELOG.md b/CHANGELOG.md index 598dafb7..428156b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# [0.7.4] - 2025-08-27 + +## 🐛 Fixes + +### fix: Add missing token propagation for execute tool - @DaleSeo PR #298 + +The execute tool is not forwarding JWT authentication tokens to upstream GraphQL endpoints, causing authentication failures when using this tool with protected APIs. This PR adds missing token propagation for execute tool. + # [0.7.3] - 2025-08-25 ## 🐛 Fixes diff --git a/Cargo.lock b/Cargo.lock index 83ee7849..3acead16 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -174,7 +174,7 @@ dependencies = [ [[package]] name = "apollo-mcp-registry" -version = "0.7.3" +version = "0.7.4" dependencies = [ "derive_more", "educe", @@ -202,7 +202,7 @@ dependencies = [ [[package]] name = "apollo-mcp-server" -version = "0.7.3" +version = "0.7.4" dependencies = [ "anyhow", "apollo-compiler", @@ -255,7 +255,7 @@ dependencies = [ [[package]] name = "apollo-schema-index" -version = "0.7.3" +version = "0.7.4" dependencies = [ "apollo-compiler", "enumset", diff --git a/Cargo.toml b/Cargo.toml index 841c849a..44082766 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,7 @@ members = [ [workspace.package] authors = ["Apollo "] -version = "0.7.3" +version = "0.7.4" [workspace.dependencies] apollo-compiler = "1.27.0" diff --git a/crates/apollo-mcp-server/src/graphql.rs b/crates/apollo-mcp-server/src/graphql.rs index cab09c62..03b03ade 100644 --- a/crates/apollo-mcp-server/src/graphql.rs +++ b/crates/apollo-mcp-server/src/graphql.rs @@ -187,7 +187,7 @@ mod test { "extensions": { "clientLibrary": { "name":"mcp", - "version":"0.7.3" + "version":"0.7.4" } }, "operationName":"mock_operation" @@ -233,7 +233,7 @@ mod test { }, "clientLibrary": { "name":"mcp", - "version":"0.7.3" + "version":"0.7.4" } }, }) diff --git a/docs/source/command-reference.mdx b/docs/source/command-reference.mdx index 06c902c5..d95b64b3 100644 --- a/docs/source/command-reference.mdx +++ b/docs/source/command-reference.mdx @@ -168,18 +168,36 @@ The default value for `source` is `"uplink"`. ### Transport -These fields are under the top-level `transport` key. The available fields depend on the value of the nested `type` key. -The default value for `type` is `"stdio"`. - -| Type | Option | Type | Default | Description | -| :------------- | :-------- | :------------------ | :---------- | :---------------------------------------------------------------------------------------------------------------------------- | -| stdio | `type` | `"stdio"` | \* | Use standard IO for communication between the server and client | -| SSE | `type` | `"sse"` | | Host the MCP server on the supplied configuration, using SSE for communication. Note: Deprecated in favor of `StreamableHTTP` | -| SSE | `address` | `IpAddr` | `127.0.0.1` | The IP address to bind to | -| SSE | `port` | `u16` | `5000` | The port to bind to | -| StreamableHTTP | `type` | `"streamable_http"` | | Host the MCP server on the configuration, using streamable HTTP messages. | -| StreamableHTTP | `address` | `IpAddr` | `127.0.0.1` | The IP address to bind to | -| StreamableHTTP | `port` | `u16` | `5000` | The port to bind to | +These fields are under the top-level `transport` key, to configure running the MCP Server in different environments - stdio, Streamable HTTP or SSE (deprecated). + +``` +transport: + type: stdio +``` + +The available fields depend on the value of the nested `type` key: + +##### stdio (default) + +| Option | Value | Default Value | Description | +| :-------- | :------------------ | :------------ | :----------------------------------------------------------------------------------------------------------------------- | +| `type` | `"stdio"` | \* | Use standard IO for communication between the server and client | + +##### Streamable HTTP + +| Option | Value | Value Type | Description | +| :-------- | :------------------ | :------------ | :----------------------------------------------------------------------------------------------------------------------- | +| `type` | `"streamable_http"` | | Host the MCP server on the configuration, using streamable HTTP messages. | +| `address` | `127.0.0.1` (default) | `IpAddr` | The IP address to bind to | +| `port` | `5000` (default) | `u16` | The port to bind to | + +##### SSE (Deprecated, use StreamableHTTP) + +| Option | Value | Value Type | Description | +| :-------- | :------------------ | :------------ | :----------------------------------------------------------------------------------------------------------------------- | +| `type` | `"sse"` | | Host the MCP server on the supplied config, using SSE for communication. Deprecated in favor of `StreamableHTTP` | +| `address` | `127.0.0.1` (default) | `IpAddr` | The IP address to bind to | +| `port` | `5000` (default) | `u16` | The port to bind to | ### Auth diff --git a/docs/source/install.mdx b/docs/source/install.mdx index 537b2352..218da0bb 100644 --- a/docs/source/install.mdx +++ b/docs/source/install.mdx @@ -26,14 +26,14 @@ To download a **specific version** of Apollo MCP Server (recommended for CI envi ```bash # Note the `v` prefixing the version number -docker image pull ghcr.io/apollographql/apollo-mcp-server:v0.7.3 +docker image pull ghcr.io/apollographql/apollo-mcp-server:v0.7.4 ``` To download a specific version of Apollo MCP Server that is a release candidate: ```bash # Note the `v` prefixing the version number and the `-rc` suffix -docker image pull ghcr.io/apollographql/apollo-mcp-server:v0.7.3-rc.1 +docker image pull ghcr.io/apollographql/apollo-mcp-server:v0.7.4-rc.1 ``` @@ -65,7 +65,7 @@ To install or upgrade to a **specific version** of Apollo MCP Server (recommende ```bash # Note the `v` prefixing the version number -curl -sSL https://mcp.apollo.dev/download/nix/v0.7.3 | sh +curl -sSL https://mcp.apollo.dev/download/nix/v0.7.4 | sh ``` If your machine doesn't have the `curl` command, you can get the latest version from the [`curl` downloads page](https://curl.se/download.html). @@ -82,5 +82,5 @@ To install or upgrade to a **specific version** of Apollo MCP Server (recommende ```bash # Note the `v` prefixing the version number -iwr 'https://mcp.apollo.dev/download/win/v0.7.3' | iex +iwr 'https://mcp.apollo.dev/download/win/v0.7.4' | iex ``` diff --git a/scripts/nix/install.sh b/scripts/nix/install.sh index 18b3c860..00b50108 100755 --- a/scripts/nix/install.sh +++ b/scripts/nix/install.sh @@ -14,7 +14,7 @@ BINARY_DOWNLOAD_PREFIX="${APOLLO_MCP_SERVER_BINARY_DOWNLOAD_PREFIX:="https://git # Apollo MCP Server version defined in apollo-mcp-server's Cargo.toml # Note: Change this line manually during the release steps. -PACKAGE_VERSION="v0.7.3" +PACKAGE_VERSION="v0.7.4" download_binary_and_run_installer() { downloader --check diff --git a/scripts/windows/install.ps1 b/scripts/windows/install.ps1 index a05c0351..07ee6ab7 100644 --- a/scripts/windows/install.ps1 +++ b/scripts/windows/install.ps1 @@ -8,7 +8,7 @@ # Apollo MCP Server version defined in apollo-mcp-server's Cargo.toml # Note: Change this line manually during the release steps. -$package_version = 'v0.7.3' +$package_version = 'v0.7.4' function Install-Binary($apollo_mcp_server_install_args) { $old_erroractionpreference = $ErrorActionPreference