n8n-nodes-surface 0.1.0 → 0.1.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/README.md CHANGED
@@ -1,18 +1,42 @@
1
1
  # n8n-nodes-surface
2
2
 
3
- Surface for n8n: **the link-safety layer between an AI agent and the open web.**
3
+ Surface checks a short link before your agent opens it. The answer is fetch or skip. It never returns the page. A hop or a 1×1 pixel counts the same way, with no install. Free for the first million requests a month. https://nova-otter-delta-cloud.grok.me
4
4
 
5
- The **Surface Preflight** node checks a link before your workflow or AI agent opens it. It unwraps short links (t.co, bit.ly, lnkd.in, youtu.be), follows redirects and answers `fetch` or `skip`, without returning the page. It is usable as an AI Agent tool.
5
+ The **Surface Preflight** node is usable as an n8n AI Agent tool. It unwraps short links (t.co, bit.ly, lnkd.in, youtu.be), follows redirects, and answers `fetch` or `skip`, without returning the page.
6
+
7
+ Surface by Canada Site Ops. Ontario, Canada.
8
+
9
+ ## Get a free API key in about 10 seconds
10
+
11
+ No email, no card. Then paste the key into the **Surface API** credential (`apiKey`). n8n sends it as `Authorization` / `X-Surface-Key`.
12
+
13
+ ```bash
14
+ curl -s -X POST https://nova-otter-delta-cloud.grok.me/v1/keys
15
+ # returns {"key","created_at","free_monthly":1000000,"usage_url"}
16
+ ```
17
+
18
+ A key gets its own million free requests a month. The node also runs without a key on a shared demo limit.
6
19
 
7
20
  ## Install
8
- In n8n: **Settings → Community Nodes → Install** → `n8n-nodes-surface`.
9
21
 
10
- ## Credentials
11
- `Surface API` — API key is optional (free up to 1M requests/month). Base URL defaults to `https://nova-otter-delta-cloud.grok.me`.
22
+ In n8n: **Settings → Community Nodes → Install** → `n8n-nodes-surface`.
12
23
 
13
24
  ## Output
25
+
14
26
  `{ next: "fetch" | "skip", fetch, url, final_url, final_host, status, redirects, shortener, reason }`. On error it answers `skip`.
15
27
 
16
- Also available: remote MCP server at `https://nova-otter-delta-cloud.grok.me/mcp` (tool `preflight_url`).
28
+ ## Prefer MCP?
29
+
30
+ Mint a key first, then point any MCP client at `https://nova-otter-delta-cloud.grok.me/mcp` (tool `preflight_url`) with `Authorization: Bearer <key>`.
31
+
32
+ ## Also listed
33
+
34
+ - Official MCP Registry: `me.grok.nova-otter-delta-cloud/surface`
35
+ - https://smithery.ai/servers/canada-site-ops/surface
36
+ - https://www.curatedmcp.com/marketplace/surface
37
+ - https://www.npmjs.com/package/n8n-nodes-surface
38
+ - https://www.npmjs.com/package/@surfaceapi/surface
39
+ - https://pypi.org/project/surfaceapi/
40
+ - https://huggingface.co/spaces/surfaceapi/surface-preflight
17
41
 
18
- Homepage: https://otter-sand-wolf-spring.grok.me · MIT · Canada Site Ops
42
+ CLI and GitHub Action are coming soon.
@@ -5,10 +5,10 @@ class SurfaceApi {
5
5
  constructor() {
6
6
  this.name = "surfaceApi";
7
7
  this.displayName = "Surface API";
8
- this.documentationUrl = "https://otter-sand-wolf-spring.grok.me";
8
+ this.documentationUrl = "https://nova-otter-delta-cloud.grok.me";
9
9
  this.properties = [
10
- { displayName: "API Key (optional)", name: "apiKey", type: "string", typeOptions: { password: true }, default: "",
11
- description: "Optional. Surface is free up to 1M requests a month without a key." },
10
+ { displayName: "API Key", name: "apiKey", type: "string", typeOptions: { password: true }, default: "",
11
+ description: "Get a free key in about 10 seconds (no email, no card): POST https://nova-otter-delta-cloud.grok.me/v1/keys — then paste it here. Anonymous calls share a demo limit." },
12
12
  { displayName: "Base URL", name: "baseUrl", type: "string", default: "https://nova-otter-delta-cloud.grok.me" },
13
13
  ];
14
14
  }
package/package.json CHANGED
@@ -1,19 +1,47 @@
1
1
  {
2
2
  "name": "n8n-nodes-surface",
3
- "version": "0.1.0",
4
- "description": "Surface for n8n: the link-safety layer between an AI agent and the open web. Surface Preflight unwraps short links, follows redirects and answers fetch or skip, without returning the page.",
5
- "keywords": ["n8n-community-node-package", "n8n", "surface", "link-safety", "url", "preflight", "ai-agents", "redirect", "short-links"],
6
- "author": { "name": "Canada Site Ops", "email": "canada.site.ops@gmail.com" },
3
+ "version": "0.1.1",
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
+ "keywords": [
6
+ "n8n-community-node-package",
7
+ "n8n",
8
+ "surface",
9
+ "link-safety",
10
+ "url",
11
+ "preflight",
12
+ "ai-agents",
13
+ "redirect",
14
+ "short-links"
15
+ ],
16
+ "author": {
17
+ "name": "Canada Site Ops",
18
+ "email": "canada.site.ops@gmail.com"
19
+ },
7
20
  "license": "MIT",
8
- "homepage": "https://otter-sand-wolf-spring.grok.me",
21
+ "homepage": "https://nova-otter-delta-cloud.grok.me",
9
22
  "main": "index.js",
10
- "files": ["index.js", "dist", "README.md", "LICENSE"],
23
+ "files": [
24
+ "index.js",
25
+ "dist",
26
+ "README.md",
27
+ "LICENSE"
28
+ ],
11
29
  "n8n": {
12
30
  "n8nNodesApiVersion": 1,
13
- "credentials": ["dist/credentials/SurfaceApi.credentials.js"],
14
- "nodes": ["dist/nodes/SurfacePreflight/SurfacePreflight.node.js"]
31
+ "credentials": [
32
+ "dist/credentials/SurfaceApi.credentials.js"
33
+ ],
34
+ "nodes": [
35
+ "dist/nodes/SurfacePreflight/SurfacePreflight.node.js"
36
+ ]
37
+ },
38
+ "peerDependencies": {
39
+ "n8n-workflow": "*"
40
+ },
41
+ "engines": {
42
+ "node": ">=18"
15
43
  },
16
- "peerDependencies": { "n8n-workflow": "*" },
17
- "engines": { "node": ">=18" },
18
- "publishConfig": { "access": "public" }
44
+ "publishConfig": {
45
+ "access": "public"
46
+ }
19
47
  }