Shared FastMCP infrastructure: auth, middleware, logging, server-factory helpers
Project description
fastmcp-pvl-core
Shared FastMCP infrastructure for the pvliesdonk/*-mcp server family:
auth, middleware, logging, config helpers, server-factory building blocks.
Status
Early 0.x. API may change on minor bumps until 1.0.
Install
uv add fastmcp-pvl-core
# If you use RemoteAuthProvider mode:
uv add "fastmcp-pvl-core[remote-auth]"
Usage
See src/fastmcp_pvl_core/ for the full surface. Typical usage:
from fastmcp import FastMCP
from fastmcp_pvl_core import (
ServerConfig, build_auth, build_instructions,
wire_middleware_stack, env,
)
config = ServerConfig.from_env("MY_APP")
mcp = FastMCP(
name="my-app",
instructions=build_instructions(read_only=False, env_prefix="MY_APP", domain_line="…"),
auth=build_auth("MY_APP", config),
)
wire_middleware_stack(mcp)
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastmcp_pvl_core-1.0.0rc1.tar.gz.
File metadata
- Download URL: fastmcp_pvl_core-1.0.0rc1.tar.gz
- Upload date:
- Size: 144.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56925ed645720b956a7d1fe395da6edb9518c4e47470a4d0c24520af2364c26e
|
|
| MD5 |
fc440ae415d2cebc0b7a00c71b7089f8
|
|
| BLAKE2b-256 |
446171891949c6569c986d01a2f043687a6acb704a2b6b8422f3806036c47e12
|
Provenance
The following attestation bundles were made for fastmcp_pvl_core-1.0.0rc1.tar.gz:
Publisher:
release.yml on pvliesdonk/fastmcp-pvl-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastmcp_pvl_core-1.0.0rc1.tar.gz -
Subject digest:
56925ed645720b956a7d1fe395da6edb9518c4e47470a4d0c24520af2364c26e - Sigstore transparency entry: 1342075855
- Sigstore integration time:
-
Permalink:
pvliesdonk/fastmcp-pvl-core@1812ba876bb14b244888480b6c4faa805f669a20 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pvliesdonk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1812ba876bb14b244888480b6c4faa805f669a20 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file fastmcp_pvl_core-1.0.0rc1-py3-none-any.whl.
File metadata
- Download URL: fastmcp_pvl_core-1.0.0rc1-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5b268ca4dbe9eef50ee99fd58cd55fed32470fcf9c389eb45742a23454dadc6a
|
|
| MD5 |
2b1d3c63354f8b1049f471ae6c299f3a
|
|
| BLAKE2b-256 |
60f529ef92cfa2a0f61178e3bdd6f4b7fbc24e39507d0085154ec71bdc22a067
|
Provenance
The following attestation bundles were made for fastmcp_pvl_core-1.0.0rc1-py3-none-any.whl:
Publisher:
release.yml on pvliesdonk/fastmcp-pvl-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastmcp_pvl_core-1.0.0rc1-py3-none-any.whl -
Subject digest:
5b268ca4dbe9eef50ee99fd58cd55fed32470fcf9c389eb45742a23454dadc6a - Sigstore transparency entry: 1342075939
- Sigstore integration time:
-
Permalink:
pvliesdonk/fastmcp-pvl-core@1812ba876bb14b244888480b6c4faa805f669a20 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pvliesdonk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1812ba876bb14b244888480b6c4faa805f669a20 -
Trigger Event:
workflow_dispatch
-
Statement type: