LnExchange MCP Node Service Server

一個用於與 LnExchange API 進行現貨交易互動的 Node.js 服務。

文件

LnExchange MCP Node Service

This is a Node.js service for interacting with the LnExchange API, providing spot trading functionality.

Installation

  1. Make sure you have Node.js installed (version 16 or higher recommended)
  2. Clone this repository
  3. Install dependencies:
npm install

Building the Project

To compile TypeScript files to JavaScript:

npm run build

This will:

  1. Compile TypeScript files using tsc
  2. Make the built files executable

Usage

After building, you can start the service with:

npm start

npx

Please replace with your Nostr private key: xxxxxxxxxxxxxxxxxxxx

{
    "mcpServers": {
        "lnexchange-mcp-node-service-test": {
            "command": "npx",
            "args": [
                "-y",
                "lnexchange-mcp-node-service-test",
                "xxxxxxxxxxxxxxxxxxxx"
            ]
        }
    }
}

Dependencies