Atlas / MCP servers / aws-samples / Sample Model Context Protocol Demos

Sample Model Context Protocol DemosSAFE

mcp/aws-samples/sample-model-context-protocol-demos

Collection of examples of how to use Model Context Protocol with AWS.

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
8 7r · 1w · 0d
Transport
sse · streamable-http
License
MIT-0
Stars
103
01

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:

Read from source at commit e8f902297260OBSERVED · 2026-10-07
02

Connect

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-code
claude mcp add mcp-server --env COGNITO_CLIENT_SECRET=${COGNITO_CLIENT_SECRET} --env OAUTH_ENDPOINT=${OAUTH_ENDPOINT} -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ],
      "env": {
        "COGNITO_CLIENT_SECRET": "${COGNITO_CLIENT_SECRET}",
        "OAUTH_ENDPOINT": "${OAUTH_ENDPOINT}"
      }
    }
  }
}
03

Exposed tools (8)

7 read · 1 write · 0 destructive.

ToolRiskDescription
calculatorwriteA simple calculator that can add, subtract, multiply, and divide
get_employees_with_skillreademployees that have a specified skill - output includes fullname (First Last) and their skills
get_skillsreadall of the skills that employees may have - use this list to figure out related skills
greetingread
inquirereadanswers questions related to our employees
s3BucketCountreadCount S3 buckets in AWS account
timereadGet the current time in any timezone
weatherreadGet the current weather for a location
04

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.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeWARN
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (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)

MEDIUMNetwork egress · net.raw_ip · CWE-200, CWE-319
modules/anthropic-bedrock-python-ecs-mcp/src/client.py:15
SERVER_URL = os.getenv("SERVER_URL", "http://0.0.0.0:8080")
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
modules/anthropic-bedrock-python-ecs-mcp/infra/mcp-sse-cdk/requirements.txt
constructs
Why it matters. 1 requirement(s) not pinned with ==
Fix. pin exact versions
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
modules/converse-client-server-sse-demo-docker/client/package.json
@aws-sdk/client-bedrock-runtime, @modelcontextprotocol/sdk, chalk, @types/jest, @types/node, @typescript-eslint/eslint-plugin, @typescript-eslint/parser, eslint
Why it matters. 13 dependency range(s) float
Fix. pin exact versions or ship a lockfile
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
modules/converse-client-server-sse-demo-docker/server/package.json
@aws-sdk/client-s3, fastmcp, zod, @types/node, nodemon, ts-node, typescript
Why it matters. 7 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-10-07 · audit v0.4.1 · source sha e8f902297260full audit observations/trust-audit/mcp-server/aws-samples__sample-model-context-protocol-demos.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-07e8f902297260SAFEB89first audit
06

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.

Advertisement