url-safety-validator-mcp 1.2.8 → 1.2.9

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/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  All notable changes to URL Safety Validator MCP are documented here.
4
4
 
5
+ ## [1.2.9] — 2026-06-02
6
+
7
+ ### Fixed
8
+ - fix: IP extraction fixed for Cloudflare proxy headers — free tier gate now enforces correctly
9
+
5
10
  ## [1.2.5] — 2026-04-28
6
11
 
7
12
  ### Changed
package/README.md CHANGED
@@ -93,6 +93,51 @@ npm install -g url-safety-validator-mcp
93
93
 
94
94
  ---
95
95
 
96
+ ## Harness Integration
97
+
98
+ ### Claude Code / Claude Desktop (.mcp.json)
99
+ ```json
100
+ {
101
+ "mcpServers": {
102
+ "url-safety-validator": {
103
+ "type": "http",
104
+ "url": "https://url-safety-validator-mcp-production.up.railway.app"
105
+ }
106
+ }
107
+ }
108
+ ```
109
+
110
+ ### LangChain (Python)
111
+ ```python
112
+ from langchain_mcp_adapters.client import MultiServerMCPClient
113
+ client = MultiServerMCPClient({
114
+ "url-safety-validator": {
115
+ "url": "https://url-safety-validator-mcp-production.up.railway.app",
116
+ "transport": "http"
117
+ }
118
+ })
119
+ tools = await client.get_tools()
120
+ ```
121
+
122
+ ### OpenAI Agents SDK (Python)
123
+ ```python
124
+ from agents import Agent, HostedMCPTool
125
+ agent = Agent(
126
+ name="Assistant",
127
+ tools=[HostedMCPTool(tool_config={
128
+ "type": "mcp",
129
+ "server_label": "url-safety-validator",
130
+ "server_url": "https://url-safety-validator-mcp-production.up.railway.app",
131
+ "require_approval": "never"
132
+ })]
133
+ )
134
+ ```
135
+
136
+ ### LangGraph
137
+ Same as LangChain above — langchain-mcp-adapters works with LangGraph natively.
138
+
139
+ ---
140
+
96
141
  ## Example Response
97
142
 
98
143
  ```json
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "url-safety-validator-mcp",
3
3
  "mcpName": "io.github.OjasKord/url-safety-validator-mcp",
4
- "version": "1.2.8",
4
+ "version": "1.2.9",
5
5
  "description": "AI-powered URL safety validator MCP server. SAFE/SUSPICIOUS/DANGEROUS verdict for agents.",
6
6
  "main": "src/server.js",
7
7
  "scripts": {
package/src/server.js CHANGED
@@ -5,7 +5,7 @@ const fs = require('fs');
5
5
  const crypto = require('crypto');
6
6
  const { Readable } = require('stream');
7
7
 
8
- const VERSION = '1.2.8';
8
+ const VERSION = '1.2.9';
9
9
  const PRO_UPGRADE_URL = 'https://buy.stripe.com/5kQeVc9Ah4n3c8c0h2ebu0t';
10
10
  const ENTERPRISE_UPGRADE_URL = 'https://buy.stripe.com/4gMdR88wddXDfko0h2ebu0u';
11
11
  const PORT = process.env.PORT || 3000;