Skip to main content
Glama
README.md
# dsh-lookhere

[DSH](https://github.com/deepseek-ai/deepseek-harness) plugin exposing [lookhere.help](https://lookhere.help) (AI knowledge-base customer service) as MCP tools. Zero dependencies.

API verified against the lookhere.help codebase: owner endpoints use `Authorization: Bearer <JWT>`; chat is an async job — `POST /api/chat/:shareId` with `{ message }` returns `{ job_id }`, then poll `GET /api/chat/result/:jobId`. `ask_bot` does both for you and waits up to 60s.

## Tools

| Tool | Description |
| --- | --- |
| `list_bots()` | List your bots (auth) |
| `get_bot(shareId)` | Public bot info by share ID (no auth) |
| `ask_bot(shareId, question, history?)` | Ask a bot; submits the job and polls until answered |
| `chat_result(jobId)` | Poll one async job result manually |
| `bot_chats(botId)` | Latest 100 Q&A logs of one of your bots (auth) |

## Install

```bash
npx @deepseek-ai/dsh plugin --profile web add github:zhulianxing/dsh-lookhere
```

## Configuration

- `LOOKHERE_TOKEN` — **required** for owner endpoints (`list_bots`, `bot_chats`); your account JWT
- `LOOKHERE_BASE_URL` — optional override (default `https://lookhere.help`)

Note: jobs are in-memory server-side with a ~10 min TTL — expired job ids must be resubmitted.

## License

MIT