> For the complete documentation index, see [llms.txt](https://chaincontext.gitbook.io/help-center/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://chaincontext.gitbook.io/help-center/building/recipes.md).

# MCP Server Recipes

{% hint style="success" %}
Recipes are pre-built server templates that create a fully configured project in one click — tools, prompts, resources, and contract imports included.
{% endhint %}

## How recipes work

1. **Pick a recipe** during onboarding or from Project → New
2. **Import a contract** — the recipe wizard asks for the contract address and networks
3. **Apply** — ChainContext creates all the tools, prompts, and resources defined in the recipe, with your contract details substituted in

Recipes use placeholder substitution (`__CONTRACT__`, `__NETWORK__`) so the same template works for any contract address.

## Available recipe categories

{% tabs %}
{% tab title="DeFi" %}

* **Yield Monitor** — track APY, TVL, and reward accrual across lending/liquidity protocols
* **Liquidity Pool Analyzer** — monitor pool reserves, impermanent loss, fee earnings
* **Lending Dashboard** — supply rates, borrow rates, utilization, health factors
  {% endtab %}

{% tab title="Trading" %}

* **DEX Price Tracker** — real-time token prices from DexScreener + CoinGecko
* **Token Swap Analyzer** — compare swap rates across DEXes, estimate slippage
* **Portfolio Tracker** — aggregate token balances and valuations across networks
  {% endtab %}

{% tab title="Analytics" %}

* **Contract Activity Monitor** — track transactions, events, and gas usage
* **Whale Watcher** — monitor large transfers and holder distribution
* **Gas Optimizer** — historical gas prices, optimal transaction timing
  {% endtab %}

{% tab title="Risk" %}

* **Smart Contract Auditor** — exposure analysis, permission checks, upgrade patterns
* **Liquidation Monitor** — track health factors and approaching liquidation thresholds
* **Protocol Risk Dashboard** — TVL changes, admin key activity, oracle health
  {% endtab %}

{% tab title="Governance" %}

* **DAO Governance Tracker** — active proposals, voting power, delegation
* **Treasury Monitor** — token holdings, inflows/outflows, runway calculation
  {% endtab %}

{% tab title="NFT" %}

* **NFT Collection Analytics** — floor price, volume, holder distribution
* **NFT Ownership Verifier** — check wallet ownership of specific tokens
  {% endtab %}
  {% endtabs %}

## Recipe requirements

Some recipes require specific plans:

| Plan        | Recipes included                                            |
| ----------- | ----------------------------------------------------------- |
| **Free**    | Basic read-only recipes                                     |
| **Builder** | Recipes with multiple tools or AI descriptions              |
| **Studio**  | Recipes using HTTP blocks, webhooks, or advanced transforms |

{% hint style="info" %}
The recipe picker shows plan badges and prevents selection of recipes above your current plan, with an inline upgrade prompt.
{% endhint %}

## Creating from scratch

Don't see what you need? Start from scratch:

1. Project → New → **Start from scratch**
2. Import your contract
3. Build tools manually using the block builder

{% hint style="success" %}
You can also modify a recipe after applying it — all created tools are fully editable.
{% endhint %}
