# AgentPay Documentation ## Docs - [Introduction](https://docs.agentpay.me/index.md): Payments for MCP Servers and the Agent Economy. - [Configuring Your MCP Client](https://docs.agentpay.me/mcp-client-users/configuration/configuring-mcp-remote.md): Set up your MCP Client to connect to AgentPay-enabled MCP Servers. - [Finding MCP Servers](https://docs.agentpay.me/mcp-client-users/platform/finding-servers.md): Discover and explore MCP Servers on the AgentPay Hub. - [Managing Your Balance](https://docs.agentpay.me/mcp-client-users/platform/managing-balance.md): Manage your AgentPay balance and payment methods. - [Obtaining API Keys](https://docs.agentpay.me/mcp-client-users/platform/obtaining-api-keys.md): Get and manage your User API Keys through the AgentPay Hub. - [Understanding Your Usage](https://docs.agentpay.me/mcp-client-users/platform/understanding-usage.md): Monitor your MCP Server usage and billing through the AgentPay Hub. - [Testing Your Integration](https://docs.agentpay.me/mcp-server-developers/examples/testing.md): Test your remote MCP Server with AgentPay integration. - [Working Example (Python)](https://docs.agentpay.me/mcp-server-developers/examples/working-example-python.md): Build a remote MCP Server with AgentPay integration, starting from the official MCP tutorial. - [Understanding Your Earnings](https://docs.agentpay.me/mcp-server-developers/platform/earnings.md): Monitor your MCP Server earnings and track payouts through the AgentPay Hub. - [Configuring Payouts](https://docs.agentpay.me/mcp-server-developers/platform/payouts.md): Set up and manage payouts for your earnings through Stripe Connect and Stablecoin options provided by AgentPay. - [Defining Your Pricing](https://docs.agentpay.me/mcp-server-developers/platform/pricing.md): Explore different pricing strategies for your MCP service, including per-call (flat/dynamic) and freemium models, and considerations for setting them up. - [Registering Your MCP Server](https://docs.agentpay.me/mcp-server-developers/platform/server-registration.md): Register your MCP Server on AgentPay Hub and obtain your Service Token. - [Charging for Usage](https://docs.agentpay.me/mcp-server-developers/sdk/charging-for-usage.md): Charge for server usage via the `consume()` method, and best practices to handle idempotency and successful/failed calls. - [Extracting User API Keys from Requests](https://docs.agentpay.me/mcp-server-developers/sdk/extracting-api-keys.md): Guidance and examples for extracting User API Keys from incoming HTTP requests. - [Initializing AgentPayClient](https://docs.agentpay.me/mcp-server-developers/sdk/initialization.md): Instantiate the AgentPayClient with your Service Token, security considerations, and available configuration options. - [Installing the SDK (Python)](https://docs.agentpay.me/mcp-server-developers/sdk/installation.md): Install the AgentPay Python SDK in just a few seconds. - [Validating User API Keys](https://docs.agentpay.me/mcp-server-developers/sdk/validating-api-keys.md): Use the `validate_api_key()` method to authenticate User API Keys and understand its use cases before charging for usage. - [AgentPayClient Class](https://docs.agentpay.me/python-sdk-reference/agentpayclient.md): Reference for the AgentPayClient class, including constructor parameters and basic usage examples for the Python SDK. - [.consume() Method](https://docs.agentpay.me/python-sdk-reference/consume-method.md): Reference for the AgentPayClient.consume() method, detailing parameters, return object, and idempotency for charging users. - [.validate_api_key() Method](https://docs.agentpay.me/python-sdk-reference/validate-api-key-method.md): Reference for the AgentPayClient.validate_api_key() method, for proactively checking the status and validity of a User API Key. - [MCP Server Developers](https://docs.agentpay.me/quickstart/developers.md): Monetize your MCP Server in minutes. - [MCP Client Users](https://docs.agentpay.me/quickstart/users.md): Access paid MCP servers with just a few simple steps.