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-0.1.0.tar.gz (144.3 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-0.1.0-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastmcp_pvl_core-0.1.0.tar.gz
  • Upload date:
  • Size: 144.3 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-0.1.0.tar.gz
Algorithm Hash digest
SHA256 9716ddae377627d46b771efc5e0fd5e2ac93e8a6996880113803b2822b565017
MD5 3d8cbfd9bebcccae5198e971a2734bcb
BLAKE2b-256 57b00e375eb2357671d1ecf818e9d7722855816a1d3466fcc58382ebbe3d9e43

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastmcp_pvl_core-0.1.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-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastmcp_pvl_core-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 55217b59707d69b54baaec8bf62d910d367bf6b4f568556928af859b94c24346
MD5 8b653347bb46abbda626f6e8bbaa6b58
BLAKE2b-256 6bd921d4831a60376b482e5b80bf959b7bbfd59ebacd05310f044a3b73602cd0

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastmcp_pvl_core-0.1.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