krs-poland-mcp-server 1.0.2 → 1.0.3
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/index.js +1 -0
- package/package.json +3 -3
- package/src/index.ts +2 -1
package/build/index.js
CHANGED
|
@@ -5,6 +5,7 @@ async function main() {
|
|
|
5
5
|
const transport = new StdioServerTransport();
|
|
6
6
|
await server.connect(transport);
|
|
7
7
|
console.error("KRS MCP Server running on stdio");
|
|
8
|
+
await new Promise(() => { });
|
|
8
9
|
}
|
|
9
10
|
if (process.argv[1] === (import.meta && import.meta.url && new URL(import.meta.url).pathname)) {
|
|
10
11
|
main().catch((error) => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "krs-poland-mcp-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "The MCP server for KRS Poland public API.",
|
|
5
5
|
"main": "./src/index.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"type": "git",
|
|
13
13
|
"url": "git+https://github.com/pkolawa/krs-poland-mcp-server.git"
|
|
14
14
|
},
|
|
15
|
-
"keywords": ["mcp", "poland", "krs"],
|
|
15
|
+
"keywords": ["mcp", "poland", "krs", "server"],
|
|
16
16
|
"author": {
|
|
17
17
|
"name": "Piotr Kolawa",
|
|
18
|
-
"email": "
|
|
18
|
+
"email": "p.kolawa@gmail.com"
|
|
19
19
|
},
|
|
20
20
|
"license": "MIT",
|
|
21
21
|
"type": "module",
|
package/src/index.ts
CHANGED
|
@@ -5,6 +5,7 @@ async function main() {
|
|
|
5
5
|
const transport = new StdioServerTransport();
|
|
6
6
|
await server.connect(transport);
|
|
7
7
|
console.error("KRS MCP Server running on stdio");
|
|
8
|
+
await new Promise(() => {});
|
|
8
9
|
}
|
|
9
10
|
|
|
10
11
|
if (process.argv[1] === (import.meta && import.meta.url && new URL(import.meta.url).pathname)) {
|
|
@@ -12,4 +13,4 @@ if (process.argv[1] === (import.meta && import.meta.url && new URL(import.meta.u
|
|
|
12
13
|
console.error("Fatal error in main():", error);
|
|
13
14
|
process.exit(1);
|
|
14
15
|
});
|
|
15
|
-
}
|
|
16
|
+
}
|