integration.provider-attio
Attio API, webhook, and hosted MCP integration for ContractSpec.
@lssm-tech/integration.provider-attiobun add @lssm-tech/integration.provider-attioManifest 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.
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
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
2 declarations
@lssm-tech/lib.contracts-integrationsworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-runtime-coreworkspace:^
Read the package manual ↗
Declared capabilities
Attio API, webhook, and hosted MCP integration for ContractSpec.
Scripts
buildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typescleanrimraf dist .turbolint:checknode ../../../scripts/biome.cjs check .lint:fixnode ../../../scripts/biome.cjs check --write .testbun testprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit