hvtracker-mcp 0.1.0 → 0.1.2
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 +2 -2
- package/bin/hvtracker-mcp.js +15 -3
- package/package.json +3 -3
- package/server.json +5 -5
package/README.md
CHANGED
|
@@ -18,7 +18,7 @@ The hosted remote server is:
|
|
|
18
18
|
This repository also provides a local stdio package for clients that prefer
|
|
19
19
|
package-based installation.
|
|
20
20
|
|
|
21
|
-
<!-- mcp-name: io.github.
|
|
21
|
+
<!-- mcp-name: io.github.YugantM/hvtracker-mcp -->
|
|
22
22
|
|
|
23
23
|
## Tools
|
|
24
24
|
|
|
@@ -81,7 +81,7 @@ PyPI, and GHCR packages for the same version are live.
|
|
|
81
81
|
The server name is:
|
|
82
82
|
|
|
83
83
|
```text
|
|
84
|
-
io.github.
|
|
84
|
+
io.github.YugantM/hvtracker-mcp
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
## Claude Desktop Extension
|
package/bin/hvtracker-mcp.js
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { realpathSync } from "node:fs";
|
|
4
|
+
import { fileURLToPath } from "node:url";
|
|
4
5
|
|
|
5
6
|
import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
|
|
6
7
|
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
|
|
7
8
|
import { z } from "zod";
|
|
8
9
|
|
|
9
|
-
const VERSION = "0.1.
|
|
10
|
+
const VERSION = "0.1.2";
|
|
10
11
|
const DEFAULT_BASE_URL = "https://hvtracker.net";
|
|
11
12
|
const BASE_URL = (process.env.HVTRACKER_BASE_URL || DEFAULT_BASE_URL).replace(/\/+$/, "");
|
|
12
13
|
const TIMEOUT_MS = Number(process.env.HVTRACKER_TIMEOUT_SECONDS || 20) * 1000;
|
|
@@ -202,7 +203,18 @@ export async function runStdio() {
|
|
|
202
203
|
await server.connect(new StdioServerTransport());
|
|
203
204
|
}
|
|
204
205
|
|
|
205
|
-
|
|
206
|
+
function isEntrypoint() {
|
|
207
|
+
if (!process.argv[1]) {
|
|
208
|
+
return false;
|
|
209
|
+
}
|
|
210
|
+
try {
|
|
211
|
+
return realpathSync(process.argv[1]) === realpathSync(fileURLToPath(import.meta.url));
|
|
212
|
+
} catch {
|
|
213
|
+
return process.argv[1] === fileURLToPath(import.meta.url);
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
if (isEntrypoint()) {
|
|
206
218
|
runStdio().catch((error) => {
|
|
207
219
|
console.error(error);
|
|
208
220
|
process.exit(1);
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hvtracker-mcp",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "MCP server for HVTracker trust checks.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
7
|
-
"mcpName": "io.github.
|
|
7
|
+
"mcpName": "io.github.YugantM/hvtracker-mcp",
|
|
8
8
|
"bin": {
|
|
9
|
-
"hvtracker-mcp": "
|
|
9
|
+
"hvtracker-mcp": "bin/hvtracker-mcp.js"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"bin/",
|
package/server.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
-
"name": "io.github.
|
|
3
|
+
"name": "io.github.YugantM/hvtracker-mcp",
|
|
4
4
|
"title": "HVTracker MCP",
|
|
5
5
|
"description": "Pre-connect trust checks for AI agents and MCP servers using HVTracker's public trust registry.",
|
|
6
|
-
"version": "0.1.
|
|
6
|
+
"version": "0.1.2",
|
|
7
7
|
"repository": {
|
|
8
8
|
"url": "https://github.com/YugantM/hvtracker-mcp",
|
|
9
9
|
"source": "github"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{
|
|
19
19
|
"registryType": "npm",
|
|
20
20
|
"identifier": "hvtracker-mcp",
|
|
21
|
-
"version": "0.1.
|
|
21
|
+
"version": "0.1.2",
|
|
22
22
|
"transport": {
|
|
23
23
|
"type": "stdio"
|
|
24
24
|
}
|
|
@@ -26,14 +26,14 @@
|
|
|
26
26
|
{
|
|
27
27
|
"registryType": "pypi",
|
|
28
28
|
"identifier": "hvtracker-mcp",
|
|
29
|
-
"version": "0.1.
|
|
29
|
+
"version": "0.1.2",
|
|
30
30
|
"transport": {
|
|
31
31
|
"type": "stdio"
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
34
|
{
|
|
35
35
|
"registryType": "oci",
|
|
36
|
-
"identifier": "ghcr.io/yugantm/hvtracker-mcp:
|
|
36
|
+
"identifier": "ghcr.io/yugantm/hvtracker-mcp:v0.1.2",
|
|
37
37
|
"transport": {
|
|
38
38
|
"type": "stdio"
|
|
39
39
|
}
|