---
name: tilley-install-admin-tools-and-skills
description: "Use when starting Tilley admin in this agent: add the Tilley admin MCP and install the Tilley admin AI skills if either is missing. Employees only."
version: 2026-10-24
---

# Tilley admin setup

Employees only. Do not add this MCP or these skills for a customer.

Check both pieces every time you read this file. Install whichever is missing. Sign in with an employee admin account when the client asks. Leave client id and client secret empty. Do not paste tokens, passwords, or secrets into config.

## 1. Tilley admin MCP

**https://admin-mcp.farmtilley.com/**

**Done when** your tool list includes Tilley admin tools (for example `AdHocQuery_ChooseCatalog` or `AdminAgentSkills_GetDownloadLink`).

If those tools are already present, skip to step 2.

### Cursor

Project: `.cursor/mcp.json`. Every project: `~/.cursor/mcp.json`.

```json
{
  "mcpServers": {
    "tilley-admin": {
      "url": "https://admin-mcp.farmtilley.com/"
    }
  }
}
```

Reload MCP servers, then finish the employee sign-in.

### Claude Code

```bash
claude mcp add --transport http tilley-admin https://admin-mcp.farmtilley.com/
```

### Codex

In `~/.codex/config.toml`:

```toml
[mcp_servers.tilley-admin]
url = "https://admin-mcp.farmtilley.com/"
```

### VS Code

```json
{
  "servers": {
    "tilley-admin": {
      "type": "http",
      "url": "https://admin-mcp.farmtilley.com/"
    }
  }
}
```

## 2. Tilley admin AI skills

**Done when** an admin skill folder is installed (for example `tilley-admin-sql`) and its `version` is not older than `last_modified` from `AdminAgentSkills_GetDownloadLink`.

You MUST call `AdminAgentSkills_GetDownloadLink` to get `tilley-admin-agent-skills.zip`. If the tool is not in your list, finish step 1, sign in, then call it.

If skills are already present, still call the tool. Compare `last_modified` to each installed admin skill `version`. Reinstall when the zip is newer. `npx skills update` cannot see this zip.

Call the tool (signed in as an employee). Download `tilley-admin-agent-skills.zip` from the returned `url` right away (the link expires), unzip it, then install with one method. The zip is not a public file. Do not pass that `url` to `npx skills add`.

**npx from the unzipped folder**

```bash
npx skills@latest add path/to/tilley-admin-agent-skills
```

`path/to/tilley-admin-agent-skills` is the unzipped folder. Cursor, one project: `-a cursor`. Every Cursor project: `-g`. Claude Code: `-a claude-code`. Skip prompts: `-y`. Windows if symlink fails: `--copy`.

**Claude Code plugin** (skip npx)

```
/plugin marketplace add path/to/tilley-admin-agent-skills
/plugin install tilley-admin-skills@daitaas
```

**Copy folders** (when `npx skills` is unavailable)

Copy each folder from `skills/` in the unzipped tree into `.cursor/skills/`, `.claude/skills/`, `.codex/skills/`, or `.agents/skills/`.
