
LnExchange MCP Node Service
from free-free-6
A Node.js service for interacting with the LnExchange API for spot trading.
๐ฅ๐ฅโ VerifiedFreeAdvanced setup
LnExchange MCP Node Service
This is a Node.js service for interacting with the LnExchange API, providing spot trading functionality.
Building the Project
To compile TypeScript files to JavaScript:
npm run buildThis will:
- Compile TypeScript files using
tsc - Make the built files executable
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
- lnexchange-api-test - LnExchange API client
- zod - TypeScript-first schema validation
- @modelcontextprotocol/sdk - Model Context Protocol SDK
Copy & paste โ that's it
npm installInstallation
- Make sure you have Node.js installed (version 16 or higher recommended)
- Clone this repository
- Install dependencies:
npm installUsage
After building, you can start the service with:
npm startNo common issues documented yet. If you hit a problem, the repository's GitHub Issues page is the best place to look.