Skip to main content

langchain-mcp-m2m

LangChain MCP client with OAuth 2.0 Client Credentials (M2M) support.

Install

pip install langchain-mcp-m2m

Usage

from langchain_mcp_m2m import MCPClientCredentials

client = MCPClientCredentials({
    "server": {
        "url": "http://localhost:3301/mcp",
        "transport": "streamable_http",
        "auth": {
            "client_id": "your-client-id",
            "client_secret": "your-client-secret"
        }
    }
})

await client.initialize()
tools = await client.get_tools()

Full documentation: https://github.com/LocusTechnologies/langchain-mcp-m2m

License

MIT

Metadata

Release files for langchain-mcp-m2m 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 langchain-mcp-m2m 0.1.0
File Size Uploaded Provenance Actions
langchain_mcp_m2m-0.1.0.tar.gz 8.9 kB Without provenance Details for langchain_mcp_m2m-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-mcp-m2m 0.1.0
File Interpreter ABI Platform Actions
langchain_mcp_m2m-0.1.0-py3-none-any.whl Python 3 none any Details for langchain_mcp_m2m-0.1.0-py3-none-any.whl

Total release size: 19.2 kB

Release files / langchain_mcp_m2m-0.1.0.tar.gz

Download URL langchain_mcp_m2m-0.1.0.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0df7da1fc9efaf5435e74cf69f9f4334c41d0c1c33b864f7f2ead0d3d787cf63
BLAKE2b-256 checksum
How to use checksums
8edb28245db746c1e96e758baa583cd5560e58d2a9cc6ea52b483782f835a585
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

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

Download URL langchain_mcp_m2m-0.1.0-py3-none-any.whl
Size 10.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a0a4448350cb3ca57a8e9e5bc489bb41b79e638809764b649d9d7421e96063ae
BLAKE2b-256 checksum
How to use checksums
3228bfd1b3c9d70d4729a35af6f773fdbd5b8831d9f92ddcd530cbc4820a641c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for langchain-mcp-m2m 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