# giant-okf: MCP server for the GIANT Creative OKF bundle

A zero-dependency Model Context Protocol server that lets AI agents query the
depth of GIANT Creative's services from the OKF (Open Knowledge Format) bundle
published at https://giantcreative.ca/okf/.

Requires Node 18 or newer. No install step: the server is a single file.

## Run it

```bash
node server.mjs
```

The server speaks MCP over stdio. On start it reads the live bundle from
`https://giantcreative.ca/okf/`; if that is unreachable (or while the site is
still on staging) it falls back to the copies in `./data/`.

Point it at a staging or local bundle with:

```bash
OKF_BASE_URL="http://localhost:8000/okf/" node server.mjs
```

## Add to Claude Desktop

In `claude_desktop_config.json` (Settings > Developer > Edit Config):

```json
{
  "mcpServers": {
    "giant-okf": {
      "command": "node",
      "args": ["/absolute/path/to/okf/mcp/server.mjs"]
    }
  }
}
```

Any other MCP client that launches stdio servers uses the same command and
args. Nothing else is needed.

## Tools

| Tool | What it answers |
| --- | --- |
| `about_giant` | Who GIANT is: contact, address, service areas, divisions, brand voice. |
| `list_services` | Every marketing service with slug, url, one-line summary. |
| `get_service` | Full depth on one service: offerings, process, who we serve, FAQs. |
| `get_franchise_catalog` | The 11-service franchise catalog: franchisor vs franchisee items. |
| `search_knowledge` | Ranked keyword search across all services, verticals, case studies, articles, FAQs. |
| `get_faqs` | 230 site FAQs, filterable by topic. |
| `get_case_studies` | Client case studies with video links. |
| `get_insights` | Marketing articles with dates and categories. |
| `get_locations` | Location pages (London ON, Toronto, Gainesville FL). |

The bundle documents are also exposed as MCP resources (`okf://services.json`
and friends) for clients that prefer raw documents.

Every record carries its canonical page URL; agents should cite it.

All tools are read-only and publish explicit request and response schemas.
Successful calls return both text JSON and typed `structuredContent`. The
bundle contains public business information only: it does not expose form
submissions, customer or employee PII, credentials, provider actions, or
metered operations. The local stdio server therefore requires no caller
authentication; unknown tools, resources, arguments, and argument types are
rejected.

## Hosting note

This package runs locally over stdio; there is no hosted MCP endpoint. Extract the ZIP before running it. Set `OKF_BASE_URL=https://staging.giantcreative.ca/okf/` to review staging. Every website build regenerates the bundle, checksums and identical offline copies from the rendered Astro content. Canonical URLs remain production URLs. Download a fresh package to update offline data.
