monobank-mcp-server 1.0.0 → 1.1.0

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/build/helpers.js CHANGED
@@ -14,7 +14,9 @@ export function createSuccessResponse(data) {
14
14
  content: [
15
15
  {
16
16
  type: "text",
17
- text: typeof data === "string" ? data : JSON.stringify(data, null, 2),
17
+ text: typeof data === "string"
18
+ ? data
19
+ : JSON.stringify(data, null, 2),
18
20
  },
19
21
  ],
20
22
  };
package/build/index.js CHANGED
@@ -7,10 +7,7 @@ import { createSuccessResponse, fetchWithErrorHandling, parseJsonResponse, forma
7
7
  import { initializeConfig, getConfig } from "./config.js";
8
8
  const server = new McpServer({
9
9
  name: "monobank-mcp-server",
10
- version: "1.0.0",
11
- capabilities: {
12
- tools: {},
13
- },
10
+ version: "1.1.0",
14
11
  });
15
12
  server.tool("get_currency_rates", "Get a basic list of currency rates from Monobank. The information can be refreshed once per 5 minutes, otherwise an error will be thrown.", {}, async () => {
16
13
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "monobank-mcp-server",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "MCP server for Monobank API integration",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -8,6 +8,8 @@
8
8
  },
9
9
  "scripts": {
10
10
  "build": "tsc && chmod +x build/index.js",
11
+ "format": "prettier --write src/",
12
+ "lint": "eslint src/",
11
13
  "prepublishOnly": "npm run build"
12
14
  },
13
15
  "files": [
@@ -32,11 +34,16 @@
32
34
  },
33
35
  "type": "module",
34
36
  "dependencies": {
35
- "@modelcontextprotocol/sdk": "^1.17.0",
37
+ "@modelcontextprotocol/sdk": "^1.27.1",
38
+ "prettier": "^3.8.1",
36
39
  "zod": "^3.25.76"
37
40
  },
38
41
  "devDependencies": {
39
- "@types/node": "^24.1.0",
40
- "typescript": "^5.8.3"
42
+ "@eslint/js": "^9.39.3",
43
+ "@types/node": "^25.3.0",
44
+ "eslint": "^9.39.3",
45
+ "eslint-config-prettier": "^10.1.8",
46
+ "typescript": "^5.9.3",
47
+ "typescript-eslint": "^8.56.1"
41
48
  }
42
49
  }