-
Notifications
You must be signed in to change notification settings - Fork 45
chore: official MCP Registry publishing + stable 4.0.0 release train #123
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
13b0aa2
chore: add Docker support for MCP Registry and update workflows
Arenukvern 7c47074
docs: update video walkthroughs with improved titles and punctuation
Arenukvern 2e5568d
fix: dart
Arenukvern 6182d0c
Merge remote-tracking branch 'origin/main' into feat/official-mcp-reg…
Arenukvern 284c3af
chore(mcp-registry): prep for official registry publish
Arenukvern df71189
Merge remote-tracking branch 'origin/main' into feat/official-mcp-reg…
Arenukvern a33d956
chore(release): promote release train to stable 4.0.0
Arenukvern 64c9921
chore: regenerate skill assets for 4.0.0
Arenukvern 7866c28
fix(mcp-registry): address PR 123 review comments
Arenukvern File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| .git/ | ||
| .github/ | ||
| .dart_tool/ | ||
| **/.dart_tool/ | ||
| build/ | ||
| **/build/ | ||
| coverage/ | ||
| dist/ | ||
| node_modules/ | ||
| .DS_Store | ||
| .flutter_mcp/ | ||
| **/.flutter_mcp/ | ||
| test/ | ||
| **/test/ | ||
| docs/ | ||
| **/docs/ | ||
| *.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,94 @@ | ||
| name: Publish MCP Registry server | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: read | ||
| packages: write | ||
| id-token: write | ||
|
|
||
| concurrency: | ||
| group: mcp-registry-${{ github.ref_name }} | ||
| cancel-in-progress: false | ||
|
|
||
| jobs: | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
| environment: mcp-registry-publish | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v5 | ||
| with: | ||
| persist-credentials: false | ||
|
|
||
| - name: Require release tag | ||
| shell: bash | ||
| run: | | ||
| set -euo pipefail | ||
| if [[ "$GITHUB_REF" != refs/tags/v* ]]; then | ||
| echo "::error::This workflow must be run from a v* release tag (got $GITHUB_REF)." | ||
| exit 1 | ||
| fi | ||
|
|
||
| - name: Resolve release version | ||
| id: version | ||
| shell: bash | ||
| run: | | ||
| set -euo pipefail | ||
| version="${GITHUB_REF_NAME#v}" | ||
| file_version="$(tr -d '[:space:]' < VERSION)" | ||
| if [[ "$version" != "$file_version" ]]; then | ||
| echo "::error::Tag ${GITHUB_REF_NAME} does not match VERSION (${file_version})." | ||
| exit 1 | ||
| fi | ||
| echo "version=$version" >> "$GITHUB_OUTPUT" | ||
|
|
||
| - name: Synchronize release metadata | ||
| env: | ||
| RELEASE_VERSION: ${{ steps.version.outputs.version }} | ||
| run: bash tool/release/sync_version.sh --version "$RELEASE_VERSION" | ||
|
|
||
| - name: Verify MCP Registry contracts | ||
| run: bash tool/contracts/check_mcp_registry.sh | ||
|
|
||
| - name: Stage workspace lockfile for the image build context | ||
| run: cp pubspec.lock mcp_server_dart/pubspec.lock | ||
|
|
||
| - name: Log in to GHCR | ||
| uses: docker/login-action@v3 | ||
| with: | ||
| registry: ghcr.io | ||
| username: ${{ github.actor }} | ||
| password: ${{ secrets.GITHUB_TOKEN }} | ||
|
|
||
| - name: Build and publish OCI image | ||
| uses: docker/build-push-action@v6 | ||
| with: | ||
| context: mcp_server_dart | ||
| file: Dockerfile.registry | ||
| push: true | ||
| tags: ghcr.io/arenukvern/flutter-mcp-toolkit:${{ steps.version.outputs.version }} | ||
|
|
||
| - name: Install pinned mcp-publisher | ||
| env: | ||
| MCP_PUBLISHER_VERSION: v1.8.1 | ||
| MCP_PUBLISHER_SHA256: a06c9096dcb9727c13555b6be26c7effa707b01f06a4c561ba7a3635443cf2cc | ||
| shell: bash | ||
| run: | | ||
| set -euo pipefail | ||
| curl -fsSL "https://github.com/modelcontextprotocol/registry/releases/download/${MCP_PUBLISHER_VERSION}/mcp-publisher_linux_amd64.tar.gz" \ | ||
| -o mcp-publisher.tar.gz | ||
| echo "${MCP_PUBLISHER_SHA256} mcp-publisher.tar.gz" | sha256sum --check --strict - | ||
| tar xz mcp-publisher -f mcp-publisher.tar.gz | ||
| chmod +x mcp-publisher | ||
|
|
||
| - name: Validate server manifest with the Registry | ||
| run: ./mcp-publisher validate mcp_server_dart/server.json | ||
|
|
||
| - name: Authenticate to MCP Registry with GitHub OIDC | ||
| run: ./mcp-publisher login github-oidc | ||
|
|
||
| - name: Publish server metadata to MCP Registry | ||
| working-directory: mcp_server_dart | ||
| run: ../mcp-publisher publish | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,3 +1,3 @@ | ||
| { | ||
| ".": "4.0.0-dev.8" | ||
| ".": "4.0.0" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.