@postmcp/presets
v0.1.37
Published
60+ Curated, context-optimized API presets for PostMCP
Maintainers
Readme
@postmcp/presets
Curated API Presets for PostMCP - 60+ pre-tuned, context-optimized configurations for developer platforms, cloud providers, and SaaS APIs.
Overview
@postmcp/presets contains a catalog of over 60 curated API presets configured specifically for Model Context Protocol (MCP) clients.
Each preset includes:
- Direct links to validated OpenAPI specifications.
- Pre-tuned Token Diet field masks to keep context windows small.
- Pre-configured composite macros for common multi-step tasks.
- Environment variable and credential mappings.
Installation
npm install @postmcp/presets
# or
pnpm add @postmcp/presetsProgrammatic Usage
import { ALL_PRESETS, getPreset, getPresetsByCategory } from '@postmcp/presets';
// 1. Get a specific preset by ID
const stripePreset = getPreset('stripe');
if (stripePreset) {
console.log(stripePreset.name); // "Stripe REST API"
console.log(stripePreset.fieldMasks); // Pre-tuned field masks
}
// 2. Filter presets by category
const devPresets = getPresetsByCategory('Developer Tools');
console.log(`Found ${devPresets.length} developer tool presets`);
// 3. List all available preset IDs
const ids = ALL_PRESETS.map((p) => p.id);
console.log(ids);Included Categories & Sample Presets
- Developer Tools:
@github,@gitlab,@jira,@sentry,@datadog,@postman - Finance & Payments:
@stripe,@plaid,@square,@coinbase - Cloud & Infrastructure:
@supabase,@cloudflare,@digitalocean,@render,@vercel - AI & Machine Learning:
@openai,@anthropic,@huggingface,@replicate - Communication & Collaboration:
@slack,@twilio,@sendgrid,@discord,@zoom - E-Commerce & CRM:
@shopify,@hubspot,@notion,@airtable
CLI Integration
Use any preset directly with @postmcp/cli:
# Instant zero-config execution
npx @postmcp/cli run @stripe --token-diet --jit
# Export configuration for Cursor
npx @postmcp/cli export @stripe --client cursor --write
# Browse available presets
npx @postmcp/cli presetsLicense
MIT (c) PostMCP Contributors
