n8n-nodes-surface 0.1.4 → 0.1.5
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/AGENTS.md +42 -0
- package/package.json +3 -2
package/AGENTS.md
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Surface — first keyed call
|
|
2
|
+
|
|
3
|
+
Surface checks a short link before an agent opens it. The answer is fetch or skip. It never returns the page. Free for the first million requests a month.
|
|
4
|
+
|
|
5
|
+
Surface by Canada Site Ops. Ontario, Canada.
|
|
6
|
+
|
|
7
|
+
## Mint a key, then preflight a URL
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
npx @surfaceapi/surface init
|
|
11
|
+
npx @surfaceapi/surface preflight https://youtu.be/jNQXAC9IVRw
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
After `init` has written `.env`, a bare URL is enough:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npx @surfaceapi/surface https://youtu.be/jNQXAC9IVRw
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
`init` writes `SURFACE_KEY` to `.env`. `preflight` reads that key and calls `POST /v1/preflight`. If no key is set it tells you to run `init` first. It will not send a keyless call and will not auto-mint during preflight.
|
|
21
|
+
|
|
22
|
+
You can also mint with `POST https://nova-otter-delta-cloud.grok.me/v1/keys` (no email, no card) and set `SURFACE_KEY`.
|
|
23
|
+
|
|
24
|
+
## MCP
|
|
25
|
+
|
|
26
|
+
Put the minted key in place of `REPLACE_WITH_YOUR_KEY`. Do not send the placeholder.
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"mcpServers": {
|
|
31
|
+
"surface": {
|
|
32
|
+
"type": "http",
|
|
33
|
+
"url": "https://nova-otter-delta-cloud.grok.me/mcp",
|
|
34
|
+
"headers": {
|
|
35
|
+
"Authorization": "Bearer REPLACE_WITH_YOUR_KEY"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Stdio: `npx -y @surfaceapi/mcp` with `env.SURFACE_KEY` set to the same key. Tool: `preflight_url`.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-surface",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. n8n Surface Preflight node. Free for the first million requests a month.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"n8n-community-node-package",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"index.js",
|
|
25
25
|
"dist",
|
|
26
26
|
"README.md",
|
|
27
|
-
"LICENSE"
|
|
27
|
+
"LICENSE",
|
|
28
|
+
"AGENTS.md"
|
|
28
29
|
],
|
|
29
30
|
"n8n": {
|
|
30
31
|
"n8nNodesApiVersion": 1,
|