Skip to main content

mcpbundles-mcp-connect

Python client library for MCP Connect Auth on MCPBundles.

  • McpbundlesConnectProvider — FastMCP auth (interim package export until upstream FastMCP merge)
  • mcpbundles_fastmcp() — one-line FastMCP setup (auth + optional origin handshake telemetry)
  • complete_federation() — finish OAuth federation after your sign-in flow
  • McpbundlesHandshakeMiddleware — origin initialize cohort ingest when telemetry is enabled

Path B — bundle URL only

Publish with MCP Connect Auth, set your federation sign-in URL, and have clients connect via https://mcp.mcpbundles.com/bundle/{slug}. No pip install required on your MCP server.

Path A — vendor origin (FastMCP)

from mcpbundles_mcp_connect import mcpbundles_fastmcp

mcp = mcpbundles_fastmcp(
    "My App",
    listing_slug="my-listing",
    base_url="https://mcp.example.com",
)

@mcp.tool
def hello(name: str) -> str:
    return f"Hello, {name}!"

After sign-in on your web app, complete federation server-side:

from mcpbundles_mcp_connect import complete_federation

await complete_federation(
    listing_slug="my-listing",
    federation_secret=os.environ["MCPBUNDLES_FEDERATION_SECRET"],
    state=state_from_redirect,
    subject=user_id,
)

Full setup guide: https://www.mcpbundles.com/docs/integrations/mcp-connect-auth

pip install mcpbundles-mcp-connect

Download files

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

Source Distribution

mcpbundles_mcp_connect-0.1.0.tar.gz (11.6 kB view details)

Uploaded Source

Built Distribution

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

mcpbundles_mcp_connect-0.1.0-py3-none-any.whl (11.2 kB view details)

Uploaded Python 3

File details

Details for the file mcpbundles_mcp_connect-0.1.0.tar.gz.

File metadata

  • Download URL: mcpbundles_mcp_connect-0.1.0.tar.gz
  • Upload date:
  • Size: 11.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for mcpbundles_mcp_connect-0.1.0.tar.gz
Algorithm Hash digest
SHA256 488730929ede7adcb3097b5b8e8946c66c396efb4c1481c536f19019ca6a8a1d
MD5 411ac27d8bece72a424be273b6ee5aaa
BLAKE2b-256 7a18d16e99458bfcb53435873ee631a9fd0382e713cee805015c069cf0fa21dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpbundles_mcp_connect-0.1.0.tar.gz:

Publisher: release.yml on thinkchainai/mcpbundles-mcp-connect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mcpbundles_mcp_connect-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mcpbundles_mcp_connect-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19a64409526c48ce200382a8b56af0e0d2d38689454d85688c7c49cac8b5d166
MD5 ea6e225702c04277b0ca1aa6e389ee02
BLAKE2b-256 b09d2f188f38cfc3c6dfcc616747f5b7a8fa2558b69544f8322e1ede9ac9dce5

See more details on using hashes here.

Provenance

The following attestation bundles were made for mcpbundles_mcp_connect-0.1.0-py3-none-any.whl:

Publisher: release.yml on thinkchainai/mcpbundles-mcp-connect

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.1.3

2 files

0.1.2

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page