Skip to main content

Secure MCP server for accessing Quilt data with JWT authentication

Project description

Quilt MCP Server

MCP server for Quilt data catalog - search, analyze, and manage data packages with 84+ tools.

Tests Python 3.11+ License

Quick Start

1. Terminal (Direct)

# Run directly with uvx (requires uv: https://docs.astral.sh/uv/)
uvx quilt-mcp

# Or install globally
uv tool install quilt-mcp
quilt-mcp

2. Claude Desktop (One-Click)

  1. Download .mcpb from releases
  2. Double-click to install or drag to Claude Desktop
  3. Configure catalog in Settings → Extensions → Quilt MCP

3. Claude Code CLI

# Add to Claude Code CLI with environment variables
npx @anthropic-ai/claude-code mcp add quilt-mcp uvx quilt-mcp \
  -e QUILT_CATALOG_DOMAIN=your-catalog.quiltdata.com \
  -e AWS_PROFILE=your-profile

4. Custom MCP Clients

Add to your mcp.json:

{
  "mcpServers": {
    "quilt": {
      "command": "uvx",
      "args": ["quilt-mcp"],
      "env": {
        "QUILT_CATALOG_DOMAIN": "quilt-stack.yourcompany.com"
      }
    }
  }
}

🎓 Workshop Materials

Running a workshop or training session? We have complete workshop materials with AWS Bedrock integration:

📚 Workshop Guide →

Includes:

  • Step-by-step participant guide - Installation, configuration, hands-on exercises
  • Instructor guide - Timeline, talking points, troubleshooting
  • Email templates - HubSpot-compatible templates for sending AWS credentials
  • Quick reference cards - Common prompts and tool categories
  • Pre-event checklist - What participants need to install beforehand

Perfect for:

  • Team training sessions
  • Conference workshops
  • Educational courses
  • Internal enablement

Configuration

Authentication

quilt-mcp supports dual-mode authentication at runtime:

  • JWT (web deployments): When the HTTP transport provides a bearer token, the server verifies it and uses the JWT-derived AWS session for all tools.
  • IAM/quilt3 (desktop & CLIs): Without a JWT, the server transparently falls back to the existing quilt3 login flow so local workflows keep working.

Configure or refresh quilt3 credentials with:

# Configure catalog and authenticate (interactive)
quilt3 config

# Or set directly
quilt3 config https://your-catalog.quiltdata.com

# Login (opens browser for SSO, or prompts for credentials)
quilt3 login

Your credentials are stored in ~/.quilt/ and automatically used by quilt-mcp whenever a JWT is not present.

To require JWTs in production deployments, set MCP_REQUIRE_JWT=true. In strict mode, bucket and package tools return a clear error instead of falling back to quilt3 credentials.

Environment Variables

Override defaults via environment or MCP config:

  • QUILT_CATALOG_DOMAIN - Your Quilt catalog URL (e.g., your-catalog.quiltdata.com)
  • QUILT_DEFAULT_BUCKET - Default S3 bucket (e.g., s3://your-bucket)
  • AWS_PROFILE - AWS credentials profile for S3 access
  • MCP_REQUIRE_JWT - Set to true to reject IAM/quilt3 fallback and enforce JWT-only access

Development

# Clone and setup
git clone https://github.com/quiltdata/quilt-mcp-server.git
cd quilt-mcp-server

# Install and run
uv sync
make run

# Test
make test

Documentation

Troubleshooting

SyntaxWarning from jsonlines

You may see this warning during installation:

SyntaxWarning: invalid escape sequence '\*'

This is harmless. It's from the jsonlines dependency (via quilt3) and doesn't affect functionality. The warning appears on Python 3.12+ due to deprecated escape sequences in the library's docstrings.

Support

License

Apache 2.0 - See LICENSE.txt

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

quilt_mcp-0.8.1.tar.gz (221.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

quilt_mcp-0.8.1-py3-none-any.whl (260.5 kB view details)

Uploaded Python 3

File details

Details for the file quilt_mcp-0.8.1.tar.gz.

File metadata

  • Download URL: quilt_mcp-0.8.1.tar.gz
  • Upload date:
  • Size: 221.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.12

File hashes

Hashes for quilt_mcp-0.8.1.tar.gz
Algorithm Hash digest
SHA256 2fe98508ae2b65c8cd716212141de1969f51bd7baefdf404d72b73fa5c856874
MD5 30f4974656b69b41eadf4b7be48b7f17
BLAKE2b-256 451aea49c3c30a50faba6266d68ccbfa83de719d1a4a227d00835db91d737ea5

See more details on using hashes here.

File details

Details for the file quilt_mcp-0.8.1-py3-none-any.whl.

File metadata

  • Download URL: quilt_mcp-0.8.1-py3-none-any.whl
  • Upload date:
  • Size: 260.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.12

File hashes

Hashes for quilt_mcp-0.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 85dd7593a72ec515d3a0a67b914dcb9b99fa146be514d9edcd5f3eff00c7c0a9
MD5 28ad08f64ffd938662b89b09fd55de7e
BLAKE2b-256 372190e422798ef17252eff51902499443cea7ad2b6f8f961a0e4b6e8766c367

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page