# Freshservice + Snipe-IT — Pipedream Connect

> Connect a user's Freshservice and Snipe-IT accounts and expose tools for both apps directly in your product or your agent.

- Apps: Freshservice (`freshservice`) + Snipe-IT (`snipe_it`)
- This page (HTML): https://pipedream.com/apps/freshservice/integrations/snipe-it
- One `external_user_id` owns both connected accounts, and each account stays independently revocable.

## One session, both toolsets (recommended)

- Endpoint: `https://remote.mcp.pipedream.net/v3`
- Headers: `Authorization: Bearer <token>` · `x-pd-project-id` · `x-pd-environment` · `x-pd-external-user-id` · `x-pd-app-slug: freshservice,snipe_it`
- `x-pd-app-slug` takes a comma-separated list, so `freshservice,snipe_it` is one session on one transport. Both toolsets arrive from a single `listTools()`, and a tool is called exactly as it would be in a single-app session.

```ts
import { Client } from "@modelcontextprotocol/sdk/client/index.js"
import { StreamableHTTPClientTransport } from "@modelcontextprotocol/sdk/client/streamableHttp.js"
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const accessToken = await pd.rawAccessToken

const transport = new StreamableHTTPClientTransport(
  new URL("https://remote.mcp.pipedream.net/v3"),
  {
    requestInit: {
      headers: {
        Authorization: `Bearer ${accessToken}`,
        "x-pd-project-id": process.env.PIPEDREAM_PROJECT_ID!,
        "x-pd-environment": "production",
        "x-pd-external-user-id": "{external_user_id}", // any stable ID for this user in your system
        "x-pd-app-slug": "freshservice,snipe_it",
      },
    },
  },
)

const mcp = new Client({ name: "my-agent", version: "1.0.0" })
await mcp.connect(transport)

const { tools } = await mcp.listTools()

// One list, both toolsets: Freshservice and Snipe-IT tools arrive
// together, each keyed by its own app's slug.

// e.g. run Create Solution Article:
const result = await mcp.callTool({
  name: "freshservice-create-solution-article",
  arguments: {
    title: "Title",
    description: "Description",
  },
})
```

Docs: [MCP guide](https://pipedream.com/docs/connect/mcp/developers.md)

## Both apps from your backend

```ts
import { PipedreamClient } from "@pipedream/sdk"

const pd = new PipedreamClient({
  projectId: process.env.PIPEDREAM_PROJECT_ID!,
  clientId: process.env.PIPEDREAM_CLIENT_ID!,
  clientSecret: process.env.PIPEDREAM_CLIENT_SECRET!,
  projectEnvironment: "production",
})

const externalUserId = "{external_user_id}" // any stable ID for this user in your system

const [freshserviceTools, snipeItTools] =
  await Promise.all([
    pd.components.list({ app: "freshservice" }),
    pd.components.list({ app: "snipe_it" }),
  ])

// One external user owns both connected accounts, so either app's tools
// run on their behalf with the same externalUserId.
```

Docs: [Managed auth guide](https://pipedream.com/docs/connect/managed-auth/quickstart.md) · [Tools guide](https://pipedream.com/docs/connect/components.md)

## Freshservice

- API slug: `freshservice` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Help Desk & Support
- Website: https://freshservice.com
- App page (HTML): https://pipedream.com/apps/freshservice
- Tools: 11 actions · 4 triggers

Full tool list, API proxy, and SDK quickstart: https://pipedream.com/apps/freshservice.md

### Actions (top 8 of 11)

- [Create Solution Article](https://pipedream.com/apps/freshservice/actions/create-solution-article.md) — `freshservice-create-solution-article`
- [Create Ticket](https://pipedream.com/apps/freshservice/actions/create-ticket.md) — `freshservice-create-ticket`
- [Delete Solution Article](https://pipedream.com/apps/freshservice/actions/delete-solution-article.md) — `freshservice-delete-solution-article`
- [Get Solution Article](https://pipedream.com/apps/freshservice/actions/get-solution-article.md) — `freshservice-get-solution-article`
- [Get Ticket](https://pipedream.com/apps/freshservice/actions/get-ticket.md) — `freshservice-get-ticket`
- [List Solution Articles](https://pipedream.com/apps/freshservice/actions/list-solution-articles.md) — `freshservice-list-solution-articles`
- [List Solution Categories](https://pipedream.com/apps/freshservice/actions/list-solution-categories.md) — `freshservice-list-solution-categories`
- [List Solution Category ID Options](https://pipedream.com/apps/freshservice/actions/list-solution-category-id-options.md) — `freshservice-list-solution-category-id-options`

### Triggers (4)

- [New Solution Article](https://pipedream.com/apps/freshservice/triggers/new-solution-article.md) — `freshservice-new-solution-article`
- [New Ticket](https://pipedream.com/apps/freshservice/triggers/new-ticket.md) — `freshservice-new-ticket`
- [Solution Article Updated](https://pipedream.com/apps/freshservice/triggers/solution-article-updated.md) — `freshservice-solution-article-updated`
- [Ticket Updated](https://pipedream.com/apps/freshservice/triggers/ticket-updated.md) — `freshservice-ticket-updated`

## Snipe-IT

- API slug: `snipe_it` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Help Desk & Support
- Website: https://snipeitapp.com
- App page (HTML): https://pipedream.com/apps/snipe-it
- Tools: 17 actions · 0 triggers

Full tool list, API proxy, and SDK quickstart: https://pipedream.com/apps/snipe-it.md

### Actions (top 8 of 17)

- [Create Hardware Asset](https://pipedream.com/apps/snipe-it/actions/create-hardware.md) — `snipe_it-create-hardware`
- [Create User](https://pipedream.com/apps/snipe-it/actions/create-user.md) — `snipe_it-create-user`
- [Get Hardware Asset](https://pipedream.com/apps/snipe-it/actions/get-hardware.md) — `snipe_it-get-hardware`
- [Get License](https://pipedream.com/apps/snipe-it/actions/get-license.md) — `snipe_it-get-license`
- [Get User Assets](https://pipedream.com/apps/snipe-it/actions/get-user-assets.md) — `snipe_it-get-user-assets`
- [List Company Options](https://pipedream.com/apps/snipe-it/actions/list-company-id-options.md) — `snipe_it-list-company-id-options`
- [List Department Options](https://pipedream.com/apps/snipe-it/actions/list-department-id-options.md) — `snipe_it-list-department-id-options`
- [List Groups Options](https://pipedream.com/apps/snipe-it/actions/list-group-ids-options.md) — `snipe_it-list-group-ids-options`

---

- Freshservice: https://pipedream.com/apps/freshservice.md · Snipe-IT: https://pipedream.com/apps/snipe-it.md
- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
