Skip to main content

mcpward-sdk

Python client SDK for the mcpward MCP gateway.

Install

pip install mcpward-sdk

Usage

from mcpward_sdk import MCPWardClient

async with MCPWardClient("https://mcpward.redfleet.fr", "mw_sk_your_key") as client:
    # List available tools
    tools = await client.list_tools()
    for tool in tools:
        print(f"{tool['name']}: {tool.get('description', '')[:60]}")

    # Call a tool
    result = await client.call_tool("read_wiki_structure", {"repoName": "facebook/react"})
    print(result.content)

    # Call a tool on a specific server
    result = await client.call_tool("create_issue", {"title": "Bug"}, server="github")

    # Check health
    health = await client.health()

    # Manage webhooks
    wh = await client.create_webhook("https://hooks.example.com/mcpward", ["upstream.down"])
    hooks = await client.list_webhooks()
    await client.delete_webhook(wh["id"])

    # Upgrade to Pro
    checkout_url = await client.create_checkout("pro")

License

MIT

Metadata

Release files for mcpward-sdk 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcpward-sdk 0.1.0
File Size Uploaded Provenance
mcpward_sdk-0.1.0.tar.gz 4.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcpward-sdk 0.1.0
File Interpreter ABI Platform
mcpward_sdk-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.4 kB

Release files / mcpward_sdk-0.1.0.tar.gz

Download URL mcpward_sdk-0.1.0.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
88c4863d3ddc185a30e99a14f9322a5fa65aa004db072fdfac31f5303497bbbc
BLAKE2b-256 checksum
How to use checksums
b82e9f5a481bd864fa129cd6e2ef145799f7faa0f44e1d90a6d9838abe81262a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Release files / mcpward_sdk-0.1.0-py3-none-any.whl

Download URL mcpward_sdk-0.1.0-py3-none-any.whl
Size 4.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9919aed5c894eba9a5aff80a1abd40348577261572b3252f099b3a525fdeeba8
BLAKE2b-256 checksum
How to use checksums
0cb4b3d2f5278a98b5608a94bc9bf1eed75878974b80abcc1fe7b1fe5eaad5e8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.8

Security for mcpward-sdk 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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