Build a remote MCP Server with AgentPay integration, starting from the official MCP tutorial.
agentpay-sdk
package currently on PyPI is a placeholder to reserve the name during Early Access. To get the actual SDK now, join the Waitlist..env
file to store your AgentPay Service Token:
weather_server.py
with the basic MCP server structure per the official MCP Server tutorial:
weather_server.py
to add the necessary imports and server setup:
http://localhost:8000
and ready to accept requests from MCP clients.
X-AGENTPAY-API-KEY
header: