> **Can't find what you're looking for?** Use `search_docs` on the docs MCP server at `https://ensforge.com/api/mcp` to find what you need.

# createHcaRemoteHandler

Create an authenticated server boundary for saved session registrations.

## Import

```ts
import { createHcaRemoteHandler } from "@ensforge/hca/remote";
```

## Usage

```ts
const handle = createHcaRemoteHandler({ authenticate, resolveConfig, authorize, resolveExecution });
```

## Parameters

```ts
options: HcaRemoteHandlerOptions<Authentication, Principal>;
```

The host supplies all four callbacks. Signer resolution occurs after authentication and operation authorization. Requests accept only `action` and `id`; sessions and signer references come from saved server state. See [Remote Registration](/hca/remote).

## Return Type

A handler accepting request, authentication context and optional abort signal, returning `Promise<string>` with redacted bigint-safe JSON.

## Error

Invalid identity, configuration and unsupported authorization remain explicit errors. Provider transport
and simulation failures must be reconciled before repeating a submission.

## Related

* [Guides](/hca/getting-started)
* [Compatibility](/hca/compatibility)
