veriql-mcp 1.0.0 → 1.0.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/dist/server.d.ts +2 -1
- package/dist/server.js +13 -6
- package/dist/server.js.map +1 -1
- package/package.json +2 -1
package/dist/server.d.ts
CHANGED
package/dist/server.js
CHANGED
|
@@ -13,18 +13,25 @@ import { callVeriql, toToolResult } from "./core.js";
|
|
|
13
13
|
const baseUrl = process.env.VERIQL_BASE_URL || "https://veriql.app";
|
|
14
14
|
const apiKey = process.env.VERIQL_API_KEY || "";
|
|
15
15
|
const needKey = () => ({
|
|
16
|
-
content: [{ type: "text", text: "Set VERIQL_API_KEY to use this tool
|
|
16
|
+
content: [{ type: "text", text: "Set VERIQL_API_KEY to use this tool. Get a free key at https://veriql.app/api" }],
|
|
17
17
|
isError: true,
|
|
18
18
|
});
|
|
19
|
-
|
|
19
|
+
// Named for the package a user actually installs, and versioned from its
|
|
20
|
+
// package.json rather than a literal. Three names for one thing (the config key
|
|
21
|
+
// "veriql", the package "veriql-mcp", the identity "veriql-risk") meant an agent
|
|
22
|
+
// listing its servers showed an identity nobody had heard of, and a hardcoded
|
|
23
|
+
// version was a second place to forget on release.
|
|
24
|
+
export const MCP_NAME = "veriql-mcp";
|
|
25
|
+
export const MCP_VERSION = "1.0.1";
|
|
26
|
+
const server = new McpServer({ name: MCP_NAME, version: MCP_VERSION });
|
|
20
27
|
server.registerTool("veriql_scan", {
|
|
21
28
|
title: "Veriql wallet scan",
|
|
22
|
-
description: "Scan a public wallet address for risky token approvals across 5 EVM chains (Ethereum, BNB Chain, Polygon, Arbitrum, Base). Returns a 0
|
|
29
|
+
description: "Scan a public wallet address for risky token approvals across 5 EVM chains (Ethereum, BNB Chain, Polygon, Arbitrum, Base). Returns a 0-100 Security Score with itemised drivers, every risky approval, and a best-effort USD value-at-risk.",
|
|
23
30
|
inputSchema: { address: z.string().describe("Public EVM address, 0x…") },
|
|
24
31
|
}, async ({ address }) => (apiKey ? toToolResult(await callVeriql("scan", { address }, { baseUrl, apiKey })) : needKey()));
|
|
25
32
|
server.registerTool("veriql_token", {
|
|
26
33
|
title: "Veriql token check",
|
|
27
|
-
description: "Check a token contract for honeypot, punishing taxes, mintable supply, hidden owner and proxy risks
|
|
34
|
+
description: "Check a token contract for honeypot, punishing taxes, mintable supply, hidden owner and proxy risks, each surfaced as a plain-English flag. EVM chains + Tron.",
|
|
28
35
|
inputSchema: {
|
|
29
36
|
address: z.string().describe("Token contract address"),
|
|
30
37
|
chainId: z.string().optional().describe("Chain id or key (e.g. 1, base, tron); defaults to Ethereum"),
|
|
@@ -32,7 +39,7 @@ server.registerTool("veriql_token", {
|
|
|
32
39
|
}, async ({ address, chainId }) => apiKey ? toToolResult(await callVeriql("token", { address, chainId }, { baseUrl, apiKey })) : needKey());
|
|
33
40
|
server.registerTool("veriql_launch", {
|
|
34
41
|
title: "Veriql launch-safety score",
|
|
35
|
-
description: "A transparent 0
|
|
42
|
+
description: "A transparent 0-100 launch-safety score for a token/mint with itemised penalty drivers and full metrics. EVM chains + Tron + Solana.",
|
|
36
43
|
inputSchema: {
|
|
37
44
|
address: z.string().describe("Token contract / mint address"),
|
|
38
45
|
chainId: z.string().optional().describe("Chain id or key (e.g. 1, base, solana); defaults to Ethereum"),
|
|
@@ -42,7 +49,7 @@ async function main() {
|
|
|
42
49
|
const transport = new StdioServerTransport();
|
|
43
50
|
await server.connect(transport);
|
|
44
51
|
// stdout is the MCP channel — log to stderr only.
|
|
45
|
-
console.error(
|
|
52
|
+
console.error(`${MCP_NAME} ready (base ${baseUrl}, key ${apiKey ? "set" : "MISSING: set VERIQL_API_KEY"})`);
|
|
46
53
|
}
|
|
47
54
|
main().catch((e) => {
|
|
48
55
|
console.error("veriql mcp fatal:", e);
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../../../src/mcp/server.ts"],"names":[],"mappings":";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": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
|
+
"mcpName": "app.veriql/veriql-mcp",
|
|
4
5
|
"description": "Veriql Risk API as MCP tools: wallet approval scans, token honeypot/tax checks and a transparent 0-100 launch-safety score, for Claude, Cursor and any MCP agent.",
|
|
5
6
|
"keywords": [
|
|
6
7
|
"mcp",
|