paywall-mcp
A generic Lightning-paywall sidecar for any stdio MCP server that wraps an upstream, requires a paid invoice via NWC before forwarding priced tool calls, supporting per-tool pricing, replay protection, and audit logs.
Package and access
Local package with source-attributed installation metadata. Koskamo does not execute packages during review.
What you can do with it
- Charge sats for premium tools in an existing MCP server
- Bundle and resell third-party MCP servers with a paywall
- A/B test pricing by adjusting environment variables
Source and maintenance
Community listingRegistry 0.1.2
- Maintenance checked
Packages and installation
Source-provided package data. Koskamo has not executed or live-probed this package.
paywall-mcp 0.1.2
npm
paywall-mcp package definition
{
"version": "0.1.2",
"transport": "stdio",
"identifier": "paywall-mcp",
"registryType": "npm",
"environmentVariables": [
{
"name": "PAYWALL_UPSTREAM_COMMAND",
"isRequired": true,
"description": "Command to spawn the upstream MCP server (e.g. npx)"
},
{
"name": "PAYWALL_UPSTREAM_ARGS",
"description": "JSON array of args for the upstream command"
},
{
"name": "NWC_CONNECTION_STRING",
"isRequired": true,
"description": "NWC connection string of the receiving wallet (receive-only recommended)"
},
{
"name": "PAYWALL_DEFAULT_PRICE_SATS",
"description": "Default price in sats for tools not in PAYWALL_PRICE_MAP"
},
{
"name": "PAYWALL_PRICE_MAP",
"description": "JSON map of tool name to price in sats"
}
]
}Tools
Reported by the attributed source; not independently observed by Koskamo.
Connect from your client
Each snippet configures the same source-provided package; replace placeholders before use.
Cursor
Cursor configuration
{
"mcpServers": {
"paywall-mcp": {
"command": "npx",
"args": [
"-y",
"paywall-mcp@0.1.2"
],
"env": {
"PAYWALL_UPSTREAM_COMMAND": "<YOUR_PAYWALL_UPSTREAM_COMMAND>",
"PAYWALL_UPSTREAM_ARGS": "<YOUR_PAYWALL_UPSTREAM_ARGS>",
"NWC_CONNECTION_STRING": "<YOUR_NWC_CONNECTION_STRING>",
"PAYWALL_DEFAULT_PRICE_SATS": "<YOUR_PAYWALL_DEFAULT_PRICE_SATS>",
"PAYWALL_PRICE_MAP": "<YOUR_PAYWALL_PRICE_MAP>"
}
}
}
}Cline
Cline configuration
{
"mcpServers": {
"paywall-mcp": {
"command": "npx",
"args": [
"-y",
"paywall-mcp@0.1.2"
],
"env": {
"PAYWALL_UPSTREAM_COMMAND": "<YOUR_PAYWALL_UPSTREAM_COMMAND>",
"PAYWALL_UPSTREAM_ARGS": "<YOUR_PAYWALL_UPSTREAM_ARGS>",
"NWC_CONNECTION_STRING": "<YOUR_NWC_CONNECTION_STRING>",
"PAYWALL_DEFAULT_PRICE_SATS": "<YOUR_PAYWALL_DEFAULT_PRICE_SATS>",
"PAYWALL_PRICE_MAP": "<YOUR_PAYWALL_PRICE_MAP>"
}
}
}
}VS Code
VS Code configuration
{
"servers": {
"paywall-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"paywall-mcp@0.1.2"
],
"env": {
"PAYWALL_UPSTREAM_COMMAND": "<YOUR_PAYWALL_UPSTREAM_COMMAND>",
"PAYWALL_UPSTREAM_ARGS": "<YOUR_PAYWALL_UPSTREAM_ARGS>",
"NWC_CONNECTION_STRING": "<YOUR_NWC_CONNECTION_STRING>",
"PAYWALL_DEFAULT_PRICE_SATS": "<YOUR_PAYWALL_DEFAULT_PRICE_SATS>",
"PAYWALL_PRICE_MAP": "<YOUR_PAYWALL_PRICE_MAP>"
}
}
}
}Claude Desktop
Claude Desktop configuration
{
"mcpServers": {
"paywall-mcp": {
"command": "npx",
"args": [
"-y",
"paywall-mcp@0.1.2"
],
"env": {
"PAYWALL_UPSTREAM_COMMAND": "<YOUR_PAYWALL_UPSTREAM_COMMAND>",
"PAYWALL_UPSTREAM_ARGS": "<YOUR_PAYWALL_UPSTREAM_ARGS>",
"NWC_CONNECTION_STRING": "<YOUR_NWC_CONNECTION_STRING>",
"PAYWALL_DEFAULT_PRICE_SATS": "<YOUR_PAYWALL_DEFAULT_PRICE_SATS>",
"PAYWALL_PRICE_MAP": "<YOUR_PAYWALL_PRICE_MAP>"
}
}
}
}Let your agent find its tools
Find servers like paywall-mcp from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.