Reports straight from Claude
Our team asks for the weekly summary in chat. Setup took a few minutes.
Sample customer · Pro plan
Sell access to your MCP server. Portmii handles
authentication, subscriptions and usage limits. You keep building.
MCP preview. Contact us to confirm availability before integrating. Ask about MCP
Generate the Q3 sales report.
reports.generate3 callsAllowed
Here is your Q3 sales report, ready to share.
| Tool | Cost | Access |
|---|---|---|
reports.summaryneeds reports | 1 call | Included |
reports.generateneeds reports | 3 calls | Included |
orders.exportneeds exports | 5 calls | Not in plan |
200By a sample provider · Analytics · OAuth 2.1
Sales summaries, quarterly reports and order exports, right inside your customer’s AI client. Customers find it in the Portmii marketplace and connect with one Portmii account.
reports.summaryreports.generateorders.exportReports straight from Claude
Our team asks for the weekly summary in chat. Setup took a few minutes.
Sample customer · Pro plan
Exports are worth the extra calls
Large exports use 5 calls, which feels fair. I’d like more export formats.
Sample customer · Pro plan
Reply from the providerThanks! XLSX export is on our list.
MCP connects AI applications to tools and data. Customers buy from you, on your Stripe account. You set price, billing rules and terms.
Customers sign in with OAuth or an API key. Portmii tells your server what their plan includes. Your server decides access.
Customers buy from you, on your Stripe account. You set price, billing rules and terms. Stripe handles invoices and payments.
Choose how many tool calls each plan includes. Track usage and adjust your offer as it grows.
Add access checks with the TypeScript SDK, Python or the HTTP API. Your MCP server keeps running in your infrastructure.
Portmii reserves usage before your tool runs and records it only when the call succeeds. Your server does the work.
tools/callreports.generateClaude calls reports.generate on your MCP server with the customer’s API key.POST /usage/reservationscost: 1Your server asks Portmii to reserve one call. Portmii checks identity, plan and the quota you set.200 RESERVEDremaining: 157Plan and quota confirmed. One call is held for this request.execute()on your serverYour handler runs in your infrastructure, not on Portmii.POST …/commitreservationIdThe tool succeeded. Your server commits the reservation.200 COMMITTEDused: 843The call now counts as usage for this billing period.resultcontent[ ]The customer gets the result.tools/callreports.generateClaude calls reports.generate on your MCP server with the customer’s API key.POST /usage/reservationscost: 1Your server asks Portmii to reserve one call. Portmii checks identity, plan and the quota you set.429 usage_limit_exceedednothing reservedThe quota you set is used up. Portmii reports it and reserves nothing.execute()not calledYour server follows your rule and does not run the tool.errorplan limit reachedThe customer gets a clear error and can upgrade their plan.tools/callreports.generateClaude calls reports.generate on your MCP server with the customer’s API key.POST /usage/reservationscost: 1Your server asks Portmii to reserve one call. Portmii checks identity, plan and the quota you set.200 RESERVEDremaining: 157Plan and quota confirmed. One call is held for this request.execute()throws: timeoutYour handler fails, for example on an upstream timeout.POST …/releaseoutcome: tool_errorYour server releases the reservation with a stable outcome code.200 RELEASEDremaining: 158The held call returns to the quota. Nothing is charged.errorno usage chargedThe customer gets an error. Their quota is untouched.Sample data. Plan limit of 1,000 calls, set by you. Read the Runtime API reference
Mount portmii.auth before your MCP route, then wrap each handler with portmii.tool. The middleware handles customer authentication; the wrapper reserves usage, commits resolved calls and releases when a handler throws.
Choose OAuth, API keys or either. The TypeScript SDK supports Node.js 20.19+ or 22.12+ and the official MCP SDK v1 and v2. Python servers use the Python integration for the official MCP Python SDK; other languages use the HTTP API.
Open the API documentationSDK configuration & behaviorRead the integration guidenpm install @portmii/mcpimport { createPortmii } from '@portmii/mcp';
import { z } from 'zod/v4';
// Reads PORTMII_PROVIDER_KEY from the environment.
const portmii = createPortmii({
authType: 'OAUTH', // or 'API_KEY' | 'OAUTH_OR_API_KEY'
serverUrl: 'https://provider.example/mcp',
onUnavailable: 'deny', // or 'allow': run tools while Portmii cannot answer
});
// Mount before your MCP HTTP route.
app.use(portmii.auth);
mcp.registerTool(
'echo',
{ inputSchema: z.object({ message: z.string() }) },
portmii.tool('echo', ({ message }) => ({
content: [{ type: 'text', text: message }],
})),
);Use your existing Node/Express app and MCP server. Register echo in Portmii and match the product’s auth mode. Keep provider keys on your server.
Unlimited tool calls on every plan. Grow with lower transaction fees and Creator features.
MCP preview. Contact us to confirm availability before integrating. Monthly prices. MCP transaction fees apply to your MCP sales; Stripe fees apply separately.
Launch your MCP business.
Keep more of each sale as your business grows.
Grow your MCP business with Creator Enterprise.
Unlimited calls for your MCP business. Set your own customer limits. Rate limits still apply; server hosting and AI costs remain yours.
| Feature | Free | Pro | Business |
|---|---|---|---|
| Tool calls | Unlimited | Unlimited | Unlimited |
| MCP servers | Up to 20 | Up to 20 | Up to 20 |
| MCP transaction fee | 7.5% | 3% | 1% |
| Included Creator plan | Free | Free | Enterprise |
| Products, tools & access rules | Included | Included | Included |
| OAuth & API keys | Included | Included | Included |
| Customer plans & subscriptions | Included | Included | Included |
| Customer management | Included | Included | Included |
| Usage analytics & audit history | Included | Included | Included |
Still have a question? Email us at support@portmii.com.
Portmii helps you sell digital products and access. Portmii MCP lets you sell access to your MCP server. Connect delivers licenses and community access after purchase. Links brings your offers together on a link-in-bio page.
An MCP server gives AI applications access to tools and data. MCP stands for Model Context Protocol. Portmii adds authentication, paid subscriptions and usage limits so you can sell access to your server.
Your server stays in your own infrastructure. Integrate Portmii with the TypeScript SDK, Python or the HTTP API. Portmii provides login and usage counters. Your server decides access.
Customers buy from you, on your Stripe account. Stripe handles payments, invoices and subscription payment status. Your server decides access. Portmii provides login, usage counters and subscription data as software. MCP transaction fees are 7.5% on Free, 3% on Pro and 1% on Business. Connect license and community sales have a separate 1% platform fee. Stripe fees apply separately.
Every MCP plan includes unlimited tool calls, with no monthly provider call quota. You can still set usage limits for your own customers. Rate limits and access checks continue to apply. You host your MCP server and cover its infrastructure and AI costs. Each account can add up to 20 MCP servers.
MCP Free costs €0 per month with unlimited tool calls and a 7.5% MCP transaction fee, plus Stripe fees on payments. Creator Free is included in MCP Free and Pro; Business includes Creator Enterprise. The standalone Links Free plan includes up to three links, profile analytics and Connect. MCP preview. Contact us to confirm availability before integrating.