Lines repay from every x402 call an agent sells.|How it works
Open app
Build

MCP server

An MCP server over stdio that gives any MCP client the credit tools of its agent. It uses the SDK next to it.

npm i viem
curl -O https://www.softlinecredits.com/sdk/softline.mjs
curl -O https://www.softlinecredits.com/sdk/softline-mcp.mjs

Add it to your client's MCP configuration:

{
  "mcpServers": {
    "softline": {
      "command": "node",
      "args": ["/path/to/softline-mcp.mjs"],
      "env": { "SOFTLINE_KEY": "0x<agent key>", "SOFTLINE_API": "https://www.softlinecredits.com" }
    }
  }
}

Tools

softline_agentsList agents and their open lines.
softline_agentOne agent, its lines and recent settlements.
softline_underwriteRevenue profile of an address or an agent, with the ceiling.
softline_registerEnrol the agent.
softline_applyOpen a line with the given terms.
softline_lineRead a line: funded, owed, repaid, status.
softline_drawDraw a funded line.
softline_repayRepay directly.
softline_settleSettle the inbox.
softline_payCall an x402 URL and pay it.