S3 YAML MCP Server

S3 YAML MCP Server

s3-mcp-server-ander-castiblanco-stori•byander-castiblanco-stori

A Model Context Protocol server that connects to AWS S3 and exposes YAML Swagger/OpenAPI documentation files to AI assistants as resources and tools.

License: MIT License•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Connects to any S3-compatible storage service and lists YAML/YML files in a bucket as MCP resources with metadata.
  • •Provides tools to search YAML files by name pattern, list files with optional prefix filtering, and retrieve detailed API endpoint information.
  • •Exposes file contents via S3 URIs and offers advanced search for files and specific API endpoint details.
  • •Uses AWS CLI credentials, IAM roles, or environment variables for secure authentication to S3.

BEST FOR

  • •Generating API client code from stored Swagger/OpenAPI specs using GitHub Copilot in VS Code.
  • •Looking up specific endpoint details such as request and response schemas from API specifications.
  • •Comparing implemented routes against stored API specifications to validate contract compliance.

ABOUT S3-MCP-SERVER-ANDER-CASTIBLANCO-STORI

S3 YAML MCP Server is cataloged as an MCP server attributed to ander-castiblanco-stori. A Model Context Protocol server that connects to AWS S3 and exposes YAML Swagger/OpenAPI documentation files to AI assistants as resources and tools. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: MIT License. Check the source repository's current license and terms before using, modifying or distributing this software.

Capability inspector

Capability definitions are not reviewed. Unreviewed imports are not exposed as trusted interfaces.

Tools (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Resources (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

Prompts (0)

No reviewed records to display. This does not establish that upstream lacks this capability.

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for S3 YAML MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

Which S3 permissions does the server require?

It requires the S3 permissions s3:GetObject, s3:ListBucket, s3:HeadBucket, and s3:HeadObject on the target bucket and its objects.

Can it work with S3-compatible services other than AWS S3?

Yes, the S3_ENDPOINT variable supports connecting to S3-compatible services, and only .yaml or .yml files are discovered.

Upstream README

View this exact version on GitHub

README.md · eeeaada2edd1 · Fetched 2026-11-13 11:41:26 UTC

Original upstream text, without AI rewriting. Scripts, forms and unsafe links are filtered for safety.

Showing the last retrieved documentation snapshot; check the source for current changes.

S3 YAML MCP Server

A Model Context Protocol (MCP) server that connects to AWS S3 to provide access to YAML files containing Swagger/OpenAPI documentation. Designed for seamless integration with VS Code and GitHub Copilot.

🎯 What is MCP?

Model Context Protocol (MCP) is an open protocol that standardizes how applications provide context to Large Language Models (LLMs). It enables AI assistants to securely access data sources and tools.

✨ Features

  • 🔗 S3 Integration: Connect to any S3-compatible storage service
  • 📁 YAML File Discovery: Automatically list and discover YAML/YML files
  • 📖 Content Access: Read and provide YAML content to AI assistants
  • 🔍 Advanced Search: Search for files and specific API endpoint details
  • 🚀 VS Code Native: Built-in integration with VS Code and GitHub Copilot
  • 🔒 Secure Authentication: Uses AWS CLI credentials or IAM roles

🚀 Installation

curl -fsSL https://raw.githubusercontent.com/ander-castiblanco-stori/s3-mcp-server/main/install.sh | bash

This will:

  • Download the latest binary for your platform
  • Install it to /usr/local/bin
  • Set up VS Code configuration files

Method 2: Go Install

go install github.com/ander-castiblanco-stori/s3-mcp-server@latest

Method 3: Download Binary

Visit the releases page and download the binary for your platform.

Method 4: Docker

docker pull ghcr.io/ander-castiblanco-stori/s3-mcp-server:latest

🐳 Docker Usage

Quick Start with Docker

# Pull from GitHub Container Registry
docker pull ghcr.io/ander-castiblanco-stori/s3-mcp-server:latest

# Run with environment variables
docker run -it --rm \
  -e S3_BUCKET=your-bucket \
  -e S3_REGION=us-east-1 \
  -e AWS_ACCESS_KEY_ID=your-key \
  -e AWS_SECRET_ACCESS_KEY=your-secret \
  ghcr.io/ander-castiblanco-stori/s3-mcp-server:latest

Using with Docker Compose

# In your project's docker-compose.yml
version: "3.8"

services:
  s3-mcp-server:
    image: ghcr.io/ander-castiblanco-stori/s3-mcp-server:latest
    environment:
      - S3_BUCKET=your-api-docs-bucket
      - S3_REGION=us-east-1
    volumes:
      - ~/.aws:/home/mcp/.aws:ro
    stdin_open: true
    tty: true

VS Code Integration with Docker

// .vscode/mcp.json
{
  "mcpServers": {
    "s3YamlDocs": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "S3_BUCKET=${input:s3-bucket}",
        "-e",
        "S3_REGION=${input:aws-region}",
        "-v",
        "${env:HOME}/.aws:/home/mcp/.aws:ro",
        "ghcr.io/ander-castiblanco-stori/s3-mcp-server:latest"
      ]
    }
  }
}

Building Docker Images Locally

# Using Makefile
make docker-build          # Build local image
make docker-test           # Test the image
make docker-push           # Build and push to GHCR

# Using script
./docker-build.sh          # Interactive build and push

# Manual commands
docker build --build-arg VERSION=v1.0.0 -t s3-mcp-server:v1.0.0 .
docker run --rm s3-mcp-server:v1.0.0 ./s3-mcp-server --version

🚀 Quick Start

Prerequisites

  • AWS credentials configured (via AWS CLI, IAM roles, or environment variables)
  • S3 bucket containing YAML files
  • VS Code with GitHub Copilot extension

Setup

  1. Install the server (choose one method above)

  2. Configure environment:

# In your project directory, create configuration
cat > .env << 'EOF'
S3_BUCKET=your-api-docs-bucket
S3_REGION=us-east-1
EOF
  1. Set up VS Code (if not done by installer):
# Create VS Code MCP configuration
mkdir -p .vscode
cat > .vscode/mcp.json << 'EOF'
{
  "mcpServers": {
    "s3YamlDocs": {
      "command": "s3-mcp-server",
      "args": [],
      "env": {
        "S3_BUCKET": "your-bucket-name",
        "S3_REGION": "us-east-1"
      }
    }
  }
}
EOF
  1. Test the connection:
./test-vscode-integration.sh
  1. Open in VS Code:
code .
  1. Start using with GitHub Copilot:
    • Open GitHub Copilot Chat (Cmd+Shift+I on macOS)
    • Type: @s3YamlDocs list all YAML files in my bucket

🛠️ MCP Capabilities

Resources

  • Lists all YAML files in the S3 bucket as MCP resources
  • Each file is exposed with metadata (size, modification date)
  • Files are accessible via S3 URIs: s3://bucket-name/path/to/file.yaml

Tools

  • search_yaml_files: Search for YAML files by name pattern
  • list_yaml_files: List all YAML files with optional prefix filtering
  • get_endpoint_details: Get detailed information about specific API endpoints including request/response schemas

💡 Usage Examples with GitHub Copilot

Generate API Client Code

@s3YamlDocs I need to create a TypeScript client for the user management API.
Can you find the user API specification and generate a complete client with all methods?

Find Specific Endpoint Details

@s3YamlDocs Use get_endpoint_details to find information about the /v1/cards/{card_id}/pan endpoint

Validate Implementation

@s3YamlDocs Compare my Express.js routes in src/routes/users.js with the user API
specification to ensure I'm following the contract correctly.

Generate Test Cases

@s3YamlDocs Based on the payment API specification, generate comprehensive
Jest test cases that cover all endpoints and error scenarios.

Search and Analysis

@s3YamlDocs Search for all authentication-related endpoints across all my APIs
@s3YamlDocs Find all endpoints that return blocked_reason in the response

⚙️ Configuration

Environment Variables

Create a .env file based on .env.example:

# Required
S3_BUCKET=your-api-docs-bucket

# Optional (defaults shown)
S3_REGION=us-east-1
AWS_ACCESS_KEY_ID=your-access-key     # Optional if using IAM/AWS CLI
AWS_SECRET_ACCESS_KEY=your-secret-key # Optional if using IAM/AWS CLI
S3_ENDPOINT=                          # For S3-compatible services
LOG_LEVEL=info

AWS Authentication

The server supports multiple authentication methods:

  1. AWS CLI credentials (recommended): aws configure
  2. IAM roles (for EC2/Lambda deployments)
  3. Environment variables (AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY)

S3 Permissions

Your AWS credentials need these S3 permissions:

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:ListBucket",
        "s3:HeadBucket",
        "s3:HeadObject"
      ],
      "Resource": [
        "arn:aws:s3:::your-bucket-name",
        "arn:aws:s3:::your-bucket-name/*"
      ]
    }
  ]
}
your-s3-bucket/
├── apis/
│   ├── user-service/
│   │   ├── v1/openapi.yaml
│   │   └── v2/swagger.yaml
│   ├── payment-service/
│   │   └── api-spec.yml
│   └── notification-service/
│       └── swagger.yaml
└── legacy/
    └── old-api.yaml

🏗️ Development

Project Structure

s3-mcp-server/
├── main.go                    # Entry point
├── internal/
│   ├── config/               # Configuration management
│   ├── s3/                   # S3 client and operations
│   └── server/               # MCP server implementation
├── pkg/
│   └── mcp/                  # MCP protocol types and utilities
├── .vscode/
│   └── mcp.json              # VS Code MCP configuration
├── .env.example              # Environment configuration template
└── README.md

Building and Testing

# Using Makefile (recommended)
make build          # Build binary
make test           # Run tests
make test-vscode    # Test VS Code integration
make install        # Install to /usr/local/bin

# Manual build
go build -o s3-mcp-server

# Test scripts
./test-vscode-integration.sh
./test-new-tool.sh
./test.sh

📦 Distribution & Publishing

This project supports multiple distribution methods:

🏷️ Creating Releases

  1. Tag a version:
git tag v1.0.0
git push origin v1.0.0
  1. GitHub Actions automatically:
    • Builds binaries for all platforms (Linux, macOS, Windows)
    • Creates a GitHub release
    • Uploads platform-specific binaries

🐳 Docker Distribution

# Build Docker image
make docker-build

# Run with Docker
docker run --rm -e S3_BUCKET=your-bucket s3-mcp-server:latest

📋 Installation Methods Summary

MethodCommandUse Case
One-line installcurl -fsSL https://raw.githubusercontent.com/ander-castiblanco-stori/s3-mcp-server/main/install.sh | bashProduction use across projects
Go installgo install github.com/ander-castiblanco-stori/s3-mcp-server@latestGo developers
Binary downloadDownload from releasesManual installation
Dockerdocker pull ghcr.io/ander-castiblanco-stori/s3-mcp-server:latestContainer environments
Clone & buildgit clone && make buildDevelopment

🔄 Using Across Multiple Projects

Once installed globally, you can use the S3 MCP server in any project:

  1. Create VS Code config in any project:
mkdir -p .vscode
cat > .vscode/mcp.json << 'EOF'
{
  "mcpServers": {
    "s3YamlDocs": {
      "command": "s3-mcp-server",
      "args": [],
      "env": {
        "S3_BUCKET": "your-api-docs-bucket",
        "S3_REGION": "us-east-1"
      }
    }
  }
}
EOF
  1. Open VS Code and use GitHub Copilot:
@s3YamlDocs list all YAML files
@s3YamlDocs find endpoints for user authentication

🔧 Troubleshooting

Common Issues

❌ S3 Connection Failed

  • Verify AWS credentials: aws sts get-caller-identity
  • Check bucket permissions and region
  • Ensure bucket exists: aws s3 ls s3://your-bucket-name

❌ No Files Found

  • Verify YAML files exist with .yaml or .yml extensions
  • Check S3 bucket contents: aws s3 ls s3://your-bucket-name --recursive

❌ VS Code Integration Issues

  • Ensure VS Code is updated to latest version
  • Check GitHub Copilot extension is active
  • Verify .vscode/mcp.json configuration
  • Check VS Code Output → "GitHub Copilot Chat" for errors

❌ Permission Denied

  • Review IAM policies match required S3 permissions
  • Check bucket policy allows access
  • Verify region configuration matches bucket region

Debug Mode

Enable debug logging:

LOG_LEVEL=debug ./s3-mcp-server

📚 Learn More

📄 License

MIT License - see LICENSE file for details.

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for S3 YAML MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/s3-mcp-server-ander-castiblanco-stori)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

Downloads and pulls

Separate sources, scopes and periods. Never combined or treated as installations, active users or security reviews.

No reviewed package or image identity; download statistics are not listed yet.

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage