Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"com-sunex-optics-mcp": {
"args": [
"-y",
"wrangler"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
A public Model Context Protocol server that lets AI assistants search Sunex's lens and imager catalog in natural language.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y 'wrangler' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
Wrangler affected by OS Command Injection in `wrangler pages deploy`
**Summary** A command injection vulnerability (CWE-78) has been found to exist in the `wrangler pages deploy` command. The issue occurs because the `--commit-hash` parameter is passed directly to a shell command without proper validation or sanitization, allowing an attacker with control of `--commit-hash` to execute arbitrary commands on the system running Wrangler. **Root cause** The `commitHash` variable, derived from user input via the `--commit-hash` CLI argument, is interpolated directl
Arbitrary remote code execution within `wrangler dev` Workers sandbox
### Impact The V8 inspector intentionally allows arbitrary code execution within the Workers sandbox for debugging. `wrangler dev` would previously start an inspector server listening on all network interfaces. This would allow an attacker on the local network to connect to the inspector and run arbitrary code. Additionally, the inspector server did not validate `Origin`/`Host` headers, granting an attacker that can trick any user on the local network into opening a malicious website the ability
Arbitrary remote file read in Wrangler dev server
### Impact Sending specially crafted HTTP requests and inspector messages to Wrangler's dev server could result in any file on the user's computer being accessible over the local network. An attacker that could trick any user on the local network into opening a malicious website could also read any file. ### Patches This issue was fixed in `wrangler@3.19.0`. Wrangler will now only serve files that are part of your bundle, or referenced by your bundle's source maps. ### Workarounds Configure Wr
Cloudflare Wrangler directory traversal vulnerability
### Impact The Wrangler command line tool (<=wrangler@3.1.0 or <=wrangler@2.20.1) was affected by a directory traversal vulnerability when running a local development server for Pages (wrangler pages dev command). This vulnerability enabled an attacker in the same network as the victim to connect to the local development server and access the victim's files present outside of the directory for the development server. ### Patches Wrangler2: Upgrade to v2.20.1 or higher. Wrangler3: Upgrade to v3
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ecommerce
Argentine business automation: Mercado Pago, AFIP/ARCA, WhatsApp, banking, shipping (7 packages).
A command line tool for setting up commercetools MCP server
Rent GPUs, robots, drones, and construction gear on RIGShare; also onboards equipment owners.
MCP server for Chestniy ZNAK (Честный ЗНАК) API — product marking verification. No auth needed for
MCP Security Weekly
Get CVE alerts and security updates for com.sunex/optics-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
A public Model Context Protocol server that lets AI assistants search Sunex's lens and imager catalog in natural language.
Live endpoint: https://mcp.sunex-ai.com/mcp
Landing page: sunex-ai.com
Transport: Streamable HTTP (MCP spec 2025-03-26). Legacy SSE endpoint at /sse preserved for older clients.
Settings → Connectors → Add custom connector → paste https://mcp.sunex-ai.com/mcp
Add to your MCP config with transport streamable-http and the URL above.
Via any MCP → OpenAPI bridge as a custom GPT Action.
| Tool | What it does |
|---|---|
recommend_lens_for_imager | Give it an imager PN → compatible lenses with FOV and angular resolution. One shot. |
search_imagers | Find sensors by PN, manufacturer, or resolution class. |
get_imager_detail | Full sensor specs plus computed geometry (width / height / diagonal in mm). |
find_compatible_lenses | Given pixel count + pitch, return lenses whose image circle covers the sensor. |
search_products | Full catalog search by PN or keyword, with sample pricing and RFQ links. |
Claude / Cursor / ChatGPT → mcp.sunex-ai.com → optics-online.com/api/v1
(MCP client) (Cloudflare Worker) (ASP JSON API)
Thin proxy on Cloudflare Workers (free tier) over Sunex's production catalog. Streamable HTTP transport per MCP spec 2025-03-26 (with legacy SSE preserved). No auth, read-only.
| Path | Purpose |
|---|---|
/mcp | Primary — Streamable HTTP transport (current MCP standard) |
/sse | Legacy SSE transport, preserved for backward compatibility |
/.well-known/mcp.json | Public discovery manifest |
/ | Landing page with install instructions |
git clone https://github.com/Sunex-AI/Optics-mcp
cd Optics-mcp
npm install
npx wrangler login
npx wrangler deploy
from mcp import ClientSession
from mcp.client.streamable_http import streamablehttp_client
async with streamablehttp_client("https://mcp.sunex-ai.com/mcp") as (r, w, _):
async with ClientSession(r, w) as session:
await session.initialize()
result = await session.call_tool(
"recommend_lens_for_imager",
{"imagerPn": "IMX577", "fNumMax": 2.0}
)
Public manifest: https://mcp.sunex-ai.com/.well-known/mcp.json
Issues and PRs welcome. For requests about the backend API (pricing, additional catalog fields, new endpoints), email support@sunex.com.
MIT — see LICENSE.