calling-1c-rest-api-via-curl

Automate 1C MCP Toolkit REST API interactions using curl.

1|Updated Sep 20, 2025
One-click install
npx skills add https://github.com/Alex1980Alex/1C-Enterprise_Framework --skill calling-1c-rest-api-via-curl-alex1980alex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: calling-1c-rest-api-via-curl
Source: https://github.com/Alex1980Alex/1C-Enterprise_Framework/tree/main/tools/1c-mcp-toolkit/1c-mcp-toolkit-main/skills/calling-1c-rest-api-via-curl
Command: npx skills add https://github.com/Alex1980Alex/1C-Enterprise_Framework --skill calling-1c-rest-api-via-curl-alex1980alex

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables automated interaction with a 1C:Enterprise database through the MCP Toolkit REST API using curl, enabling programmatic access to 1C data and operations.

Core Features & Use Cases

  • Provides 8 REST endpoints under /api/ for querying data (execute_query), exploring metadata (get_metadata), reading event logs (get_event_log), checking access rights (get_access_rights), finding references to objects (find_references_to_object), navigating objects by link (get_object_by_link, get_link_of_object), and executing 1C code (execute_code).
  • Supports channel isolation for multi-database routing and consistent object descriptions across tools, enabling seamless automation and integration in AI-driven workflows.
  • Use cases include data retrieval, schema exploration, auditing, and automated integration tasks across multiple 1C databases.

Quick Start

Invoke the REST endpoints with curl to issue queries, metadata lookups, event log reads, rights checks, reference searches, and code execution against a 1C database.

Frequently Asked Questions about calling-1c-rest-api-via-curl

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I query data from a 1C:Enterprise database using curl?

You query 1C:Enterprise data using curl by sending HTTP requests to the execute_query REST endpoint provided by the 1C MCP Toolkit. This enables automated data retrieval directly through command-line interactions.

Can I read event logs and check access rights in 1C via REST API?

Yes, you can read event logs and check access rights in 1C via REST API. By targeting the get_event_log and get_access_rights endpoints with curl, you can automate auditing and validate user permissions across databases.

What is the best way to explore metadata in a 1C database?

The best way to explore metadata in a 1C database is by using the get_metadata REST endpoint. This endpoint enables programmatic schema exploration by returning standardized object descriptions through curl requests.

How do I execute 1C code and resolve object references across multiple databases?

You can execute 1C code and resolve object references across multiple databases using the execute_code and find_references_to_object endpoints. The API supports channel isolation for multi-database routing to manage these operations seamlessly.

Does this REST API approach support navigating objects by link in 1C?

Yes, this REST API approach supports navigating 1C objects by link. It implements the get_object_by_link and get_link_of_object endpoints to retrieve and resolve standardized object descriptions via curl.

What are the limitations of using curl for 1C REST API automation?

A limitation of using curl for 1C REST API automation is that it requires manual endpoint configuration for each operation. Users must construct standardized curl commands for all 8 endpoints and manage channel routing manually.