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.0.tar.gz (215.5 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.0-py3-none-any.whl (249.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quilt_mcp-0.8.0.tar.gz
  • Upload date:
  • Size: 215.5 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.0.tar.gz
Algorithm Hash digest
SHA256 fcc39859ad89d4c9c16d00ce100f805623205b5d70203d31faf2f72aebac61db
MD5 563a0f0748758e9c051b3df13104b435
BLAKE2b-256 84b0f360c83c71fc1275a87d33b3109a6e95ec5c8fd0cd495d7a634e67bf8ed7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quilt_mcp-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 249.9 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d3ee57543c590857504c2ccc2a12fe4d67c23daf7d26b7f2e61c6f70f109a63b
MD5 025f507265df2a9c761a3b2405af618b
BLAKE2b-256 e13bd7aed6dfb719b35ef6d1dc546f4c579beea442078491e727cc71d7e2c4a6

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