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

Query 1C:Enterprise databases via REST API endpoints using curl.

224|52|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/ROCTUP/1c-mcp-toolkit --skill calling-1c-rest-api-via-curl
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/ROCTUP/1c-mcp-toolkit/tree/main/skills/calling-1c-rest-api-via-curl
Command: npx skills add https://github.com/ROCTUP/1c-mcp-toolkit --skill calling-1c-rest-api-via-curl

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables interaction with a 1C:Enterprise database through its REST API using the curl command-line tool, allowing for data querying, metadata exploration, and code execution without needing to understand the MCP protocol.

Core Features & Use Cases

  • Data Querying: Execute 1C query language statements to retrieve data.
  • Metadata Exploration: Discover database structure, object details, and access rights.
  • Code Execution: Run arbitrary 1C code for specific tasks.
  • Object Interaction: Retrieve, link, and find references to 1C objects.
  • Event Log Analysis: Read and filter system event logs.
  • Use Case: An AI agent needs to check the current stock level of a specific item in a 1C database. It can use curl to call the execute_query endpoint with a 1C query to fetch the data.

Quick Start

Use the calling-1c-rest-api-via-curl skill to execute a query for the first 5 items in the 'Справочник.Номенклатура' catalog.

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 database using curl?

You can query data from a 1C database using curl by calling the execute_query endpoint with a 1C query language statement. This allows you to retrieve specific data without needing to understand the MCP protocol.

Can I execute arbitrary 1C code remotely via a REST API?

Yes, you can execute arbitrary 1C code remotely by sending a curl request to the available REST API endpoints. This enables specific task automation and remote code execution within the 1C:Enterprise database.

What's the best way to explore 1C metadata and object details from the command line?

The best way to explore 1C metadata from the command line is using curl to call dedicated REST API endpoints. These endpoints allow you to discover database structure, retrieve object details, and check access rights.

How do I find object references and read event logs in 1C:Enterprise?

You can find object references and read event logs in 1C:Enterprise by using curl to access specific REST API endpoints. These endpoints support filtering system event logs and retrieving links to 1C objects.

Does this 1C REST API approach support multi-database routing?

Yes, the 1C REST API approach supports multi-database routing through channel isolation. This feature allows you to direct your curl requests across multiple 1C databases seamlessly.

Why use curl instead of MCP protocol to interact with a 1C database?

Using curl instead of the MCP protocol simplifies interaction with a 1C database by leveraging standard command-line HTTP requests. This removes the need to understand MCP while still enabling data querying, metadata exploration, and code execution.