# Hugging Bay MCP

## First call

This public MCP search needs no key. It returns a live catalog row with an artifact ID and file details.

```sh
curl -fsS 'https://huggingbay.xyz/api/mcp' -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_artifacts","arguments":{"q":"Qwen2.5 0.5B GGUF","limit":5}}}'
```

The hosted endpoint is `https://huggingbay.xyz/api/mcp` (Streamable HTTP). Public catalog search and fetch need no API key.

Use `tools/list` to discover the current server tools and schemas. The example above calls `search_artifacts` once and returns live catalog rows. Read the exact file, license label, download plan, byte count, and SHA-256 before downloading. A downloadable file is not proof of a successful local run.

For a client setup, see [Connect an assistant](https://huggingbay.xyz/connect) and [Agent Access](https://huggingbay.xyz/agents). The [MCP package README](https://huggingbay.xyz/developers/mcp) covers local stdio and package status.
