Skip to content
Jupiter documentation
Menu

Connect an MCP client

Register the server with an MCP client over stdio or streamable HTTP.

An MCP client starts the server as a child process over stdio, or connects to a running server over HTTP. Replace /path/to/procurement with the path of your checkout.

Stdio#

Most clients read a JSON entry with a command and its arguments. uv run --directory starts the server from the checkout, so the server finds its .env file.

In Claude Code, one command adds the same entry:

Streamable HTTP#

  1. Start the server with a port. It listens on 127.0.0.1 only.

  2. Point the client at http://127.0.0.1:8765/mcp.

To reach the server from another machine, put a reverse proxy or a tunnel in front of the port. The server has no authentication of its own.

Tool call time limit#

A search runs for up to PROCUREMENT_DEADLINE_S seconds, 55 by default. Many clients cut a tool call at 60 seconds. If your client allows longer calls, raise the deadline so that the Apify lanes, which take 30 to 90 seconds, can finish.

eBay notification endpoint#

Over HTTP the server also answers eBay's account-deletion notifications at /ebay/notifications. eBay keeps a new production keyset disabled until this endpoint answers its challenge.

A GET with challenge_code returns {"challengeResponse": "<sha256 hex>"}. A POST is logged and answered with 204. The server stores no eBay user data.

Source: belikh/procurement HEAD