com.sunex/optics-mcp

السجل الرسمي البحث والويب

Search Sunex lenses and imager sensors, match compatible optics, get pricing. No API key needed.

التثبيت

أضف هذا إلى إعدادات MCP في عميلك (Claude Desktop: claude_desktop_config.json، وCursor: ‏.cursor/mcp.json، ويستخدم VS Code وغيره الصيغة نفسها «mcpServers»).

Remote (sse)
Claude Code
claude mcp add --transport sse optics-mcp 'https://mcp.sunex-ai.com/sse'
إعداد JSON (Claude Desktop وCursor وVS Code)
{
    "mcpServers": {
        "optics-mcp": {
            "type": "sse",
            "url": "https://mcp.sunex-ai.com/sse"
        }
    }
}

التوثيق

مأخوذ من ملف README للمشروع على GitHub ويُحدَّث أسبوعيًا. تفتح الروابط على GitHub.

المحتويات
  1. Sunex Optics MCP Server
  2. Connect in 30 seconds
  3. Five tools
  4. Example prompts
  5. Architecture
  6. Endpoints
  7. Self-host
  8. Calling a tool directly (Python)
  9. Discovery
  10. Contributing
  11. License

Sunex Optics MCP Server

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.

Connect in 30 seconds

Claude

Settings → Connectors → Add custom connector → paste https://mcp.sunex-ai.com/mcp

Cursor / Continue / Zed

Add to your MCP config with transport streamable-http and the URL above.

ChatGPT

Via any MCP → OpenAPI bridge as a custom GPT Action.

Five tools

ToolWhat it does
recommend_lens_for_imagerGive it an imager PN → compatible lenses with FOV and angular resolution. One shot.
search_imagersFind sensors by PN, manufacturer, or resolution class.
get_imager_detailFull sensor specs plus computed geometry (width / height / diagonal in mm).
find_compatible_lensesGiven pixel count + pitch, return lenses whose image circle covers the sensor.
search_productsFull catalog search by PN or keyword, with sample pricing and RFQ links.

Example prompts

  • "Recommend a wide-angle lens for the Sony IMX577 with F/2.0 or faster."
  • "I need fisheye lenses under $100."
  • "What's the diagonal of the IMX477 in mm?"
  • "Find lenses for a 1920×1080 sensor with 3µm pixels, 100–180° HFOV."

Architecture

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.

Endpoints

PathPurpose
/mcpPrimary — Streamable HTTP transport (current MCP standard)
/sseLegacy SSE transport, preserved for backward compatibility
/.well-known/mcp.jsonPublic discovery manifest
/Landing page with install instructions

Self-host

git clone https://github.com/Sunex-AI/Optics-mcp
cd Optics-mcp
npm install
npx wrangler login
npx wrangler deploy

Calling a tool directly (Python)

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}
        )

Discovery

Public manifest: https://mcp.sunex-ai.com/.well-known/mcp.json

Contributing

Issues and PRs welcome. For requests about the backend API (pricing, additional catalog fields, new endpoints), email support@sunex.com.

License

MIT — see LICENSE.

الأسئلة الشائعة

ما هو com.sunex/optics-mcp؟

Search Sunex lenses and imager sensors, match compatible optics, get pricing. No API key needed.

كيف أثبّت com.sunex/optics-mcp؟

يعمل كخادم بعيد. في Claude Code: claude mcp add --transport sse optics-mcp 'https://mcp.sunex-ai.com/sse'. وفي العملاء الآخرين، الصق إعداد JSON من هذه الصفحة في إعدادات MCP الخاصة بهم.

هل يحتاج com.sunex/optics-mcp إلى مفتاح API؟

لا يذكر إدراجه في السجل أي مفتاح أو سر إلزامي. قد تتطلب بعض الميزات حسابًا لدى الخدمة التي يتصل بها.

هل com.sunex/optics-mcp مفتوح المصدر؟

نعم. شيفرته متاحة على GitHub بترخيص MIT.

من يصون com.sunex/optics-mcp؟

ينشره sunex-ai. يدرجه AI.tn لكنه لا يصونه ولا يوصي به.

من سجل MCP الرسمي. الإدراج ليس توصية: راجع شيفرة الخادم وصلاحياته قبل منحه الوصول إلى بياناتك.