Sample Model Context Protocol DemosSAFE
Collection of examples of how to use Model Context Protocol with AWS.
Overview
From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.
Agentic AI Samples
Collection of examples of how to build Agentic AI with AWS, including Model Context Protocol.
List of modules:
e8f902297260OBSERVED · 2026-10-07Connect
Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.
claude mcp add mcp-server --env COGNITO_CLIENT_SECRET=${COGNITO_CLIENT_SECRET} --env OAUTH_ENDPOINT=${OAUTH_ENDPOINT} -- npx -y [email protected]{
"mcpServers": {
"mcp-server": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"COGNITO_CLIENT_SECRET": "${COGNITO_CLIENT_SECRET}",
"OAUTH_ENDPOINT": "${OAUTH_ENDPOINT}"
}
}
}
}Exposed tools (8)
7 read · 1 write · 0 destructive.
| Tool | Risk | Description |
|---|---|---|
calculator | write | A simple calculator that can add, subtract, multiply, and divide |
get_employees_with_skill | read | employees that have a specified skill - output includes fullname (First Last) and their skills |
get_skills | read | all of the skills that employees may have - use this list to figure out related skills |
greeting | read | |
inquire | read | answers questions related to our employees |
s3BucketCount | read | Count S3 buckets in AWS account |
time | read | Get the current time in any timezone |
weather | read | Get the current weather for a location |
Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | WARN |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- declared (6 observation(s))
- Shell
- none-observed
- Dependencies
- not all pinned
- Secrets in source
- none-found
Findings (4)
SERVER_URL = os.getenv("SERVER_URL", "http://0.0.0.0:8080")constructs
@aws-sdk/client-bedrock-runtime, @modelcontextprotocol/sdk, chalk, @types/jest, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
@aws-sdk/client-s3, fastmcp, zod, @types/node, nodemon, ts-node, typescript
Gates applied: no_behavioural_pass.
e8f902297260full audit observations/trust-audit/mcp-server/aws-samples__sample-model-context-protocol-demos.json · Report an issue / request a re-scanAudit history
Every audit this server has had. A grade with a past is a grade somebody is still checking.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-07 | e8f902297260 | SAFE | B | 89 | first audit |
Questions
What is the Sample Model Context Protocol Demos MCP server?
Collection of examples of how to use Model Context Protocol with AWS.
What tools does Sample Model Context Protocol Demos expose?
8 in total: 7 read-only, 1 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.
Is Sample Model Context Protocol Demos safe to connect to an agent?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.
What credentials does Sample Model Context Protocol Demos need?
It reads COGNITO_CLIENT_SECRET and OAUTH_ENDPOINT from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.
How does Sample Model Context Protocol Demos run?
It speaks sse and streamable-http, so it runs as a service you connect to over the network. It is published on npm as mcp-server at 1.1.0.
How current is this page?
The grade is for one exact copy of the source (e8f902297260), read on 2026-10-07. The repository is watched and re-audited when it changes.