Model Context Protocol (MCP)
Let your AI agents interact with the Pelcro's Core API by using our MCP server.
Connect your AI assistant to Pelcro's Core API through the Model Context Protocol (MCP). Manage customers, subscriptions, invoices, and more directly from your AI tools.
Authentication uses OAuth 2.0 — when you connect, you log into Pelcro, select which account to grant access to, and authorize the app. The token is scoped to a single account.
This feature is currently in beta and subject to change. If you have feedback or want to see more tools, email us at [email protected].
Installation
Claude Code
claude mcp add --transport http pelcro https://mcp.pelcro.com/Start a new session with claude, type /mcp, select the server, and click Authenticate.
Cursor
Add to your project's .cursor/mcp.json:
{
"mcpServers": {
"pelcro": {
"url": "https://mcp.pelcro.com/"
}
}
}VS Code
Add a pelcro entry to your workspace's .vscode/mcp.json file. See the VS Code MCP documentation for more details on configuring MCP servers.
{
"servers": {
"pelcro": {
"type": "http",
"url": "https://mcp.pelcro.com/"
}
}
}Windsurf
Add to ~/.windsurf/mcp.json:
{
"mcpServers": {
"pelcro": {
"url": "https://mcp.pelcro.com/"
}
}
}ChatGPT
ChatGPT supports remote MCP servers for Pro, Plus, Business, Enterprise, and Education accounts. To connect Pelcro, create a custom connector in Settings > Apps & Connectors with the server URL https://mcp.pelcro.com/ and select OAuth as the authentication method. See the OpenAI developer mode guide for detailed setup steps.
Other MCP clients
Any client that supports remote MCP servers over Streamable HTTP can connect to https://mcp.pelcro.com/. The server handles OAuth discovery automatically via RFC 9728.
Authorize your account
After installing, your MCP client will open a browser window to complete authentication:
- Log into your Pelcro account
- Select which account to grant access to
- Click Authorize
- Return to your AI tool — the tools are now available
The token grants full read and write access to the selected account's Core API endpoints.
Manage your connection
Multi-account access
Each MCP server entry is scoped to one account. To access multiple accounts, add multiple entries with different names:
claude mcp add --transport http pelcro-acme https://mcp.pelcro.com/
claude mcp add --transport http pelcro-other https://mcp.pelcro.com/Each entry triggers its own OAuth flow where you pick a different account on the consent screen.
Re-authenticate
If your token expires or you want to switch accounts, remove the server and re-add it:
claude mcp remove pelcro
claude mcp add --transport http pelcro https://mcp.pelcro.com/Environments
| Environment | URL |
|---|---|
| Production | https://mcp.pelcro.com/ |
| Staging | https://mcp-staging.pelcro.com/ |
Tools
All tools require a site_id parameter. List tools support page, per_page, and sort (prefix - for descending). You can include site_id naturally in your prompts (e.g. "List customers on site 14") or the AI will ask.
| Resource | Tool | API |
|---|---|---|
| Customers | list_customers | List customers |
get_customer | Get customer | |
create_customer | Create customer | |
update_customer | Update customer | |
delete_customer | Delete customer | |
| Subscriptions | list_subscriptions | List subscriptions |
get_subscription | Get subscription | |
| Invoices | list_invoices | List invoices |
get_invoice | Get invoice | |
create_invoice | Create invoice | |
update_invoice | Update invoice | |
pay_invoice_offline | Pay invoice | |
void_invoice | Void invoice | |
mark_invoice_uncollectible | Mark uncollectible | |
| Plans | list_plans | List plans |
get_plan | Get plan | |
| Coupons | list_coupons | List coupons |
get_coupon | Get coupon | |
| Charges | list_charges | List charges |
get_charge | Get charge | |
create_offline_charge | Create offline charge |
Health check
curl https://mcp.pelcro.com/health{"status": "ok", "version": "1.0.0", "environment": "prd"}Updated about 1 hour ago
