netintel-mcp 1.1.27 → 1.1.30
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 +9 -4
- package/dist/index.js +30 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# netintel-mcp
|
|
2
2
|
|
|
3
|
-
MCP server for NetIntel —
|
|
3
|
+
MCP server for NetIntel — 97 network intelligence tools for AI agents.
|
|
4
4
|
DNS, SSL, WHOIS, email security, cloud fingerprinting, OSINT and more.
|
|
5
|
-
Pay-per-call via x402 on Base
|
|
5
|
+
Pay-per-call via x402 — the NetIntel API accepts USDC on Base or Solana; this MCP server pays on Base. No API keys needed — just a wallet with USDC.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
@@ -31,7 +31,7 @@ Or add manually to your Claude Desktop config:
|
|
|
31
31
|
|
|
32
32
|
## Tools
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
97 pay-per-call tools across DNS, SSL/TLS, WHOIS & domains, email security, IP intelligence, web & content, OSINT, AI text processing, and bundled reports.
|
|
35
35
|
|
|
36
36
|
| Tool | Description | Price |
|
|
37
37
|
|------|-------------|-------|
|
|
@@ -129,10 +129,15 @@ Or add manually to your Claude Desktop config:
|
|
|
129
129
|
| netintel_openai_gpt_5_6_sol | Call OpenAI's gpt-5.6-sol via a single pay-per-call x402 endpoint — no… | $0.65 |
|
|
130
130
|
| netintel_openai_gpt_5_6_terra | Call OpenAI's gpt-5.6-terra via a single pay-per-call x402 endpoint —… | $0.25 |
|
|
131
131
|
| netintel_openai_gpt_5_6_luna | Call OpenAI's gpt-5.6-luna via a single pay-per-call x402 endpoint — no… | $0.06 |
|
|
132
|
+
| netintel_v1 | OpenAI-compatible text embeddings API — standard /v1/embeddings request… | $0.005 |
|
|
133
|
+
| netintel_semantic | Semantic similarity ranking — send a query plus up to 100 candidate… | $0.02 |
|
|
134
|
+
| netintel_v1_chat_completions | OpenAI-compatible chat completions gateway — standard… | $0.10 |
|
|
132
135
|
|
|
133
136
|
## Payment
|
|
134
|
-
All tools pay automatically via x402 on Base mainnet
|
|
137
|
+
All tools pay automatically via x402 in USDC on Base mainnet.
|
|
135
138
|
Your wallet is charged per call. No subscriptions, no API keys.
|
|
139
|
+
(The NetIntel API itself also accepts USDC on Solana — call it directly
|
|
140
|
+
over x402 with a Solana wallet if you prefer that rail.)
|
|
136
141
|
|
|
137
142
|
## Links
|
|
138
143
|
- Website: https://netintel.dev
|
package/dist/index.js
CHANGED
|
@@ -980,6 +980,36 @@ function registerTools(server, api) {
|
|
|
980
980
|
return err(e);
|
|
981
981
|
}
|
|
982
982
|
});
|
|
983
|
+
// 95. V1 (POST)
|
|
984
|
+
server.tool("netintel_v1", "OpenAI-compatible text embeddings API — standard /v1/embeddings request shape: input as a string or a batch of up to 128 strings (64000 chars total on text-embedding-3-small, the default; 24000 on text-embedding-3-large). Flat $0.005 per…", { input: z.string(), model: z.string().optional(), dimensions: z.number().optional() }, async ({ input, model, dimensions }) => {
|
|
985
|
+
try {
|
|
986
|
+
const res = await api.post("/v1/embeddings", { input, model, dimensions });
|
|
987
|
+
return ok(res.data);
|
|
988
|
+
}
|
|
989
|
+
catch (e) {
|
|
990
|
+
return err(e);
|
|
991
|
+
}
|
|
992
|
+
});
|
|
993
|
+
// 96. Semantic (POST)
|
|
994
|
+
server.tool("netintel_semantic", "Semantic similarity ranking — send a query plus up to 100 candidate texts, get the candidates back ranked by semantic similarity with scores. No vectors, no cosine math, no embedding model to manage: one call, one price, ranked results…", { query: z.string(), candidates: z.array(z.string()), model: z.string().optional(), top_k: z.number().optional(), min_score: z.number().optional() }, async ({ query, candidates, model, top_k, min_score }) => {
|
|
995
|
+
try {
|
|
996
|
+
const res = await api.post("/semantic/rank", { query, candidates, model, top_k, min_score });
|
|
997
|
+
return ok(res.data);
|
|
998
|
+
}
|
|
999
|
+
catch (e) {
|
|
1000
|
+
return err(e);
|
|
1001
|
+
}
|
|
1002
|
+
});
|
|
1003
|
+
// 97. V1 (POST)
|
|
1004
|
+
server.tool("netintel_v1_chat_completions", "OpenAI-compatible chat completions gateway — standard /v1/chat/completions path and request shape, model chosen in the body (gpt-4o, gpt-4.1, gpt-5.6-luna, minis, nanos). Flat $0.10 per call in USDC via x402, no OpenAI account or API key…", { model: z.string(), messages: z.array(z.any()), max_tokens: z.number().optional() }, async ({ model, messages, max_tokens }) => {
|
|
1005
|
+
try {
|
|
1006
|
+
const res = await api.post("/v1/chat/completions", { model, messages, max_tokens });
|
|
1007
|
+
return ok(res.data);
|
|
1008
|
+
}
|
|
1009
|
+
catch (e) {
|
|
1010
|
+
return err(e);
|
|
1011
|
+
}
|
|
1012
|
+
});
|
|
983
1013
|
}
|
|
984
1014
|
async function main() {
|
|
985
1015
|
const api = await createClient();
|