Recapfy MCP
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Recapfy MCP
An MCP server that exposes Recapfy's paid endpoints as tools ā ask anything about a YouTube video and fetch a video's full transcript ā straight from an MCP-capable agent like Claude Desktop, Cursor, or Cline. It runs locally ā there's no hosted Recapfy MCP endpoint; you launch your own copy.
Each call is paid in USDC on Solana (dynamic price, scales with
maxOutputTokens), settled automatically via the x402
protocol. You bring your own wallet; you pay only for what you call.
š¦ npm: recapfy-mcp
Prerequisites
Node.js ā„ 20.
A Solana wallet funded with USDC on mainnet. You do not need SOL for fees ā the API's facilitator sponsors the network fee.
That wallet's secret key, base58-encoded (the 64-byte form that Phantom's "Export Private Key" gives you, or
solana-keygen).
ā ļø The key signs real payments. Use a dedicated low-balance wallet, never share it, and never commit it.
Related MCP server: telemost-mcp-server
Install
No clone or build needed. Add this to your MCP client config (Claude Desktop:
claude_desktop_config.json) and restart the client:
{
"mcpServers": {
"recapfy": {
"command": "npx",
"args": ["-y", "recapfy-mcp@latest"],
"env": {
"SVM_PRIVATE_KEY": "<your base58 Solana secret key>"
}
}
}
}Always use
recapfy-mcp@latest. A barenpx -y recapfy-mcpreuses whatever is in npx's cache and never re-checks the registry, so you can stay pinned to an old build (and miss new tools) indefinitely. The@latesttag forces npx to resolve the newest published version on every launch.
Updating
New versions (including new tools/endpoints) are picked up automatically when two things happen, because of two independent caches:
npx package cache ā using
recapfy-mcp@latest(as above) makes npx fetch the newest published version each launch. Without@latest, npx serves the cached copy and you stay on an old build.MCP client tool list ā clients read the server's tool list once per session. New tools only appear after you fully restart the MCP client (Claude Desktop, Cursor, Cline, ā¦) so it relaunches the server and re-reads the tools.
So after a release: keep @latest and restart your client. If a brand-new
tool still doesn't show up, force a clean fetch:
npx clear-npx-cache # or: rm -rf "$(npm config get cache)/_npx"then restart the client again.
Configuration
Variable | Required | Description |
| yes | Base58-encoded Solana secret key. Pays per call. Keep it funded. |
| no | Override the API base URL (defaults to |
| no | Set to |
Tool: ask
Input | Type | Required | Description |
| string | yes | Absolute http(s) URL of the YouTube video. |
| string | yes | What to ask about the video. |
| integer | no | Max tokens in the answer (default 1024). Drives the dynamic price. |
Returns the agent's answer as text. Payment is settled before the answer returns.
The per-call price is dynamic: the API quotes the USDC amount in the 402
challenge based on maxOutputTokens, and your wallet pays whatever is quoted ā so
keep maxOutputTokens sensible.
Tool: get_transcript
Input | Type | Required | Description |
| string | yes | Absolute http(s) URL of the YouTube video. |
Returns the video's full transcript as timestamped segments, plus its title,
channelName, and durationSeconds. The text content is a readable, timestamped
transcript; the structured content carries the raw transcript array (each
segment is { timestampInSeconds, text }). The per-call price is flat USDC,
quoted in the 402 challenge and paid automatically.
How payment works
Built on the official Coinbase x402 v2 client packages (@x402/fetch,
@x402/svm, @x402/core) plus @solana/kit for signing:
The tool POSTs to the matching endpoint under
${RECAPFY_API_BASE_URL}(/api/v1/agents/askor/api/v1/agents/get-transcript).The API replies
402with requirements in thePAYMENT-REQUIREDheader (exactSVM scheme, USDC, dynamic amount, and a facilitatorfeePayerthat sponsors the network fee).The wrapped fetch signs a gasless SPL-token transfer with your wallet and retries with the
PAYMENT-SIGNATUREheader.The API verifies, settles, and returns the answer plus a
PAYMENT-RESPONSEsettlement header.
Verify it works
Inspect the tools without spending anything using the MCP Inspector (it only signs a payment when you actually invoke a tool, so any key is fine just to browse):
SVM_PRIVATE_KEY=<key> npx @modelcontextprotocol/inspector npx -y recapfy-mcp@latestOpen the printed URL ā Tools ā ask / get_transcript. Invoking a tool with a funded wallet performs a real paid call; verify the spend on a Solana explorer.
Troubleshooting
Symptom | Cause / fix |
|
|
| Needs base58 of the 64-byte secret key. |
| Pass a positive |
|
|
New tool/endpoint missing after an update | Pin |
402 loop / "Failed to create payment payload" | Wallet has no USDC on mainnet, or wrong network. Fund it. |
TLS error against a local API over https | Set |
License
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Clean transcripts of any YouTube video with captions. Pay per call with x402 USDC, no API key.
15 YouTube endpoints. Pay per call in USDC via x402.
Pay-per-call MCP tools over x402 (USDC/Solana): LLM, utilities, x402 market and model prices.
Summarize YouTube videos or fetch transcripts. Pay-per-call via x402 (USDC on Base), no account.
Related MCP Servers
- FlicenseAqualityDmaintenanceProvides YouTube video transcripts (text and metadata) as MCP tools for AI hosts like Claude Code, enabling summarization, search, and Q&A without watching the video.2-
- AlicenseAqualityDmaintenanceEnables Telegram analytics (channel stats, search, sentiment) via MCP tools with pay-per-call in USDC, no API keys needed.2060 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables MCP tools to be gated behind per-call USDC micropayments with direct on-chain verification and settlement, removing the need for third-party payment facilitators.MIT
- AlicenseNot gradedqualityFmaintenanceGives MCP clients access to YouTube video transcripts and metadata. It lets AI agents read and summarize video content from a URL.4 npmMIT