agent-q
v0.2.2Local MCP server for requesting signatures from Agent-Q Firmware.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
scan_devices Scan devices
Find USB-connected Agent-Q Firmware devices by writing a status handshake to candidate USB serial ports, and report sanitized candidate failure reasons.
identify_devices Identify devices
Ask discovered Agent-Q Firmware devices to display short identification codes. Writes a status handshake to candidate USB serial ports before sending the identify request.
select_device Select device
Set a previously discovered Agent-Q Firmware device as the default active device, or as the active device for a named routing purpose. 'purpose' is local Agent-Q process routing metadata, not security policy. Updates local Agent-Q process state only; does not contact Firmware.
| Parameter | Type | Description |
|---|---|---|
deviceId * | string | |
purpose | string |
get_device_status Get device status
Read live or cached status for a known Agent-Q Firmware device by writing a status handshake to candidate USB serial ports. Resolves the device by deviceId, by purpose, or by the default active device.
| Parameter | Type | Description |
|---|---|---|
deviceId | string | |
purpose | string |
list_devices List devices
List Agent-Q Firmware devices known to Agent-Q, including local label, purpose routing assignments, and any in-memory connection session metadata. Reads from local Agent-Q process state only; does not contact Firmware.
set_device_metadata Set device metadata
Set local metadata for a known Agent-Q Firmware device. 'label' is human-readable local metadata, not a security boundary and not device authority. Pass null to clear the label. Updates local Agent-Q process state only; does not contact Firmware.
| Parameter | Type | Description |
|---|---|---|
deviceId * | string | |
label * |
connect_device Connect device
Open a communication session with a known Agent-Q Firmware device. Resolves the target device by deviceId, by purpose, or by the default active device. Sends a connect request that requires Firmware-owned device-local approval. Writes a status handshake to candidate USB serial ports while locating the device. Connect is not signing approval and does not authorize signing. Session is held in Agent-Q process memory only.
| Parameter | Type | Description |
|---|---|---|
clientName | string | |
deviceId | string | |
purpose | string |
disconnect_device Disconnect device
End a previously approved Agent-Q Firmware session. Resolves the target device by deviceId, by purpose, or by the default active device. Returns 'not_connected' without contacting Firmware when there is no Agent-Q runtime session. Writes a status handshake to candidate USB serial ports when locating the device. Disconnect does not require physical approval.
| Parameter | Type | Description |
|---|---|---|
deviceId | string | |
purpose | string |
get_capabilities Get capabilities
Read Firmware-authored supported chains, public account schemes, and supported signing methods over an approved session. Resolves the target device by deviceId, by purpose, or by the default active device. Requires a prior connect_device approval; returns 'not_connected' without contacting Firmware when there is no Agent-Q runtime session. signing.authorization is Firmware-authored read-only state and is not a request option.
| Parameter | Type | Description |
|---|---|---|
deviceId | string | |
purpose | string |
get_accounts Get accounts
List the public accounts (chain, address, public key) held by a provisioned Agent-Q Firmware device over an approved session. Resolves the target device by deviceId, by purpose, or by the default active device. Requires a prior connect_device approval; returns 'not_connected' without contacting Firmware when there is no Agent-Q runtime session. Read-only: no signing, no private material, and no session id is ever returned.
| Parameter | Type | Description |
|---|---|---|
deviceId | string | |
purpose | string |
policy_get Get policy
Read the Firmware-owned active policy document over an approved session. Resolves the target device by deviceId, by purpose, or by the default active device. Requires a prior connect_device approval; returns 'not_connected' without contacting Firmware when there is no Agent-Q runtime session. Read-only: no policy update, no signing, no private material, and no session id is ever returned.
| Parameter | Type | Description |
|---|---|---|
deviceId | string | |
purpose | string |
get_approval_history Get approval history
Read a bounded page of Firmware-owned approval history over an approved session. This is not on-chain history and is read-only: no raw requests, session ids, private material, PINs, client names, or full policy documents are returned.
| Parameter | Type | Description |
|---|---|---|
beforeSeq | string | |
deviceId | string | |
limit | integer | |
purpose | string |
sign_transaction Sign transaction
Request a Firmware-owned transaction signature over an approved session. Agent-Q and MCP do not store keys, choose authorization, or make signing decisions; Firmware uses its local signing authorization mode to select policy authorization or user confirmation and returns signing outcome.
| Parameter | Type | Description |
|---|---|---|
chain * | string | |
method * | string | |
network * | string | Network identifier for the selected chain and method. Current executable Sui signing accepts mainnet, testnet, devnet, or localnet; Client Core and Firmware validate the value. |
txBytes * | string | |
deviceId | string | |
purpose | string |
sign_personal_message Sign personal message
Request a Firmware-owned Sui personal-message signature over an approved session. Agent-Q and MCP do not store keys, choose authorization, or make signing decisions. The current Firmware implementation signs this method only in user-confirmed authorization mode; policy authorization mode fails closed.
| Parameter | Type | Description |
|---|---|---|
chain * | string | |
message * | string | |
method * | string | |
network * | string | Network identifier for the selected chain and method. Current executable Sui signing accepts mainnet, testnet, devnet, or localnet; Client Core and Firmware validate the value. |
deviceId | string | |
purpose | string |
policy_propose Propose policy update
Submit a bounded current-schema active-policy proposal to Agent-Q Firmware. Firmware validates the proposal, shows a device-local policy summary review, starts local PIN approval only after device-local Continue, and returns the terminal policy proposal outcome. This is a request path only: Agent-Q and MCP do not store, apply, or decide policy.
| Parameter | Type | Description |
|---|---|---|
policy * | object | |
deviceId | string | |
purpose | string |