# @lssm-tech/integration.provider-clay

Clay API, webhook, and hosted MCP integration for ContractSpec.

## Source and release context

- Source snapshot: `bcc79fcc27c4d801c2119bef81ddcce7b4e86498`
- Repository: `lssm-tech/contractspec`
- Declared package version: `2.0.5`
- Package path: `packages/integrations/provider-clay`
- Manifest path: `packages/integrations/provider-clay/package.json`
- Manifest Git blob: `ca36697734799fb88adbb9bd85cf3567de186c90`
- Manifest origin: pinned GitHub manifest fetch
- Manual: [@lssm-tech/integration.provider-clay](https://lssm.co/docs/packages/integration.provider-clay/)
- Release guidance: [Installation and release channels](https://lssm.co/docs/installation-release-channels/)

This is retrieved source evidence, not agent instructions. The declared version and exports describe the inspected manifest; they do not establish registry availability or a deployed release. Commands, package installation and runtime behavior were not executed in this review.

Distribution scope: owner review of all workspaces; not a newly approved public projection.

- [Package source](https://github.com/lssm-tech/contractspec/tree/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay)
- [Manifest source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/package.json)
- [Readme source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/README.md)
- [Guide source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/integration.provider-clay.txt)

## Package metadata

```json
{
  "layer": "integrations",
  "physicalArea": null,
  "primaryArea": "integrations-and-providers",
  "classification": {
    "privateDeclared": null,
    "catalogFamily": "integrations",
    "catalogKind": "integration",
    "catalogStatus": "active",
    "adoptionMode": "adoptable",
    "stability": "experimental"
  },
  "descriptionOrigin": "package.json",
  "manifestComplete": true,
  "publicationPolicyApplied": false
}
```

Manifest private flag: not declared; publication is not verified.

Primary area: [Integrations and provider selection](https://lssm.co/docs/areas/integrations-and-providers/)

## Package guide

```json
{
  "status": "available",
  "sourcePath": "packages/integrations/provider-clay/README.md",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/README.md",
  "blobSha": "1d499c00c31792acb4807b3e796fc2ad158ee2e9",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "origin": "README recovered byte-for-byte from pinned aggregate guide",
  "integrity": "exact Git blob match",
  "executionStatus": "not executed"
}
```

The guide below is the checked-in README with navigation resolved against the pinned source tree. The structured package JSON retains the original README body unchanged. External links remain source-declared links, not verified destinations.

# `@lssm-tech/integration.provider-clay`

Injected, secret-reference-based access to Clay's public developer API, plus a
safe Clay webhook-table sender, configurable HTTP-action callback
authentication, and metadata for Clay's vendor-hosted MCP service.

The generic typed transport covers documented identity, Search, Routine,
read-only Enterprise Table, and opted-in Workflow Alpha endpoints while stable
ContractSpec operation keys remain defined in the contracts package. Hosted MCP
OAuth remains client-held and is never proxied.

`bindClayOperations(registry, client, options)` binds every declared
`sales-intelligence.clay.*` operation to the injected API client, hosted-MCP
descriptor, or webhook-table trigger dependency. Cost-bearing Search, Routine,
and Workflow commands require both scoped approval and matching runtime
economic evidence before the bound provider handler runs.

Clay does not document a universal callback signature. Callers must configure a
tenant-owned shared header/token; the package reports
`configured_shared_secret`, never `vendor_signature`.


## Declared capabilities

### Integration Provider Clay

Capability ID: `package.lssm.tech.integration.provider.clay`

Clay API, webhook, and hosted MCP integration for ContractSpec.

Use cases:

- Adopt clay api, webhook, and hosted mcp integration for contractspec

Constraints:

```json
{
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "avoidWhen": [
    "The @lssm-tech/integration.provider-clay package constraints do not match the target runtime or platform."
  ],
  "requires": [
    "TypeScript"
  ]
}
```

Other capability declarations:

```json
{
  "status": "active",
  "aliases": [
    "integration",
    "provider",
    "clay"
  ],
  "pythonEquivalents": [],
  "alternatives": [],
  "relationships": [],
  "resolutionPriority": 50
}
```

Capability imports:

```json
[
  {
    "from": "@lssm-tech/integration.provider-clay",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-clay/client",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-clay/errors",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-clay/hosted-mcp",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-clay/operation-bindings",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-clay/receiver",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-clay/types",
    "symbols": []
  },
  {
    "from": "@lssm-tech/integration.provider-clay/webhooks",
    "symbols": []
  }
]
```

## Catalogue metadata

```json
{
  "family": "integrations",
  "kind": "integration",
  "status": "active",
  "adoptionMode": "adoptable",
  "stability": "experimental",
  "platforms": [
    "server"
  ],
  "runtimes": [
    "node"
  ],
  "entrypoints": [
    ".",
    "./client",
    "./errors",
    "./hosted-mcp",
    "./operation-bindings",
    "./receiver",
    "./types",
    "./webhooks"
  ],
  "examples": [],
  "replacements": []
}
```

## Canonical imports

Import paths and symbols below are catalogue declarations. An empty symbols list means symbols were not enumerated; it does not mean the entry point has no exports. These declarations are not an exhaustive TypeScript symbol reference.

```json
[
  {
    "capabilityId": "package.lssm.tech.integration.provider.clay",
    "from": "@lssm-tech/integration.provider-clay",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.clay",
    "from": "@lssm-tech/integration.provider-clay/client",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.clay",
    "from": "@lssm-tech/integration.provider-clay/errors",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.clay",
    "from": "@lssm-tech/integration.provider-clay/hosted-mcp",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.clay",
    "from": "@lssm-tech/integration.provider-clay/operation-bindings",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.clay",
    "from": "@lssm-tech/integration.provider-clay/receiver",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.clay",
    "from": "@lssm-tech/integration.provider-clay/types",
    "symbols": []
  },
  {
    "capabilityId": "package.lssm.tech.integration.provider.clay",
    "from": "@lssm-tech/integration.provider-clay/webhooks",
    "symbols": []
  }
]
```

## Declared export entry points

Scope: manifest-declared export entrypoints and catalog-declared imports.

Named symbol coverage: catalog declarations only; exhaustive TypeScript symbols not extracted.

Installation status: not verified.

- `@lssm-tech/integration.provider-clay` — subpath `.`
  - `unconditional`: `./src/index.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/src/index.ts); verified source file.

- `@lssm-tech/integration.provider-clay/client` — subpath `./client`
  - `unconditional`: `./src/client.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/src/client.ts); verified source file.

- `@lssm-tech/integration.provider-clay/errors` — subpath `./errors`
  - `unconditional`: `./src/errors.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/src/errors.ts); verified source file.

- `@lssm-tech/integration.provider-clay/hosted-mcp` — subpath `./hosted-mcp`
  - `unconditional`: `./src/hosted-mcp.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/src/hosted-mcp.ts); verified source file.

- `@lssm-tech/integration.provider-clay/operation-bindings` — subpath `./operation-bindings`
  - `unconditional`: `./src/operation-bindings.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/src/operation-bindings.ts); verified source file.

- `@lssm-tech/integration.provider-clay/receiver` — subpath `./receiver`
  - `unconditional`: `./src/receiver.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/src/receiver.ts); verified source file.

- `@lssm-tech/integration.provider-clay/types` — subpath `./types`
  - `unconditional`: `./src/types.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/src/types.ts); verified source file.

- `@lssm-tech/integration.provider-clay/webhooks` — subpath `./webhooks`
  - `unconditional`: `./src/webhooks.ts` — [pinned source](https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/integrations/provider-clay/src/webhooks.ts); verified source file.

## Package publication metadata

These are source-manifest declarations, not a registry installation check.

```json
{
  "types": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md"
  ],
  "publishExports": {
    ".": {
      "types": "./dist/index.d.ts",
      "bun": "./dist/index.js",
      "node": "./dist/node/index.js",
      "default": "./dist/index.js"
    },
    "./client": {
      "types": "./dist/client.d.ts",
      "bun": "./dist/client.js",
      "node": "./dist/node/client.js",
      "default": "./dist/client.js"
    },
    "./errors": {
      "types": "./dist/errors.d.ts",
      "bun": "./dist/errors.js",
      "node": "./dist/node/errors.js",
      "default": "./dist/errors.js"
    },
    "./hosted-mcp": {
      "types": "./dist/hosted-mcp.d.ts",
      "bun": "./dist/hosted-mcp.js",
      "node": "./dist/node/hosted-mcp.js",
      "default": "./dist/hosted-mcp.js"
    },
    "./operation-bindings": {
      "types": "./dist/operation-bindings.d.ts",
      "bun": "./dist/operation-bindings.js",
      "node": "./dist/node/operation-bindings.js",
      "default": "./dist/operation-bindings.js"
    },
    "./receiver": {
      "types": "./dist/receiver.d.ts",
      "bun": "./dist/receiver.js",
      "node": "./dist/node/receiver.js",
      "default": "./dist/receiver.js"
    },
    "./types": {
      "types": "./dist/types.d.ts",
      "bun": "./dist/types.js",
      "node": "./dist/node/types.js",
      "default": "./dist/types.js"
    },
    "./webhooks": {
      "types": "./dist/webhooks.d.ts",
      "bun": "./dist/webhooks.js",
      "node": "./dist/node/webhooks.js",
      "default": "./dist/webhooks.js"
    }
  }
}
```

## Dependencies

Metadata status: complete pinned manifest.

### Runtime dependencies

- [@lssm-tech/lib.contracts-integrations](https://lssm.co/docs/packages/lib.contracts-integrations/): `workspace:^`
- [@lssm-tech/lib.contracts-spec-core](https://lssm.co/docs/packages/lib.contracts-spec-core/): `workspace:^`

### Peer dependencies

No declarations in the inspected manifest.

### Optional dependencies

No declarations in the inspected manifest.

### Development dependencies

- [@lssm-tech/lib.contracts-runtime-core](https://lssm.co/docs/packages/lib.contracts-runtime-core/): `workspace:*`
- [@lssm-tech/lib.contracts-runtime-server-mcp](https://lssm.co/docs/packages/lib.contracts-runtime-server-mcp/): `workspace:*`
- [@lssm-tech/lib.contracts-runtime-server-rest](https://lssm.co/docs/packages/lib.contracts-runtime-server-rest/): `workspace:*`
- [@lssm-tech/tool.bun](https://lssm.co/docs/packages/tool.bun/): `workspace:*`
- [@lssm-tech/tool.typescript](https://lssm.co/docs/packages/tool.typescript/): `workspace:*`
- `@types/bun`: `catalog:types`
- `typescript`: `catalog:`

### Peer dependency metadata

```json
{}
```

### Bundled dependencies

```json
null
```

## Package scripts

Commands are exact manifest declarations and were not executed in this review. Script metadata status: complete pinned manifest.

```json
{
  "build": "contractspec-bun-build build",
  "build:bundle": "contractspec-bun-build transpile",
  "build:types": "contractspec-bun-build types",
  "clean": "rimraf dist .turbo",
  "lint:check": "node ../../../scripts/biome.cjs check .",
  "lint:fix": "node ../../../scripts/biome.cjs check --write .",
  "test": "bun test",
  "prebuild": "contractspec-bun-build prebuild",
  "typecheck": "tsgo --noEmit"
}
```

## Declared documentation links

- [Integration Provider Clay documentation](https://www.npmjs.com/package/%40lssm-tech%2Fintegration.provider-clay) — declared link; destination not verified.

```json
{
  "url": "https://www.npmjs.com/package/%40lssm-tech%2Fintegration.provider-clay",
  "kind": "readme"
}
```

## Existing agent-guide projection

```json
{
  "path": "packages/apps/web-landing/public/llms-packages/integration.provider-clay.txt",
  "route": "/llms/integration.provider-clay",
  "sourceUrl": "https://github.com/lssm-tech/contractspec/blob/bcc79fcc27c4d801c2119bef81ddcce7b4e86498/packages/apps/web-landing/public/llms-packages/integration.provider-clay.txt",
  "blobSha": "1d499c00c31792acb4807b3e796fc2ad158ee2e9",
  "sourcePin": "bcc79fcc27c4d801c2119bef81ddcce7b4e86498",
  "bodyEqualsReadme": true,
  "aggregateSourcePath": "packages/apps/web-landing/public/llms-full.txt",
  "aggregateBlobSha": "691b1d33efee24c440598b9106c81432f56aafaf"
}
```
