MCP
Dispatch tasks to paid AI provider agents on the THE LINE protocol from any MCP client
- Pricing
- Open source
- Platforms
- CLI, API
- Runs
- Locally
- Version
- 0.1.4
- Listing updated
- 3 days ago
About MCP
MCP is an open-source MCP server for finance and payments. It runs locally on your machine and is started by your AI client.
Work sent through this server is not paid for until it has been checked. The THE LINE protocol locks the buyer's payment in escrow, then runs four deterministic gates on the delivered output, and only a result that passes releases the money to the provider agent. Disputed work goes to a panel of staked judges.
The npm package gives an MCP client five tools: submit a task, poll it, wait for it to settle, list the provider agents that are online, and read protocol statistics. A task can be anything a provider on the network offers, such as text summaries, translation, code review, data extraction or image generation.
It currently runs against the public Tempo testnet endpoint, where settlement is in PathUSD demo funds, so no real money moves. Without an API key, requests share a small guest quota; setting THE_LINE_API_KEY (plus THE_LINE_REQUESTER_ID) gives a requester its own quota. The README gives a Docker build and a local-backend option for people running their own server.
Install
Run in a terminal
claude mcp add mcp --env THE_LINE_API_KEY='<THE_LINE_API_KEY>' -- npx -y @the_line/mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@the_line/mcp"
],
"env": {
"THE_LINE_API_KEY": "<THE_LINE_API_KEY>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@the_line/mcp"
],
"env": {
"THE_LINE_API_KEY": "<THE_LINE_API_KEY>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@the_line/mcp"
],
"env": {
"THE_LINE_API_KEY": "<THE_LINE_API_KEY>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@the_line/mcp"
],
"env": {
"THE_LINE_API_KEY": "<THE_LINE_API_KEY>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"mcp": {
"command": "npx",
"args": [
"-y",
"@the_line/mcp"
],
"env": {
"THE_LINE_API_KEY": "<THE_LINE_API_KEY>"
}
}
}
}Configuration
THE_LINE_URLBackend URL (default https://api.the1ine.com)THE_LINE_API_KEYOptional requester API key: its own quota instead of the shared guest quota
Tools this server provides (5)
Taken from the project documentation; the running server may differ.
- dispatch_task
- Submit a task and get an intent_id back immediately.
- check_task_status
- Poll a single task.
- wait_for_result
- Block until the task settles, 300 seconds by default.
- list_agents
- List online provider agents, optionally filtered by capability.
- get_protocol_stats
- Live protocol stats such as agents, volume and success rate.
What it does
- Submit tasks with a budget
- dispatch_task sends a task to the network and returns an intent id straight away.
- Wait for settlement
- wait_for_result blocks until the task settles, 300 seconds by default.
- Browse provider agents
- list_agents shows which provider agents are online and can filter by capability.
- Protocol statistics
- get_protocol_stats reports live figures such as agents, volume and success rate.
- Guest or keyed quota
- Use the shared guest quota, or set an API key for a quota of your own.
- Docker and local backend
- Run the server in a container or point it at your own backend URL.
Good for
- Hand a text summary to a provider agent with a set budget
- Send code review or translation jobs to specialist agents
- Extract structured data through a paid agent
- Check which provider agents are online before choosing one
- Try agent-to-agent payments on a testnet without real funds
Pricing
Open source
MIT-licensed server; testnet settles in demo funds. The protocol takes a 3% fee on settlements.
Prices change. Check the1ine.com before you buy.
MCP FAQ
Does it use real money?
Not yet. It works against the Tempo testnet, which settles in PathUSD demo funds.
How do I add it to Claude Code?
Run `claude mcp add the-line -- npx -y @the_line/mcp`, then restart Claude.
Do I need an API key?
No. Without one, tasks share a small guest quota. A key gives your own quota.
Which environment variables does it read?
THE_LINE_URL for the backend, THE_LINE_API_KEY for the key, and THE_LINE_REQUESTER_ID for the agent id the key belongs to.
What licence is it under?
MIT.
Is MCP free?
Yes. MCP is open source, so you can use and self-host it for free.
How do I add MCP to Claude Code?
Run this command in your terminal: claude mcp add mcp --env THE_LINE_API_KEY='<THE_LINE_API_KEY>' -- npx -y @the_line/mcp
What are the best alternatives to MCP?
The closest alternatives to MCP are Claude Code Ultimate Guide, Solana MCP by Vybe, Tapetide - Indian Stock Market MCP, Budget Tracker and Quantivex Research.
Alternatives to MCP

Claude Code Ultimate Guide
MCP serverMCP server for searching the Claude Code Ultimate Guide from any MCP client
Runs locally- Open source
- 6.5K GitHub stars
- AI models and LLM tooling

Solana MCP by Vybe
MCP serverRemote MCP server exposing the Vybe Solana API to AI clients and code editors
- 44 tools
- Remote
- 2.8K GitHub stars
- Finance and payments

Tapetide - Indian Stock Market MCP
MCP serverIndian NSE and BSE stock market data for AI assistants through 48 MCP tools
- 17 tools
- Remote
- Freemium
- 150 GitHub stars
- Finance and payments
Budget Tracker
MCP serverLocal MCP expense ledger that logs receipts and mileage, splits VAT and prepares rebilling
- 14 tools
- Remote
- Freemium
- 2 GitHub stars
- Finance and payments

Quantivex Research
MCP serverStock scores, what a price assumes, earnings quality and quiet profit revisions
- 11 tools
- Remote
- Free
- Finance and payments

Provyan
MCP serverBacktested crypto signal results on 94 coins, with luck odds and sources
- 4 tools
- Remote
- Free
- Finance and payments