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"
      }
    }
  }
}

Configuration

Configure or refresh quilt3 credentials with:

# Configure catalog and authenticate (interactive)
quilt3 config

# Or set directly
quilt3 config https://your-stack.your-company.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 (if not default)
  • QUILT_SERVICE_TIMEOUT - HTTP timeout for service calls in seconds (default: 60)

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.9.2.tar.gz (223.3 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.9.2-py3-none-any.whl (252.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: quilt_mcp-0.9.2.tar.gz
  • Upload date:
  • Size: 223.3 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.9.2.tar.gz
Algorithm Hash digest
SHA256 6f7bcdbd363f0eb9f95e0bb5933dbc67d6fab6219e591dd47c54c46ed2138eb8
MD5 c629be414d3e4187ccfd8487c47c15d9
BLAKE2b-256 c44878c65929464ae27650bdab9eaa5de540fdbc7a06d483520b0b19e0b76f61

See more details on using hashes here.

File details

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

File metadata

  • Download URL: quilt_mcp-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 252.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.9.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6e3004c75448022fb093ac41fb6a491753d052c96611f6bdb88b9ecd4890c392
MD5 e716014bff1eff3edcf7de9ceabcb6dd
BLAKE2b-256 d88f3ed0b26fc1f0ea0313ad15938c1a5ea9cc6ca18ecbd204797654e54e1d9c

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