Answer42
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DISPLAY | No | On Linux, an existing X11 display. If unset, the server will attempt to start its own Xvfb instances; Xvfb must be installed in that case. | |
| XAUTHORITY | No | On Linux, path to the X authority file when DISPLAY is set by a desktop service or SSH session. | |
| ONEC_MCP_HTTP | No | Set to '1' to enable StreamableHTTP transport instead of stdio. Example: ONEC_MCP_HTTP=1 | |
| ONEC_PLATFORM_DIR | No | Explicit path to the 1C platform directory. Overrides autodetection in standard installation locations. | |
| ONEC_MCP_HTTP_HOST | No | Host interface for the HTTP server, e.g. 0.0.0.0. Used when ONEC_MCP_HTTP is enabled. | |
| ONEC_MCP_HTTP_PORT | No | TCP port for the HTTP server, e.g. 8080. Used when ONEC_MCP_HTTP is enabled. | |
| ONEC_MCP_ACCOUNT_ID | No | Namespace for credentials. If not set, derived as a stable hash of the token (token-<16hex>). | |
| ONEC_MCP_HTTP_TOKEN | No | Static bearer token required for HTTP mode. Each MCP request must include Authorization: Bearer <token>. | |
| ONEC_MCP_HTTP_STATELESS | No | Default is 1 (stateless). Set to 0 to enable resumable sessions in HTTP mode. | 1 |
| ONEC_MCP_CREDENTIALS_FILE | No | Path to the JSON file containing account credentials. If not set, the server reads ~/.answer42-credentials.json. | ~/.answer42-credentials.json |
| ONEC_MCP_SCREENSHOT_URL_BASE | No | Public base URL for reverse proxy when serving screenshot links in HTTP mode. | |
| ONEC_MCP_TEST_CLIENT_READY_TIMEOUT | No | Timeout in seconds to wait for the 1C test client to open the -TPort. Default is 55 seconds. | 55 |
| ONEC_MCP_SCREENSHOT_URL_TTL_SECONDS | No | Lifetime of one-time screenshot URLs in HTTP mode (seconds). Default is 3600 (one hour). | 3600 |
| ONEC_MCP_UI_TREE_RESOURCE_AUTO_THRESHOLD_TOKENS | No | Estimated token count above which ui_tree results are automatically stored as resources instead of being returned inline. | 50000 |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| rag_source_addC | Register/update a 1C source tree; format is detected automatically when format=auto. |
| rag_sources_add_from_directoryC | Discover/register 1C configuration and extension source directories under a root directory. |
| rag_source_roots_listC | List RAG source discovery roots and optionally sync newly added configurations/extensions. |
| rag_available_configurationsB | List RAG-available configurations, extensions, snapshots and discovery roots. |
| rag_session_autoconfigureA | Auto-configure the session RAG snapshot from the live 1C configuration and installed extensions. The tool reads the live main configuration/version from When no exact/suitable source exists and |
| rag_sources_listC | List registered 1C source trees. |
| rag_snapshot_createC | Create/update an effective configuration snapshot from base + extensions. |
| rag_snapshots_listC | List effective RAG snapshots and their layers. |
| rag_index_buildC | Build/rebuild the SQLite/FTS RAG index for a source or snapshot. |
| rag_lookup_objectA | Look up an indexed 1C metadata object, including navigation, fields and forms. RAG describes configuration source metadata, not live infobase data,
access rights, user settings, or a report result. Inspect |
| rag_queryA | Search business terms and full-text RAG chunks in the local SQLite index. Use RAG to discover metadata names, fields, forms, and base/extension
layers; it is not evidence of current live data, permissions, or report
output. Inspect |
| sessions_listA | List active/restorable Answer42 sessions and their connection state. |
| session_statusC | Return bridge, runtime, test-client and RAG state for a session. |
| start_sessionA | One-shot session factory: detect version, start infrastructure, and connect the 1C test client.
|
| stop_sessionB | Tear down a session: disconnect test-client, stop test-manager, ibsrv, Xvfb and bridge. |
| export_eventlogC | Export the 1C event log. |
| credentials_checkB | Check whether credentials exist for a base URL or saved title without returning secrets. |
| credentials_saveA | Save or update credentials for a URL pattern in the local credentials store. The credentials file is never committed to git. Use this tool to persist
login/password pairs so that |
| credentials_removeA | Remove a credential entry from the local store by exact URL match. |
| credentials_listA | List configured credential URL patterns/titles (no usernames or passwords). |
| credentials_titlesA | List saved credential titles/aliases that can be used as start_session base_url. |
| active_windowC | Return active 1C test client window state. |
| windows_listC | Return all windows of the tested 1C client application. |
| activate_windowB | Activate/switch to a tested 1C client window by index, title or name. |
| goto_start_pageC | Navigate the main test-client window to the start page. |
| goto_previous_windowC | Navigate the main test-client window to the previous open window. |
| goto_next_windowB | Navigate the main test-client window to the next open window. |
| wait_objectC | Wait until an object appears in the tested client UI tree. |
| wait_formC | Wait until a form appears. |
| wait_windowC | Wait until a client window appears. |
| user_messagesB | Return current user messages shown in the active test-client window. |
| close_user_messages_panelB | Close the user messages panel in the active test-client window. |
| current_error_infoC | Return current 1C script error information displayed in the tested client, if any. |
| client_busy_statusC | Check whether the 1C test client/bridge is responsive and whether a dangerous action is blocking the interface. |
| wait_client_idleB | Wait until the 1C test client/bridge becomes responsive after a long or blocking UI action. |
| set_file_dialog_resultC | Preload the result for the next 1C file selection dialog. |
| clear_file_dialog_resultC | Clear queued file selection dialog results. |
| field_infoB | Return diagnostics for a form field: visibility, availability, readonly, kind, title. |
| field_value_textC | Return field data presentation text via ПолучитьПредставлениеДанных(). |
| field_tooltipC | Return field tooltip text. |
| field_dropdown_itemsA | Open a form field dropdown and return visible choice items when exposed by the 1C test-client API. This is a convenience action for the common "open dropdown and read choices" scenario. For non-mutating diagnostics of an already-open dropdown use field_dropdown_state. |
| form_next_elementA | Move focus to the next form element and return the current element. |
| form_previous_elementC | Move focus to the previous form element and return the current element. |
| form_stateC | Return active form availability/modified/readonly state. |
| form_default_buttonC | Return the active form default button, when available. |
| wait_form_closedC | Wait until the active form closes. |
| object_command_panelB | Return command panel for a found UI object, when supported. |
| object_context_menuC | Return context menu for a found UI object, when supported. |
| window_command_interfaceC | Return active window command interface, when supported. |
| command_interface_sectionsC | Return top-level sections of the active window command interface. |
| command_interface_commandsB | Return command-interface command tree and flattened command list, optionally filtered by section. |
| command_interface_searchC | Search live command-interface commands by title, path or navigation URL. |
| group_expandC | Expand a collapsible form group. |
| group_collapseC | Collapse a collapsible form group. |
| group_current_pageC | Return current page of a page-group form element. |
| group_activate_pageC | Activate/switch to another page in a page-group form element. |
| group_stateC | Return form group expanded/visible/available state. |
| decoration_linksC | Return hyperlink presentations from a formatted-string decoration. |
| decoration_click_linkC | Click a hyperlink inside a formatted-string decoration. |
| decoration_clickD | Click a form decoration. |
| ui_treeA | Return a serialized snapshot of the active 1C UI tree. Default profile is
When
|
| ui_tree_resource_searchA | Search a saved ui_tree resource without loading the full tree into context. Use after |
| ui_tree_resource_get_nodeB | Return one node from a saved ui_tree resource by |
| ui_tree_resource_childrenB | Return a small subtree from a saved ui_tree resource. Prefer this over MCP resource reads when the full snapshot is large. Set
|
| ui_tree_diffB | Compare two saved ui_tree snapshots and return compact added/removed/changed node samples. |
| ui_tree_resource_actionB | Run a safe first-class UI action using a node selected from a saved ui_tree snapshot. The snapshot is only used to extract stable name/title/type hints; the actual action is executed against the current live 1C UI via existing tools. Refresh the snapshot after large UI changes before relying on old selectors. |
| command_barA | Low-level diagnostic: return active window/form command-bar data when available. Prefer command_interface_sections/commands/search for application navigation commands, and object_command_panel/object_context_menu for commands of a specific UI object. |
| click_buttonC | Find a button in the active UI tree and press it. |
| find_objectC | Find an object in the active UI hierarchy by name, title, or test object type. |
| search_objectsC | Find all UI objects matching name, title and/or 1C test object type. |
| get_objectA | Low-level escape hatch: call TestedApplication.GetObject with optional wildcard name/title. Prefer find_object/search_objects for structured diagnostics and focus_object for changing focus. Keep this tool for platform/test-client edge cases where direct GetObject semantics matter. |
| focus_objectA | Move focus to a UI object in the active test client window. This tool only changes focus/activation; it does not change values. For radio buttons and dropdowns use set_field_value with the visible caption. To switch to an inactive page, focus the page object first, then interact with its children. |
| convert_1c_guid_navigation_linkA | Convert 1C object reference GUIDs to e1cib/data navigation links and back. The pure 1C algorithm is the same as used by platform navigation refs:
|
| open_navigation_linkA | Open an explicit 1C navigation link in the active test-client window. This tool intentionally rejects arbitrary form command names such as
|
| current_elementC | Return the current active form element. |
| field_dropdown_stateC | Return whether a field dropdown is open and its visible choice items. |
| field_dropdown_closeB | Close an open dropdown for a form field, if it is open. |
| table_current_rowC | Return current row of a tested table as key/value text mapping. |
| table_selected_rowsC | Return selected rows of a tested table as key/value text mappings. |
| table_cell_textC | Return cell text from a tested table via GetCellText(). |
| tabular_documentsB | List tabular document fields with dimensions; optionally include a cells range. include_text is intended for small/partial ranges. For large tabular documents, save/export the report to a file and analyze that file instead. |
| tabular_document_textA | Return dimensions and a cells range of a tabular document field in the active window. Use this for small tables or partial reads (headers, totals, spot checks). For large reports/tabular documents, prefer tabular_document_save/report export and analyze the saved PDF/XLSX/TXT/HTML file instead of reading UI cells one by one. |
| tabular_document_saveA | Save a tabular document field to a file in the selected format. Prefer this export to reading a large report cell by cell. Confirm the
returned |
| tabular_document_state_displayC | Return the state display of a tabular document field, when exposed by 1C. |
| toggle_fieldC | Set a checkbox-like field using the 1C test client API. |
| set_field_valueC | Set a value in a form field by name or title. |
| activate_fieldC | Activate/focus a form field by name or title. |
| choose_field_from_listC | Open the standard selection form for a reference field. |
| choose_field_first_rowC | Open reference selection form and press its standard Choose button. |
| choose_current_rowC | Choose the current row in the active selection/list form. |
| table_rowsC | Return rows of a tested table as key/value mappings. |
| _metadata_objects_from_catalog_implD | – |
| metadata_objects_from_catalogA | Return/search metadata objects from The first call opens the standard Universal report for the metadata-identifiers
catalog, reads a normalized snapshot with metadata names/synonyms, excludes
deleted rows plus roles/subsystems, and stores the result in an in-memory
per-session cache. Later calls search that cache unless |
| metadata_objects_catalog_cache_clearB | Clear cached metadata objects for the current session. |
| configuration_name_version_from_subsystemsC | Open the 'Subsystem versions' information register and return the main configuration name/version. The tool reads |
| installed_extensions_from_catalogB | Open The tool reads catalog rows, ignores rows marked for deletion, takes the latest
row by last-use date/code and parses |
| table_find_rowC | Find a tested table row containing text. |
| table_goto_rowC | Move cursor to the Nth tested table row containing text. |
| table_move_rowD | Move current row using official test-client table navigation methods. |
| table_add_rowC | Add a row to the active tested table via the 1C test-client API (Insert / plus). |
| table_set_fieldA | Set a field in the currently edited row of a form table. Finds the editor field for the column (e.g. ТоварыНоменклатура), activates it, delegates to the general set_field_value logic, ends row editing, and verifies the value in the current table row. |
| table_set_row_valuesC | Set multiple fields in the current row of a form table and verify each value. |
| set_form_fieldsC | Set multiple ordinary form fields using the same logic as set_field_value. |
| table_choose_field_from_listC | Open the selection form for a reference field in a form table row. |
| table_edit_infoC | Return diagnostics for currently edited table row and its child fields. |
| table_select_allC | Select all rows in a form table. |
| table_clear_selectionC | Clear all row selection in a form table. |
| table_delete_rowC | Delete the current row in a form table. |
| table_copy_rowC | Copy the current row in a form table. |
| table_toggle_delete_markC | Toggle the delete mark on the current row. |
| table_begin_editB | Begin editing the current row in a form table. |
| table_end_editC | End editing the current row in a form table. |
| table_editing_stateC | Return whether a form table is currently in edit mode. |
| dynamic_list_metadata_available_fieldsA | Return RAG/metadata-known fields for a metadata object; this does not inspect the live UI settings form. |
| dynamic_list_settings_available_fieldsA | Open the dynamic-list settings form, switch to the requested section tab, and read the 'Доступные поля' table. Returns the live list of fields available for filtering/ordering/conditional-formatting/grouping in the current dynamic list. This is the authoritative source — it reflects the actual form, not RAG metadata. |
| dynamic_list_set_settingsA | Open the dynamic-list settings form and add filter/order elements through the standard dialog. Filters: [{field, value, comparison?}] — comparison defaults to 'Равно'. Orders: [{field, direction?}] — direction defaults to empty (uses dialog default). This is the preferred way to apply settings; it uses the same dialog the user sees.
Keep |
| dynamic_list_current_settingsA | Open the dynamic-list settings form and read currently configured filter/order/etc. items. This reads the selected section's configured elements table, not the 'Доступные поля' table. Use dynamic_list_settings_available_fields when you need fields that can be added. Read current settings before changing them; do not clear or replace existing filters/orders unless the requested scenario explicitly requires it. |
| dynamic_list_sort_by_columnA | Quickly sort the active dynamic list by a visible column title via the 1C test-client API УстановитьПорядок; this is not the settings-form Sort tab. |
| dynamic_list_outputC | Press dynamic list 'Вывести список' button and return detected tabular document(s), optionally including text. |
| dynamic_list_open_settingsC | Open dynamic-list settings (filter/order/conditional formatting/grouping) via 'Настроить список'. |
| dynamic_list_findC | Search a dynamic list through context menu 'Расширенный поиск' and the standard modal 'Найти' dialog. |
| dynamic_list_clear_settingsC | Quickly reset/clear dynamic-list filter/order/conditional formatting/grouping settings. |
| form_open_settingsC | Open the current form customization dialog via 'Изменить форму'. |
| save_formC | Save/write the active form. |
| close_formC | Close the active form. |
| recording_startB | Start automatic evidence recording: each recorded tool call gets screenshot + annotated slide. |
| recording_captureC | Manually capture a screenshot/slide in the active recording session. |
| recording_stopA | Stop recording and build PDF evidence from captured slides. |
| screenshotA | Capture a screenshot from the MCP host. Defaults to the active visible 1C window. The response always contains the saved path, never image base64. In
StreamableHTTP mode it additionally contains an opaque download URL that
expires after one hour by default ( |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| universal_report_workflow | Встроенный workflow формирования, проверки и экспорта стандартного Универсального отчета через Answer42. |
| event_log_workflow | Встроенный workflow просмотра, фильтрации, проверки и безопасной выгрузки Журнала регистрации 1С. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 129 tools
Many tools have overlapping purposes: field_dropdown_close vs field_dropdown_state vs field_dropdown_items, table_* tools are numerous and similar, and ui_tree_resource_* tools plus ui_tree itself create ambiguity. The descriptions help somewhat, but an agent could easily pick the wrong tool among the many table, field, and dynamic_list variants.
Most tools follow a verb_noun pattern (e.g., save_form, close_form, table_add_row, dynamic_list_find), but there are inconsistencies: some use noun_verb (rag_source_add, field_dropdown_close), some are vague (process, run, execute, do_thing), and one tool has a leading underscore (_metadata_objects_from_catalog_impl). The mixed conventions reduce predictability.
129 tools is far beyond the typical well-scoped MCP server. Even for a complex 1C testing platform, this is an extreme number that will overwhelm agents and make selection difficult. The count alone indicates poor coherence.
The tool surface is extremely comprehensive for the 1C testing domain: it covers session management, RAG indexing, UI navigation, form/table operations, dynamic lists, tabular documents, credentials, recording, and diagnostics. There are minor gaps (e.g., no explicit tool for editing tabular document cells, no direct report export beyond tabular_document_save), but the domain is thoroughly covered.