---
title: Getting started
description: 'Get a token, then look up a pet over HTTP, GraphQL, and MCP.'
---

# Getting started

## Get a token

Create a token in the Harbour dashboard. Send it as a bearer token on every call: HTTP requests, GraphQL queries, and the MCP server's endpoint.

## Look up a pet

The same pet, three ways:

- Over HTTP, [retrieve a pet](https://reference.demo.svartz.dev/rest/get-pet.md). Its [responses](https://reference.demo.svartz.dev/rest/get-pet.md#responses) list what comes back.
- Over GraphQL, run the [pet query](https://reference.demo.svartz.dev/graphql/pet.md).
- From an agent, [call `find_pets`](https://reference.demo.svartz.dev/mcp/find-pets.md). Its [input](https://reference.demo.svartz.dev/mcp/find-pets.md#input) takes the same filters as [listing pets](https://reference.demo.svartz.dev/rest/list-pets.md#params-query).

Each returns the [Pet object](https://reference.demo.svartz.dev/schemas/pet.md).

## Calling tools

MCP tools take JSON-RPC `tools/call` requests at `https://mcp.harbour.example/mcp`. A tool that runs and fails returns a result with `isError: true`. A request the server can't accept returns a JSON-RPC error instead. See [Look up a pet](#look-up-a-pet) for the tools to start with.
