Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

4 Commits

Folders and files

Repository files navigation

BiteSpy MCP Server (Single Server, Multiple Tools)

This is the MCP server you deploy separately to Render.

It exposes one endpoint:

  • POST /mcp (JSON-RPC 2.0 over SSE)

And one health endpoint:

  • GET /health

Tools Exposed

  • scan_product
  • analyze_claims
  • generate_json

These names match the frontend ArmorIQ integration.

Local Run

  1. Copy .env.example to .env
  2. Set GEMINI_API_KEY
  3. Install and start:
npm install
npm run start

Health check:

curl http://localhost:10000/health

Render Deployment (Exact)

  1. Put this mcp-server folder in a separate GitHub repo (recommended).
  2. In Render:
  • New -> Web Service
  • Runtime: Node
  • Build command: npm ci
  • Start command: npm run start
  • Root Directory: repo root (or set to folder containing this package.json)
  1. Add env vars in Render service:
  • NODE_ENV=production
  • PORT=10000
  • MCP_SERVER_NAME=bitespy-main-mcp
  • MCP_SERVER_VERSION=1.0.0
  • GEMINI_API_KEY=<your gemini key>
  • MCP_ALLOWED_ORIGIN=*
  • MCP_MODEL=gemini-2.5-flash-lite
  1. Deploy and test:
  • GET https://<render-service>.onrender.com/health
  • POST https://<render-service>.onrender.com/mcp with initialize
  • POST https://<render-service>.onrender.com/mcp with tools/list
  1. Register in ArmorIQ MCP registry:
  • Name: same as MCP_SERVER_NAME
  • URL: https://<render-service>.onrender.com/mcp

Request Examples

initialize

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "initialize",
  "params": {
    "protocolVersion": "2024-11-05",
    "capabilities": {},
    "clientInfo": { "name": "armoriq-agent", "version": "1.0.0" }
  }
}

tools/list

{
  "jsonrpc": "2.0",
  "id": 2,
  "method": "tools/list"
}

tools/call

{
  "jsonrpc": "2.0",
  "id": 3,
  "method": "tools/call",
  "params": {
    "name": "scan_product",
    "arguments": {
      "prompt": "Analyze this product and return strict JSON",
      "model": "gemini-2.5-flash-lite"
    }
  }
}

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages