Skip to main content

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


Download files

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

Source Distribution

fastmcp_pvl_core-1.0.0.tar.gz (144.8 kB view details)

Uploaded Source

Built Distribution

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

fastmcp_pvl_core-1.0.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file fastmcp_pvl_core-1.0.0.tar.gz.

File metadata

  • Download URL: fastmcp_pvl_core-1.0.0.tar.gz
  • Upload date:
  • Size: 144.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for fastmcp_pvl_core-1.0.0.tar.gz
Algorithm Hash digest
SHA256 01a37c824a8929c6267d54ec570d5f6b1639e6c133eb6c36f1ee03ac216603f8
MD5 8694f82af1479636e815446e207bbee6
BLAKE2b-256 20e819d9736dd16b366fcad897c3b305588c6e79d989caa296d0116f1625eb44

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastmcp_pvl_core-1.0.0.tar.gz:

Publisher: release.yml on pvliesdonk/fastmcp-pvl-core

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

File details

Details for the file fastmcp_pvl_core-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastmcp_pvl_core-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a19e24ec387ae792e62781edbbc8a986545b5eb33eb01580ed707edbbea77e39
MD5 6d3abe7b7fde8af630444b9ea3b7a6c3
BLAKE2b-256 0dd8f79abe84d1dbe4be2165755de52b50fae365f5c4a096eea49e97ac12c948

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastmcp_pvl_core-1.0.0-py3-none-any.whl:

Publisher: release.yml on pvliesdonk/fastmcp-pvl-core

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

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page