Serveur MCP

Computer-Use Agents API

io.github.hcompai/hai-agents
IA et agents Outils développeur Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Runs and manages computer-use agents in browser sessions, including messaging, file access, session polling, cancellation, and sharing.

cancel_session
Cancel a session; a no-op if it does not exist or already finished.
Schéma d’entrée
{'type': 'object', 'required': ['session_id'], 'properties': {'session_id': {'type': 'string'}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': {'type': 'string'}}
list_agents
List agents the caller can run: their org's agents plus the public ``h/`` ones.
Schéma d’entrée
{'type': 'object', 'properties': {'page': {'type': 'integer', 'default': 1}, 'size': {'type': 'integer', 'default': 20}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': True}
list_files
List files on a browser session's machine (e.g. downloads), newest first. ``session_id`` is the browser session id issued by env-manager when the session was created, not the id ``run_agent`` returns. When a listing is truncated, page on the last entry's modified_at (ISO-8601) and name, passed as modified_before and name_after. Send both: modification times are not unique, and a timestamp alone skips the rest of a tied group.
Schéma d’entrée
{'type': 'object', 'required': ['session_id'], 'properties': {'path': {'type': 'string', 'default': '~/Downloads'}, 'name_after': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None}, 'session_id': {'type': 'string'}, 'max_entries': {'type': 'integer', 'default': 500}, 'modified_before': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': True}
read_file
Read a file from a browser session's machine; returns base64 content and metadata. ``session_id`` is the browser session id issued by env-manager when the session was created, not the id ``run_agent`` returns.
Schéma d’entrée
{'type': 'object', 'required': ['session_id', 'path'], 'properties': {'path': {'type': 'string'}, 'session_id': {'type': 'string'}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': True}
run_agent
Start an agent on a task; return the answer or a session handle to wait on. ``agent`` from list_agents.
Schéma d’entrée
{'type': 'object', 'required': ['task', 'agent'], 'properties': {'task': {'type': 'string'}, 'agent': {'type': 'string'}, 'max_steps': {'anyOf': [{'type': 'integer'}, {'type': 'null'}], 'default': None}, 'max_time_s': {'anyOf': [{'type': 'number'}, {'type': 'null'}], 'default': None}, 'idempotency_key': {'anyOf': [{'type': 'string'}, {'type': 'null'}], 'default': None}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': True}
send_message
Send a follow-up message to a running session.
Schéma d’entrée
{'type': 'object', 'required': ['session_id', 'message'], 'properties': {'message': {'type': 'string'}, 'session_id': {'type': 'string'}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': {'type': 'string'}}
share_session
Make a session publicly readable and return its absolute share URL.
Schéma d’entrée
{'type': 'object', 'required': ['session_id'], 'properties': {'session_id': {'type': 'string'}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': {'type': 'string'}}
wait_for_session
Poll a session: with ``wait`` long-poll for the answer, else return the current snapshot.
Schéma d’entrée
{'type': 'object', 'required': ['session_id'], 'properties': {'wait': {'type': 'boolean', 'default': True}, 'session_id': {'type': 'string'}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': True}
write_file
Write base64-encoded content to a file on a browser session's machine. ``session_id`` is the browser session id issued by env-manager when the session was created, not the id ``run_agent`` returns.
Schéma d’entrée
{'type': 'object', 'required': ['session_id', 'path', 'content_base64'], 'properties': {'path': {'type': 'string'}, 'session_id': {'type': 'string'}, 'content_base64': {'type': 'string'}}}
Schéma de sortie
{'type': 'object', 'additionalProperties': True}
Ajouté
write_file
17 September 2026 12:42
Ajouté
read_file
17 September 2026 12:42
Ajouté
list_files
17 September 2026 12:42
Ajouté
share_session
17 September 2026 12:42
Ajouté
cancel_session
17 September 2026 12:42
Ajouté
send_message
17 September 2026 12:42
Ajouté
list_agents
17 September 2026 12:42
Ajouté
wait_for_session
17 September 2026 12:42
Ajouté
run_agent
17 September 2026 12:42