Skip to content

Commit 901784e

Browse files
authored
Merge branch 'main' into batch-update-official-servers-061725
2 parents 78019bf + fd047c0 commit 901784e

11 files changed

Lines changed: 6054 additions & 1486 deletions

File tree

.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) }}

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,18 @@ This repository is a collection of *reference implementations* for the [Model Co
44
to community built servers and additional resources.
55

66
The servers in this repository showcase the versatility and extensibility of MCP, demonstrating how it can be used to give Large Language Models (LLMs) secure, controlled access to tools and data sources.
7-
Each MCP server is implemented with either the [Typescript MCP SDK](https://github.com/modelcontextprotocol/typescript-sdk) or [Python MCP SDK](https://github.com/modelcontextprotocol/python-sdk).
7+
Typically, each MCP server is implemented with an MCP SDK:
8+
- [C# MCP SDK](https://github.com/modelcontextprotocol/csharp-sdk)
9+
- [Java MCP SDK](https://github.com/modelcontextprotocol/java-sdk)
10+
- [Kotlin MCP SDK](https://github.com/modelcontextprotocol/kotlin-sdk)
11+
- [Python MCP SDK](https://github.com/modelcontextprotocol/python-sdk)
12+
- [Typescript MCP SDK](https://github.com/modelcontextprotocol/typescript-sdk)
813

914
> Note: Lists in this README are maintained in alphabetical order to minimize merge conflicts when adding new items.
1015
1116
## 🌟 Reference Servers
1217

13-
These servers aim to demonstrate MCP features and the TypeScript and Python SDKs.
18+
These servers aim to demonstrate MCP features and the official SDKs.
1419

1520
- **[Everything](src/everything)** - Reference / test server with prompts, resources, and tools
1621
- **[Fetch](src/fetch)** - Web content fetching and conversion for efficient LLM usage

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)