Skip to main content

Shared utilities for mrlesmithjr MCP servers: logging, config, paths, errors

Project description

mrlesmithjr-mcp-common

Shared utilities for mrlesmithjr personal MCP servers.

Import as mcp_common.

Modules

Module Purpose
mcp_common.logging configure_logging() forcing stderr output (required for stdio transport)
mcp_common.server build_server(name, instructions) and run_stdio(mcp)
mcp_common.config load_layered_config(tool_name, env_map) with config.json/env precedence
mcp_common.paths config_dir(), config_file(), data_dir() XDG path resolvers
mcp_common.errors tool_error(), error_json(), safe_tool decorator

Install

This package is a workspace member and is installed automatically via uv sync at the repo root. It is not intended for standalone PyPI distribution.

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

mrlesmithjr_mcp_common-0.1.0.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

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

mrlesmithjr_mcp_common-0.1.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mrlesmithjr_mcp_common-0.1.0.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mrlesmithjr_mcp_common-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b680965297369183ce796ae4580d12453655ac69a5b7d492e4ecc044d3428f17
MD5 d76ea64e6f8140fdb6c502993f3853c4
BLAKE2b-256 21960d393f32bef0a5908d49e9711d20298efe46348a718a64e2560df6c10573

See more details on using hashes here.

File details

Details for the file mrlesmithjr_mcp_common-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mrlesmithjr_mcp_common-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.21 {"installer":{"name":"uv","version":"0.11.21","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mrlesmithjr_mcp_common-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e268e21bbee8379a3cb4c7b5db1b2e938a97a31a60f01cae8249436ab090f986
MD5 9eb736abf0294f37ae68c2c72516e6ac
BLAKE2b-256 f3af411a712826318003f5f2328dd21eeea1219ca7e989731f2d8ad8cfcbbf6d

See more details on using hashes here.

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