Metadata-Version: 2.1
Name: pixeloffice-mcp
Version: 1.0.0
Summary: Zero-dependency MCP Monetization & Credit Verification Middleware for FastMCP, LangChain, CrewAI, and custom JSON-RPC Model Context Protocol (MCP) servers.
Home-page: https://pixeloffice.eu
Author: Pixel Office & Pixel Ventures
Author-email: support@pixeloffice.eu
License: UNKNOWN
Description: # Pixel Office MCP Monetization SDK for Python
        
        Zero-dependency Python **MCP Monetization & Credit Verification Middleware** for FastMCP, LangChain, CrewAI, and custom JSON-RPC Model Context Protocol (MCP) servers.
        
        ## Installation
        
        ```bash
        pip install pixeloffice-mcp
        ```
        
        ## Quick Start
        
        ```python
        from pixeloffice_mcp import verify_mcp_credit, settle_mcp_meter, McpMonetizeMiddleware
        
        # Verify credit for incoming MCP tool call
        verification = verify_mcp_credit(api_key="px_live_key_xxx", credits_required=1)
        if verification["valid"]:
            print(f"Credit verified! Remaining balance: ${verification['balance_usd']}")
        
        # Settle usage meter after tool execution
        settle_mcp_meter(api_key="px_live_key_xxx", units_used=1)
        ```
        
        ## Features
        - **FastMCP & LangChain MCP Support**: Seamless middleware for python MCP servers.
        - **JSON-RPC 2.0 Compliant**: Ignores notifications, strictly handles tool call monetization.
        - **35ms Latency**: Connects directly to [Pixel Office EU](https://pixeloffice.eu).
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
