@theyahia/1c-rest-mcp

@theyahia/1c-rest-mcp

MCP-сервер для REST API 1С:Предприятие через OData 3.0 -- справочники, документы, регистры, отчёты.

Category
Visit Server

README

@theyahia/1c-rest-mcp

MCP-сервер для REST API 1С:Предприятие через OData 3.0 -- справочники, документы, регистры, отчёты.

Инструменты (9)

Инструмент Описание
list_entities Получить список доступных сущностей OData (справочники, документы, регистры)
get_document_by_number Найти документ по номеру и типу (например, СчётФактура №УТ-001)
get_catalogs Чтение справочников через OData ($filter, $select, $orderby, $top, $skip)
get_documents Чтение документов через OData с фильтрацией
create_document Создание документа (POST)
update_document Обновление документа (PATCH по Ref_Key)
get_register Чтение регистров сведений и накопления
get_report Получение отчёта по произвольному URL HTTP-сервиса
odata_query Произвольный OData-запрос с $expand, $inlinecount

Skills

Skill Описание
skill-catalog Быстрый поиск по справочнику (обёртка над get_catalogs)
skill-documents Запрос документов по типу и датам (обёртка над get_documents)

Настройка (stdio)

{
  "mcpServers": {
    "1c": {
      "command": "npx",
      "args": ["-y", "@theyahia/1c-rest-mcp"],
      "env": {
        "ONEC_BASE_URL": "http://server:8080/base",
        "ONEC_LOGIN": "логин",
        "ONEC_PASSWORD": "пароль"
      }
    }
  }
}

Фильтрация модулей (ONEC_SERVICES)

Чтобы ограничить набор инструментов (например, для экономии контекста LLM):

ONEC_SERVICES=catalogs,documents npx @theyahia/1c-rest-mcp

Доступные модули: catalogs, documents, registers, reports, odata, meta. По умолчанию (all) — все инструменты активны. Инструменты list_entities и get_document_by_number доступны всегда.

Streamable HTTP

ONEC_BASE_URL=http://server:8080/base \
ONEC_LOGIN=admin \
ONEC_PASSWORD=secret \
npx @theyahia/1c-rest-mcp-http
# или: node dist/http.js
# Слушает POST /mcp, GET /health на порту 3000 (PORT=3000)

Переменные окружения

Переменная Обязательна Описание
ONEC_BASE_URL Да Базовый URL сервера 1С (например http://localhost:8080/base)
ONEC_LOGIN Да Логин для HTTP Basic Auth
ONEC_PASSWORD Да Пароль для HTTP Basic Auth
ONEC_SERVICES Нет Список модулей через запятую (по умолчанию: all)

Обратная совместимость: старые имена 1C_BASE_URL, 1C_LOGIN, 1C_PASSWORD тоже поддерживаются.

Smithery

Файл smithery.yaml включён для деплоя на Smithery.

Лицензия

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured