@lightning-tools/mcp-server 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.js +1 -1
- package/package.json +9 -3
package/README.md
CHANGED
package/dist/index.js
CHANGED
|
@@ -34,7 +34,7 @@ async function main() {
|
|
|
34
34
|
description: tool.description,
|
|
35
35
|
inputSchema: zod_1.z.object({}).passthrough(), // eslint-disable-line @typescript-eslint/no-explicit-any
|
|
36
36
|
}, (args) => {
|
|
37
|
-
return (0, client_1.callApi)(toolPath, args,
|
|
37
|
+
return (0, client_1.callApi)(toolPath, args, apiKey)
|
|
38
38
|
.then((result) => {
|
|
39
39
|
const text = JSON.stringify(result.data, null, 2) +
|
|
40
40
|
(result.creditsRemaining !== null
|
package/package.json
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lightning-tools/mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "MCP server for Lightning Tools — pay-per-call AI tools via Bitcoin Lightning",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"bin": {
|
|
7
7
|
"lt-mcp": "./dist/index.js"
|
|
8
8
|
},
|
|
9
|
-
"files": [
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"README.md"
|
|
12
|
+
],
|
|
10
13
|
"scripts": {
|
|
11
14
|
"build": "tsc",
|
|
12
15
|
"start": "node dist/index.js",
|
|
13
16
|
"test": "vitest",
|
|
14
|
-
"lint": "eslint src tests ."
|
|
17
|
+
"lint": "eslint src tests .",
|
|
18
|
+
"publish:patch": "npm run build && npm version patch --no-git-tag-version && npm publish",
|
|
19
|
+
"publish:minor": "npm run build && npm version minor --no-git-tag-version && npm publish",
|
|
20
|
+
"publish:major": "npm run build && npm version major --no-git-tag-version && npm publish"
|
|
15
21
|
},
|
|
16
22
|
"dependencies": {
|
|
17
23
|
"@modelcontextprotocol/sdk": "^1.0.0",
|