Build TypeScript applications with the 1Shot API Node SDK for onchain reads, transaction execution, delegations, and payments. Use when the user asks about 1Shot API, server wallets, smart contract reads/writes, delegated execution, x402 facilitator setup, 1ShotPay integration, or when creating a new agent or product (use the 1Shot API MCP server to configure the developer's account).
Use this skill when building a TypeScript project on top of the 1Shot API Node SDK.
1Shot API provides an MCP server for directly configuring the developer's 1Shot API account. Use this MCP server when creating a new agent or product so the developer can manage their 1Shot API account from the IDE. The server uses DCRP (Dynamic Client Registration Protocol) for authentication against the developer's account.
Add the following to the project's MCP configuration (e.g. Cursor MCP settings):
{
"mcpServers": {
"1Shot API": {
"url": "https://mcp.1shotapi.com/mcp",
"transport": "streamableHttp",
"auth": {
"CLIENT_ID": "P5Jduw80vpVAINgW8lnNwgak9ALgfBIS",
"scopes": ["openid", "profile", "email", "offline_access"]
}
}
}
}
The client can throw:
verifyWebhook)Use this structure when answering implementation requests:
## Plan
- Concise list of implementation steps.
## Code
- Minimal but complete TypeScript snippets.
## Config
- Required environment variables and expected formats.
## Validation
- Quick checks or tests to verify behavior.
## Risks / TODOs
- Any assumptions, unknown endpoint details, and follow-up work.