Go to your budget settings and copy the MCP Server URL and Connection Key.
Learn how to connect AI agents like Claude, ChatGPT, Cursor, and others to AgentPMT so they can use tools autonomously.
Connecting Your AI Agent
AgentPMT works with any AI agent that supports tool calling. Here's how to connect the most popular ones.
What You Need
Before connecting an agent, make sure you have:
- An AgentPMT account
- At least one budget with tools added
- A Connection Key for that budget (found in your budget settings)
Connection Methods
Model Context Protocol (MCP)
MCP is the recommended way to connect AI agents. It gives agents direct access to your budget's tools through a standardized protocol.
Get your connection details
Configure your agent
Add AgentPMT as an MCP server in your agent's configuration. The exact steps depend on the agent (see below).
Start using tools
Your agent can now discover and call any tool in your budget.
Agent-Specific Setup
Testing the Connection
After connecting, verify everything works:
- Ask your agent to list available tools -- it should return tools from your budget
- Try a simple tool call (like a free or low-cost tool)
- Check your Agent Activity tab to confirm the call was logged
Start with a test budget
Create a separate budget with a small spending cap for testing. This lets you experiment without risking your main budget.
Troubleshooting
| Issue | Solution |
|---|---|
| Agent can't find tools | Make sure tools are added to the budget and the Connection Key is correct |
| Authentication errors | Verify your API Key and Budget Key are active and not expired |
| Tool calls failing | Check that required credentials are bound in your budget settings |
| Agent not responding | Confirm your agent supports tool calling or MCP |

