# FogBugz — Pipedream Connect

> FogBugz project management software helps you spend less time on managing, and more on creating your digital masterpiece. Align your team under a common purpose that allows you to plan, track and release great software.

- API slug: `fogbugz` (use in MCP headers and tool keys)
- Auth: API key (Pipedream-managed)
- Categories: Developer Tools
- Website: https://fogbugz.com/
- This page (HTML): https://pipedream.com/apps/fogbugz
- Tools: 10 actions · 3 triggers

## Connect via MCP (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: fogbugz`

```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": "fogbugz",
      },
    },
  },
)

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

const { tools } = await mcp.listTools()

// e.g. run Create Case:
const result = await mcp.callTool({
  name: "fogbugz-create-case",
  arguments: {
    ixBugParent: "Ix Bug Parent Id",
    sTitle: "Case Title",
  },
})
```

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

## API proxy

For a FogBugz endpoint with no pre-built tool, the proxy forwards your request with the connected user's credentials attached.

```bash
# The path segment is the target URL, URL-safe base64 encoded:
# https://api.example.com/v1/me

curl "https://api.pipedream.com/v1/connect/{project_id}/proxy/aHR0cHM6Ly9hcGkuZXhhbXBsZS5jb20vdjEvbWU?external_user_id={external_user_id}&account_id=apn_xxxxxxx" \
  -H "Authorization: Bearer {access_token}" \
  -H "x-pd-environment: production"
```

Docs: [API proxy guide](https://pipedream.com/docs/connect/api-proxy.md)

## SDK

```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 result = await pd.actions.run({
  id: "fogbugz-create-case",
  externalUserId: "{external_user_id}", // any stable ID for this user in your system
  configuredProps: {
    fogbugz: { authProvisionId: "apn_xxxxxxx" },
    ixBugParent: "Ix Bug Parent Id",
    sTitle: "Case Title",
  },
})
```

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

## Actions (10)

### `fogbugz-create-case` — Create Case (Write)

Creates a new case on FogBugz. See the documentation

Full schema: https://pipedream.com/apps/fogbugz/actions/create-case.md

### `fogbugz-list-filter-id-options` — List Filter ID Options (Read-only)

Retrieves available options for the Filter ID field.

Full schema: https://pipedream.com/apps/fogbugz/actions/list-filter-id-options.md

### `fogbugz-list-ix-bug-parent-id-options` — List Ix Bug Parent Id Options (Read-only)

Retrieves available options for the Ix Bug Parent Id field.

Full schema: https://pipedream.com/apps/fogbugz/actions/list-ix-bug-parent-id-options.md

### `fogbugz-list-ix-category-id-options` — List Ix Category Id Options (Read-only)

Retrieves available options for the Ix Category Id field.

Full schema: https://pipedream.com/apps/fogbugz/actions/list-ix-category-id-options.md

### `fogbugz-list-ix-priority-id-options` — List Ix Priority Id Options (Read-only)

Retrieves available options for the Ix Priority Id field.

Full schema: https://pipedream.com/apps/fogbugz/actions/list-ix-priority-id-options.md

### `fogbugz-list-ix-project-id-options` — List Ix Project Id Options (Read-only)

Retrieves available options for the Ix Project Id field.

Full schema: https://pipedream.com/apps/fogbugz/actions/list-ix-project-id-options.md

### `fogbugz-list-projects` — List Projects (Read-only)

Gets a list of projects in FogBugz. This can be used to quickly view all projects and their details. See the documentation

Full schema: https://pipedream.com/apps/fogbugz/actions/list-projects.md

### `fogbugz-list-s-tags-options` — List sTags Options (Read-only)

Retrieves available options for the sTags field.

Full schema: https://pipedream.com/apps/fogbugz/actions/list-s-tags-options.md

### `fogbugz-list-ix-person-id-options` — List User ID Options (Read-only)

Retrieves available options for the User ID field.

Full schema: https://pipedream.com/apps/fogbugz/actions/list-ix-person-id-options.md

### `fogbugz-update-person` — Update Person (Write)

Edits an existing person in FogBugz. See the documentation

Full schema: https://pipedream.com/apps/fogbugz/actions/update-person.md

## Triggers (3)

### `fogbugz-new-caseevent` — New Case Event (Polling)

Emit new event instantaneously when something significant happens to a case.

Full schema: https://pipedream.com/apps/fogbugz/triggers/new-caseevent.md

### `fogbugz-new-case-in-filter` — New Case in Filter (Polling)

Emit new new event when there's a new case under a specified filter. Note this may not effectively work for filters that generate results too long, or filters with more than 50,000 cases, especially if your FogBugz site is running Ocelot.

Full schema: https://pipedream.com/apps/fogbugz/triggers/new-case-in-filter.md

### `fogbugz-new-person` — New Person Created (Polling)

Emit new event when a new person or a user is created in FogBugz. It effectively tracks the addition of new users in the system.

Full schema: https://pipedream.com/apps/fogbugz/triggers/new-person.md

---

- All apps: https://pipedream.com/apps — index: https://pipedream.com/llms.txt
- Pipedream docs for agents: https://pipedream.com/docs/llms.txt
