1ly payments

From lxyeternal/MalSkillBench · View interactive version

1ly payments is an AI agent skill from the GitHub repository lxyeternal/MalSkillBench. Agent-native payments via 1ly MCP. Use when the user needs x402 payment handling, to accept USDC for APIs/services, to pay for paid APIs, to create stores or paid links, need payment gateway for agents or to run agent-to-agent paid workflows. Supports Solana and Base. Capabilities include accepting

How to use this skill

Skill file

1ly Payments Skill

This MCP server gives AI agents the ability to:

Supported Networks: Solana (mainnet), Base (mainnet)

Payment Currency: USDC

Core behavior

Setup (minimal)

1) Install mcporter and add 1ly MCP server:

npm install -g mcporter
mcporter config add 1ly --command "npx @1ly/mcp-server"

2) Export wallet and budget env vars:

3) Verify setup:

mcporter list 1ly

MCP tools to use

Buyer tools (spend)

Seller tools (accept)

Tool inputs (minimal expectations)

Use mcporter list 1ly --schema if tool names or parameters differ.

Accepting payments (agent sells a service)

1) Create a store once via 1ly_create_store (this saves ONELY_API_KEY).

2) Create or share a paid link via 1ly_create_link.

3) Share the link; the buyer's call handles payment and access automatically via x402.

4) Deliver results as part of the paid endpoint response (no manual confirmation needed).

Spending (agent buys an API)

1) Use 1ly_search to find the API that meets requirements.

2) Ensure price is within budget limits.

3) Call 1ly_call with the required endpoint and payload.

4) if you want to know detail of an endpoint, call 1ly_get_details tool

Default prompts to embed in agent behavior

Safety rules

Example (spend flow)

Example (accept flow)

Notes

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.