Provides a reference implementation for protecting Model Context Protocol (MCP) tools, resources, and prompts with a paywall using Nevermined's Python SDK.
This repository serves as a crucial reference and demonstration project designed to validate and test the integration of the Model Context Protocol (MCP) within Nevermined's Python SDK, `payments-py`. It specifically illustrates how to implement robust paywall protection for MCP tools, resources, and prompts, offering examples for both High-Level (FastMCP) and Low-Level JSON-RPC server configurations. Intended for local experimentation, integration tests, and showcasing capabilities, it highlights the process of securing access and burning credits for MCP interactions.