> ## Documentation Index
> Fetch the complete documentation index at: https://nango.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Daffy

> Connect your application to the Daffy MCP server

## 🚀 Quickstart

Connect to the Daffy MCP server with Nango and call MCP tools in minutes. Daffy MCP uses OAuth 2.0 with a **client ID metadata document**, so no app registration is required.

**1. Create the integration**

In Nango ([free signup](https://app.nango.dev)), go to **Integrations** → *Configure New Integration* → *Daffy*.

**2. Authorize Daffy**

Go to **Connections** → *Add Test Connection* → *Authorize*, then sign in to your Daffy account. Later, you'll let your users do the same directly from your app.

**3. Call the Daffy MCP server**

Make your first MCP request (initialize handshake). Replace the placeholders below with your [Environment API key](https://nango.dev/docs/reference/backend/http-api/api-keys.md), integration ID, and connection ID:

> [tab] cURL
>
> ```bash theme={null}
> curl "https://api.nango.dev/proxy/mcp" \
>   -X POST \
>   -H "Authorization: Bearer <NANGO-API-KEY>" \
>   -H "Provider-Config-Key: <INTEGRATION-ID>" \
>   -H "Connection-Id: <CONNECTION-ID>" \
>   -H "Content-Type: application/json" \
>   -d '{
>     "jsonrpc": "2.0",
>     "id": 1,
>     "method": "initialize",
>     "params": {
>         "protocolVersion": "2024-11-05",
>         "capabilities": {},
>         "clientInfo": {
>             "name": "nango-client",
>             "version": "1.0.0"
>         }
>     }
>   }'
> ```

> [tab] Node
>
> Install Nango's backend SDK with `npm i @nangohq/node`. Then run:
>
> ```typescript theme={null}
> import { Nango } from '@nangohq/node';
>
> const nango = new Nango({ apiKey: '<NANGO-API-KEY>' });
>
> const res = await nango.post({
>     endpoint: '/mcp',
>     providerConfigKey: '<INTEGRATION-ID>',
>     connectionId: '<CONNECTION-ID>',
>     body: {
>         jsonrpc: '2.0',
>         id: 1,
>         method: 'initialize',
>         params: {
>             protocolVersion: '2024-11-05',
>             capabilities: {},
>             clientInfo: {
>                 name: 'nango-client',
>                 version: '1.0.0'
>             }
>         }
>     }
> });
>
> console.log(res.data);
> ```

Or fetch credentials with the [Node SDK](https://nango.dev/docs/reference/backend/backend-sdk/node.md#get-a-connection-with-credentials) or [API](https://nango.dev/docs/reference/backend/http-api/connections/get.md).

✅ You're connected! Check the **Logs** tab in Nango to inspect requests.

**4. Implement Nango in your app**

Follow our [quickstart](https://nango.dev/docs/getting-started/quickstart.md) to integrate Nango in your app.

## 📚 Daffy guides

Nango identifies itself to Daffy's OAuth server (`auth.daffy.org`) with its own client ID metadata document, so you do not need to register an OAuth app: create the integration in Nango and sign in with your Daffy account. Nango requests the `offline_access` scope so it can refresh the token.

The Daffy MCP server is available to every Daffy member.

Official resources: [Daffy MCP server](https://docs.daffy.org/agents/mcp)

***


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.