# MCP Payments: How to Connect AI Agents to Payment Infrastructure

DevFeed: [MCP Payments: How to Connect AI Agents to Payment Infrastructure](<https://devfeed.tech/articles/mcp-payments-how-to-connect-ai-agents-to-payment-infrastructure-9974.md>)

Original publisher: [Read original article](<https://dodopayments.com/blogs/mcp-payments-ai-agents/>)

Author: Ayush Agarwal

Published: 2026-04-10T00:00:00Z

Content type: tutorial

Language: en

Sources: [Dodo Payments Blog](<https://devfeed.tech/sources/dodo-payments-blog.md>)

Topics: [Model Context Protocol](<https://devfeed.tech/topics/model-context-protocol.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [API](<https://devfeed.tech/topics/api.md>), [Security](<https://devfeed.tech/topics/security.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents](<https://devfeed.tech/tags/ai-agents.md>), [apis](<https://devfeed.tech/tags/apis.md>), [engineering](<https://devfeed.tech/tags/engineering.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [mcp](<https://devfeed.tech/tags/mcp.md>), [mcp-server](<https://devfeed.tech/tags/mcp-server.md>), [payment](<https://devfeed.tech/tags/payment.md>), [payments](<https://devfeed.tech/tags/payments.md>), [security](<https://devfeed.tech/tags/security.md>)

## AI overview

This guide explains how to connect AI agents to payment APIs through the Model Context Protocol. It covers setting up Dodo Payments' MCP server and using it to create payments, manage subscriptions, issue refunds, and track usage through AI conversation.

## Source excerpt

Learn how to connect AI agents to payment APIs using the Model Context Protocol (MCP). Set up Dodo Payments' MCP server with Code Mode architecture for creating payments, managing subscriptions, and handling refunds through AI conversation.