pryscraper/pry_mcp/constants.py
cryptorugmunch f7f9fa0c88 refactor(mcp): split mcp_production.py into pry_mcp/ sub-package
- pry_mcp/constants.py: protocol constants

- pry_mcp/notifications.py: observer pattern, logging handler, notification helpers

- pry_mcp/tools.py: PRY_TOOLS definitions

- pry_mcp/resources.py: PRY_RESOURCES and PRY_PROMPTS

- pry_mcp/fallback_server.py: FallbackMCPServer implementation

- pry_mcp/sdk_server.py: official MCP SDK path

- mcp_production.py: backward-compatible re-export shim

- Avoid namespace collision with installed mcp SDK by using pry_mcp/
2026-07-03 14:52:59 +02:00

18 lines
455 B
Python

"""Pry - MCP server constants."""
# SPDX-License-Identifier: MIT
# Copyright (c) 2026 Rug Munch Media LLC
#
# Part of Pry - https://git.rugmunch.io/RugMunchMedia/pryscraper
# Licensed under MIT. See LICENSE.
from __future__ import annotations
import os
# MCP protocol version (per the official spec)
MCP_PROTOCOL_VERSION = "2024-11-05"
SERVER_NAME = "pry"
SERVER_VERSION = "3.0.0"
DEFAULT_BASE_URL = os.getenv("PRY_API_URL", "http://localhost:8002")