Skip to content

Commit 1e44af5

Browse files
committed
Merge upstream/main and resolve conflicts in README.md
Resolved conflicts by keeping all entries from both branches: - Kept PaddleOCR, PagerDuty, Paper, and Patronus AI from upstream - Kept Pagos and PAIML MCP Agent Toolkit entries (with icons) from PR - Kept all SDK entries including MCP Declarative Java SDK, MCP Plexus, mcp_sse, Next.js MCP Server Template, PayMCP from upstream - Kept PMCP Rust SDK entry from PR
2 parents bd922c7 + 0603044 commit 1e44af5

36 files changed

Lines changed: 8996 additions & 1913 deletions

.github/workflows/python.yml

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,45 @@ jobs:
2323
PACKAGES=$(find . -name pyproject.toml -exec dirname {} \; | sed 's/^\.\///' | jq -R -s -c 'split("\n")[:-1]')
2424
echo "packages=$PACKAGES" >> $GITHUB_OUTPUT
2525
26-
build:
26+
test:
2727
needs: [detect-packages]
28+
strategy:
29+
matrix:
30+
package: ${{ fromJson(needs.detect-packages.outputs.packages) }}
31+
name: Test ${{ matrix.package }}
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v4
35+
36+
- name: Install uv
37+
uses: astral-sh/setup-uv@v3
38+
39+
- name: Set up Python
40+
uses: actions/setup-python@v5
41+
with:
42+
python-version-file: "src/${{ matrix.package }}/.python-version"
43+
44+
- name: Install dependencies
45+
working-directory: src/${{ matrix.package }}
46+
run: uv sync --frozen --all-extras --dev
47+
48+
- name: Check if tests exist
49+
id: check-tests
50+
working-directory: src/${{ matrix.package }}
51+
run: |
52+
if [ -d "tests" ] || [ -d "test" ] || grep -q "pytest" pyproject.toml; then
53+
echo "has-tests=true" >> $GITHUB_OUTPUT
54+
else
55+
echo "has-tests=false" >> $GITHUB_OUTPUT
56+
fi
57+
58+
- name: Run tests
59+
if: steps.check-tests.outputs.has-tests == 'true'
60+
working-directory: src/${{ matrix.package }}
61+
run: uv run pytest
62+
63+
build:
64+
needs: [detect-packages, test]
2865
strategy:
2966
matrix:
3067
package: ${{ fromJson(needs.detect-packages.outputs.packages) }}

.github/workflows/release.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ jobs:
104104
105105
publish-pypi:
106106
needs: [update-packages, create-metadata]
107+
if: ${{ needs.create-metadata.outputs.pypi_packages != '[]' && needs.create-metadata.outputs.pypi_packages != '' }}
107108
strategy:
108109
fail-fast: false
109110
matrix:
@@ -145,6 +146,7 @@ jobs:
145146

146147
publish-npm:
147148
needs: [update-packages, create-metadata]
149+
if: ${{ needs.create-metadata.outputs.npm_packages != '[]' && needs.create-metadata.outputs.npm_packages != '' }}
148150
strategy:
149151
fail-fast: false
150152
matrix:
@@ -212,10 +214,3 @@ jobs:
212214
--title "Release $VERSION" \
213215
--notes-file RELEASE_NOTES.md
214216
215-
- name: Docker MCP images
216-
uses: peter-evans/repository-dispatch@v3
217-
with:
218-
token: ${{ secrets.DOCKER_TOKEN }}
219-
repository: docker/labs-ai-tools-for-devs
220-
event-type: build-mcp-images
221-
client-payload: '{"ref": "${{ needs.create-metadata.outputs.version }}"}'

.github/workflows/typescript.yml

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,43 @@ jobs:
2222
PACKAGES=$(find . -name package.json -not -path "*/node_modules/*" -exec dirname {} \; | sed 's/^\.\///' | jq -R -s -c 'split("\n")[:-1]')
2323
echo "packages=$PACKAGES" >> $GITHUB_OUTPUT
2424
25-
build:
25+
test:
2626
needs: [detect-packages]
27+
strategy:
28+
matrix:
29+
package: ${{ fromJson(needs.detect-packages.outputs.packages) }}
30+
name: Test ${{ matrix.package }}
31+
runs-on: ubuntu-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
35+
- uses: actions/setup-node@v4
36+
with:
37+
node-version: 22
38+
cache: npm
39+
40+
- name: Install dependencies
41+
working-directory: src/${{ matrix.package }}
42+
run: npm ci
43+
44+
- name: Check if tests exist
45+
id: check-tests
46+
working-directory: src/${{ matrix.package }}
47+
run: |
48+
if npm run test --silent 2>/dev/null; then
49+
echo "has-tests=true" >> $GITHUB_OUTPUT
50+
else
51+
echo "has-tests=false" >> $GITHUB_OUTPUT
52+
fi
53+
continue-on-error: true
54+
55+
- name: Run tests
56+
if: steps.check-tests.outputs.has-tests == 'true'
57+
working-directory: src/${{ matrix.package }}
58+
run: npm test
59+
60+
build:
61+
needs: [detect-packages, test]
2762
strategy:
2863
matrix:
2964
package: ${{ fromJson(needs.detect-packages.outputs.packages) }}

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

README.md

Lines changed: 601 additions & 97 deletions
Large diffs are not rendered by default.

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Security Policy
22
Thank you for helping us keep our MCP servers secure.
33

4-
These servers are maintained by [Anthropic](https://www.anthropic.com/) as part of the Model Context Protocol project.
4+
The **reference servers** in this repo are maintained by [Anthropic](https://www.anthropic.com/) as part of the Model Context Protocol project.
55

66
The security of our systems and user data is Anthropic’s top priority. We appreciate the work of security researchers acting in good faith in identifying and reporting potential vulnerabilities.
77

0 commit comments

Comments
 (0)