@ontosdk/mcp 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/bin/onto-mcp.cjs +15 -0
- package/dist/lib/version.d.ts +1 -1
- package/dist/lib/version.js +1 -1
- package/package.json +3 -2
package/bin/onto-mcp.cjs
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
/* CJS bin wrapper. The compiled server is ESM (type: module + tsc output).
|
|
3
|
+
* Windows npm shims work more reliably when bin points at a CJS file at
|
|
4
|
+
* the package root, so we go through this thin wrapper. The dynamic
|
|
5
|
+
* import() lets CJS load the ESM entry point. */
|
|
6
|
+
|
|
7
|
+
const { pathToFileURL } = require('node:url');
|
|
8
|
+
const { join } = require('node:path');
|
|
9
|
+
|
|
10
|
+
const serverUrl = pathToFileURL(join(__dirname, '..', 'dist', 'server.js')).href;
|
|
11
|
+
|
|
12
|
+
import(serverUrl).catch((err) => {
|
|
13
|
+
console.error('[onto-mcp] failed to start:', err);
|
|
14
|
+
process.exit(1);
|
|
15
|
+
});
|
package/dist/lib/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.0.
|
|
1
|
+
export declare const version = "1.0.3";
|
package/dist/lib/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '1.0.
|
|
1
|
+
export const version = '1.0.3';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ontosdk/mcp",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "Official Onto MCP server — clean Markdown and AIO scoring for any URL, available as MCP tools for Claude Code, Cursor, and any MCP client.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/server.js",
|
|
7
7
|
"bin": {
|
|
8
|
-
"onto-mcp": "
|
|
8
|
+
"onto-mcp": "bin/onto-mcp.cjs"
|
|
9
9
|
},
|
|
10
10
|
"files": [
|
|
11
|
+
"bin/**/*",
|
|
11
12
|
"dist/**/*",
|
|
12
13
|
"examples/**/*",
|
|
13
14
|
"README.md",
|