mcp-account-kit
Provider-neutral runtime and contract-testing kit for MCP account servers built on FastMCP, signin-window, and account-connections.
Install
pip install mcp-account-kit # base: cryptography, fastmcp
pip install 'mcp-account-kit[web]' # + signin-window[oidc], account-connections, starlette
pip install 'mcp-account-kit[login]' # + signin-window, uvicorn
pip install 'mcp-account-kit[login-base]' # + pinned patchright (mcp-login-base image)
Contract Checks
Run static AST boundary checks via CLI:
mcp-kit-lint --package-dir src/my_mcp --network-module site.py --forbid-import my_login --login-dir src/my_login
Run surface, schema, annotation, instruction, and error-catalog assertions in pytest:
from mcp_account_kit.r2 import R2ActionGuard
from mcp_account_kit.safety import check_allowed_url, lean_input_schema, strip_control_chars
from mcp_account_kit.testing import assert_mcp_server_contract
Hosted Login Base Image
Dockerfile.login-base publishes ghcr.io/benjamin-di/mcp-login-base (USER 1000:1000, managed Chrome policy pre-installed). Downstream login services build from it with FROM ghcr.io/benjamin-di/mcp-login-base:<version>@sha256:<digest>.
Development
make bootstrap && make check
Metadata
Release files for mcp-account-kit 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mcp_account_kit-0.2.0.tar.gz | 183.4 kB | Without provenance | Details for mcp_account_kit-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mcp_account_kit-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for mcp_account_kit-0.2.0-py3-none-any.whl |
Total release size: 216.8 kB
Release files / mcp_account_kit-0.2.0.tar.gz
| Download URL | mcp_account_kit-0.2.0.tar.gz |
|---|---|
| Size | 183.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3471c6831f068abfb7ccafde42759465ece1f89969993afc57ab2fb9f0034f8a
|
|
BLAKE2b-256 checksum How to use checksums |
bdab5e3a7cdc6689cdec0ea943e4c7b5d058564f3de9644e97e74bd616a845b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / mcp_account_kit-0.2.0-py3-none-any.whl
| Download URL | mcp_account_kit-0.2.0-py3-none-any.whl |
|---|---|
| Size | 33.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a87e29126bf43db62464e6ed3fc0a0c048413cd359cd5b10aa45adcfa5f2e03
|
|
BLAKE2b-256 checksum How to use checksums |
2a2d5d5fa3df7781297173788c07ef37c22d30bb1c06f36f0b2eb19a8e01a57c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.12 {"installer":{"name":"uv","version":"0.13.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for mcp-account-kit 0.2.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.