Provides an MCP server to track metering, manage customers, generate invoices, and handle Pulse billing workflows.
Configuration
View docs{
"mcpServers": {
"be-infinitum-pulse-mcp": {
"url": "https://mcp.pulse.example/api/mcp",
"headers": {
"PULSE_API_KEY": "sk_live_...",
"PULSE_BASE_URL": "https://api.beinfi.com"
}
}
}
}You can run the Pulse MCP Server to enable metering, customer management, invoicing, and related billing actions directly from MCP-compatible assistants. This server exposes a simple, local runtime you start with a single command and an API key, making it easy to integrate Pulse billing capabilities into your AI-enabled workflows.
To use the Pulse MCP Server, start the runtime with your MCP client and provide your Pulse API key. You can connect from Claude or other MCP clients by configuring the server as an MCP endpoint and supplying your key. Once running, you can track usage, manage customers, generate invoices, and perform related billing tasks through your client.
Typical usage pattern: - Start the MCP runtime with the included command. - Set your API key in the environment to authorize requests. - Connect your MCP client (such as Claude) using the provided configuration snippet or CLI command. - Use the available tools to track events, manage products and meters, handle billing, and work with invoices and payments.
Prerequisites:
- Node.js installed on your machine (and npm or a compatible package manager).
- Access to the internet to install dependencies and reach the Pulse API.Install and run the Pulse MCP Server using the runtime command shown here.
Commands you will run:
- Install and start the MCP server with npx:npx @beinfi/pulse-mcpEnvironment variable to authorize with Pulse: - PULSE_API_KEY: Your Pulse API key (starts with sk_live_ or sk_test_). This is required.
Optional base URL for Pulse API (defaults to https://api.beinfi.com): - PULSE_BASE_URL: API base URL
Record a single usage event for a customer to count towards metered usage.
Submit multiple usage events in a single request to minimize API calls.
Query aggregated usage data with optional filters to analyze consumption.
Retrieve all products configured in Pulse.
Get details about a product, including its meters.
Create a new product in Pulse.
Create a new meter (usage dimension) for a product.
List all customers associated with a product.
Create a new customer in Pulse.
Update details for an existing customer.
List invoices for a product.
Generate an invoice for a customerβs usage period.
Retrieve details for a specific invoice.
Send an invoice via email to a customer.
List all payment links you've created.
Create a new payment link for invoicing or checkout.
Get details of a specific payment link.
List payment intents associated with a payment link.
List all payments received for your accounts.
List your published AI agents in the marketplace.
Get usage statistics for an AI agent.
Invoke an AI agent with text input to perform actions.
List all webhook subscriptions.
Create a new webhook subscription.
Delete a webhook subscription.