Skip to content
ContractSpec
Start here

Package manual · integrations

·Integrations and provider selection

integration.provider-attio

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

integrationsintegrationv2.0.5experimentalservernode
@lssm-tech/integration.provider-attio
bun add @lssm-tech/integration.provider-attio
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Injected, secret-reference-based access to Attio's documented REST API, plus raw-body webhook verification/normalization and metadata for Attio's official hosted MCP server.

AttioClient.request() intentionally supports every documented public endpoint without making upstream URLs part of ContractSpec's stable operation-key surface. page() and paginate() normalize cursor pagination. The package does not proxy hosted MCP sessions or expose OAuth tokens.

bindAttioOperations(registry, client) binds every declared crm.attio.* operation to the injected client. The binding table is exported for coverage checks, while upstream paths remain provider-internal rather than public ContractSpec keys.

ts
const attio = new AttioClient({
  secretReference: "vault://attio/workspace-token",
  secretProvider,
  fetch,
});

const records = attio.paginate({
  method: "POST",
  path: "/objects/people/records/query",
  body: { limit: 100 },
});

Relationships

THIS PACKAGEintegration.provider-attio9 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

2 declarations

Declared capabilities

Integration Provider Attio

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

Scripts

  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • cleanrimraf dist .turbo
  • lint:checknode ../../../scripts/biome.cjs check .
  • lint:fixnode ../../../scripts/biome.cjs check --write .
  • testbun test
  • prebuildcontractspec-bun-build prebuild
  • typechecktsgo --noEmit