Developing for Solvimon
Use LLMs and AI coding agents to build your Solvimon integration: machine-readable docs, an installable agent skill, plus an MCP server that lets your agent call the Solvimon API directly.
Looking to use Claude as a billing copilot rather than build an integration? See the Claude integration instead.
Using the documentation with LLMs
llms.txt
The llms.txt standard helps LLMs index documentation efficiently, similar to how a sitemap helps search engines. We host two files:
- docs.solvimon.com/llms.txt lists every page in these docs with a short description, so an agent can find and fetch the pages it needs.
- docs.solvimon.com/llms-full.txt contains the full documentation in a single file, useful for loading everything into a model’s context at once.
Paste either URL into your AI tool, or reference it from your agent’s instructions file (for example CLAUDE.md or .cursorrules):
The Solvimon agent skill
Agent Skills are instruction files that coding agents such as Claude Code load on demand. The solvimon skill gives your agent a working knowledge of the platform: the API surface across all four domains, status lifecycles, the meter-to-invoice setup workflow, event ingestion semantics, and common pitfalls like invoice grace periods and asynchronous event deduplication.
Install it with the skills CLI:
The skill pairs well with the MCP server below: the skill tells your agent how Solvimon works, and the MCP server lets it act on your sandbox.
The Solvimon MCP server
The Model Context Protocol (MCP) is an open standard that lets AI tools call external services. The Solvimon MCP server exposes the Solvimon API as a set of tools, so a coding agent can create meters, pricing plans, and test customers in your sandbox while you build, instead of you hand-writing API calls to set up test data.
The server runs at https://test.mcp.solvimon.com and authenticates with your test API key (Desk → Settings → API keys).
Test environment. The test.mcp.solvimon.com endpoint connects to your test sandbox, so agents can experiment freely without touching live billing data. Use your test API key; live keys will not work against this endpoint. Production access is enabled per account; contact us to get set up.
Connect your coding agent
Claude Code
Cursor
VS Code
Run the following command, replacing <your-api-key> with your test API key:
For Claude Desktop setup, see the Claude integration.
Tool reference
The MCP server exposes 13 tools. Most follow the same input pattern:
Overview
A typical setup flow chains the tools in dependency order:
get_solvimon_account
Verifies credentials and returns the billing entities available to the API key. Takes no input. This is a good first call to confirm the server is correctly configured.
manage_billing_entities
Actions: list, get, update, list_tax_registrations, add_tax_registration, remove_tax_registration
manage_product_catalog
Actions: list, get, create, update, delete, activate, archive, deprecate
Resource types: product_categories, products, product_items, features
model_type is immutable after creation.
create_meter_setup
Creates a meter, a meter value, and a meter value calculation in one call. Returns the mvc_... id to use in usage-based pricing configurations and product items.
manage_metering
Actions: list, get, delete, ingest, batch_ingest, calculate
Resource types: meters, meter_values, meter_value_calculations, meter_properties, meter_data, events
Creating meters goes through create_meter_setup; this tool covers everything else, including sending test usage events.
manage_pricing_plans
Actions: list, get, create, update, delete
Resource types: pricing_plans, pricing_plan_versions
To change pricing, create a new plan version, never a new plan.
manage_customers
Actions: list, get, create, update, delete, search, activate, archive, forget, entitlements
type, country_code, and timezone are immutable after creation.
manage_subscriptions
Actions: list, get, create, update, delete, cancel, archive, void, copy, init
Resource types: pricing_plan_subscriptions, pricing_plan_subscription_groups
The init action subscribes an existing customer directly, without a checkout:
create_checkout_link
Returns a hosted checkout URL. The customer and subscription are created automatically when the end-customer completes checkout.
manage_invoices
Actions: list, get, create, update, preview, pay, refund, credit, archive, send_by_email, authorize, activate, cancel, pause
Resource types: invoices, payments, payment_schedules
manage_wallets_credits
Actions: list, get, create, update, activate, deactivate, archive
Resource types: wallets, wallet_types, credit_types
analytics
Read-only queries over dashboard data (revenue, MRR, churn, usage). Use the three actions in sequence:
list_datasetsreturns available datasets and theirdatasetIdlist_fieldsreturns exact field names inmodel.fieldformqueryruns the query
The optional customer_id parameter scopes results to one or more customers.
solvimon_api_call
Raw API request. Use when no other tool fits.