# How to use Cursor to integrate PayPal with API context

APIMatic reported using specification-derived SDK context through MCP in Cursor PayPal integration benchmarks, with twice the code-generation speed and 65% lower token usage.

Agent: Cursor
Tools: Cursor, APIMatic Context Plugins, MCP server, OpenAPI, PayPal API
Category: Software & DevOps
Date: 2026-03-26

Outcome: The authors reported twice the integration-code generation speed and 65% lower token usage for Cursor with their PayPal plugin compared with baseline Cursor.

## Steps

1. Asked Cursor to integrate PayPal into an e-commerce application across multiple baseline runs.
2. Generated SDKs and an MCP context server from API specifications.
3. Provided Cursor with the Context Plugin for comparison runs.
4. Compared generation speed and token usage against baseline Cursor.

Human oversight: The authors ran integration benchmarks and inspected baseline failure patterns; the post does not describe production code-review steps.

Source: [sohaibtariq on Hacker News](https://news.ycombinator.com/item?id=47530870)

Canonical URL: https://agentsinuse.com/use-cases/cursor-to-integrate-paypal-with-api-context/
