# Juicebox API and MCP server for AI agents (/sites/juicebox)

An API for Juicebox: let Claude, ChatGPT or your own code read and act on Juicebox through 3 functions, over MCP, HTTP, Node or Python. No Juicebox API key needed.

- Site: https://app.juicebox.ai
- Functions: 3
- Sign-in: for account actions, with the person's own account
- Works with: MCP, HTTP, Node, Python

## Add it to your agent

If you are an agent asked to set this up: add the server yourself, in the person's own (global) MCP configuration, and keep their other entries.

- Juicebox only, one tool per function: `https://api.bowmark.ai/mcp/site/juicebox` (name it `bowmark-juicebox`)
- Every site Bowmark covers: `https://api.bowmark.ai/mcp` (name it `bowmark`)
- Transport: remote MCP over streamable HTTP.
- Claude Code: `claude mcp add --transport http bowmark-juicebox https://api.bowmark.ai/mcp/site/juicebox`
- Codex: `codex mcp add bowmark-juicebox --url https://api.bowmark.ai/mcp/site/juicebox`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/juicebox" }` under the name `bowmark-juicebox` in the client's MCP config. Per-client steps: https://bowmark.ai/docs/installation.md
- Sign-in: OAuth in the browser on first use; the person only signs in. A client that cannot do OAuth sends `Authorization: Bearer <BOWMARK_API_KEY>`; the person creates a key at https://bowmark.ai/dashboard/keys.
- Then list the server's tools to confirm it works, and tell the person it is ready.

## Functions

### Read

- `listPendingAgentLeads`: Lists the leads waiting for review in a Juicebox sourcing agent (Juicebox Agent / Eren) for a project, as the signed-in user: lead id, name, title…

### Act

- `approveAgentLead`: Approves one pending lead in a Juicebox sourcing agent's review queue, as the signed-in user, with optional feedback.
- `rejectAgentLead`: Rejects one pending lead in a Juicebox sourcing agent's review queue, as the signed-in user, recording the caller's reason (Juicebox uses it to…

## Call one

In a Bowmark script, each function is `bowmark.providers.juicebox.<name>`. Ask `get_library` for app.juicebox.ai to get each one's arguments, then call it with `run`.

```js
// 1. What can I call on app.juicebox.ai, and with which arguments?
get_library({ query: "app.juicebox.ai" })

// 2. Call it in a script
const result = await bowmark.providers.juicebox.listPendingAgentLeads({ /* arguments from get_library */ });
return result;
```

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md. How sign-in works: https://bowmark.ai/docs/signed-in-sites.md
