Skip to main content
Glama

1c-dev-mcp

用于在 Cursor 中进行 1С 开发的本地 MCP 服务器:平台帮助 + XML 项目。

什么是 MCP?

MCP(Model Context Protocol)是一种协议,Cursor 通过它与外部工具连接。1c-dev-mcp 服务器让 AI 无需手动复制文件,即可访问 1С 帮助和导出的 XML 配置。

Related MCP server: 1C Templates MCP Server

快速开始

  1. Python 3.11+

  2. 运行安装程序:

cd "C:\Users\twost\Desktop\MCP Help\1c-dev-mcp"
.\install.ps1 -PlatformPath "C:\Program Files (x86)\1cv8t\8.3.27.1508"
  1. 重启 Cursor

  2. 打开包含 XML 配置导出的文件夹

  3. 在聊天中让代理调用 doctor,然后调用 set_platform_version("8.3.27")

MCP 工具

工具

用途

list_platform_versions

已安装的 1С 版本

set_platform_version

选择活动版本

get_platform_info

帮助和索引的状态

build_help_index

为 HBK 建立索引

search_help / get_help

平台帮助

get_project_status

检测 XML 项目

build_project_index

为配置建立索引

find_metadata / get_metadata / list_metadata

元数据

search_code / get_code

BSL 代码

doctor

诊断

关于您的平台的重要说明

路径 C:\Program Files (x86)\1cv8t\8.3.27.1508 是教学/技术平台(1cv8t)。

在 bin 中找到了 shquery_root.hbk(查询语言帮助),但没有 shcntx_ru.hbk(完整的 API 帮助:ТаблицаЗнаечений、方法、类型)。

对于“平台方法如何工作”这类场景,需要包含 shcntx_ru.hbk 的完整 1cv8 安装。Project Layer(元数据、XML 代码)独立工作。

数据和缓存

%LOCALAPPDATA%\1c-dev-mcp\

文档

状态

组件

状态

平台检测器(1cv8 + 1cv8t)

已实现

HBK 索引(shquery/shcntx)

已实现

XML 项目索引

已实现

MCP stdio

已实现

install.ps1

已实现

Cursor 集成

需要在您的机器上验证

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables semantic search through 1C codebase exports using local CPU-based RAG with sentence transformers and FAISS indexing. Supports fast XML file indexing and retrieval of 1C code with metadata parsing.
    11
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides storage, searching, and retrieval of 1C (BSL) code templates with a built-in web interface for easy template management. It enables AI assistants to fetch specific boilerplate code directly into editors using natural language search.
    17
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables searching through 1C:Enterprise configuration source code (XML+BSL) with full-text indexing, providing tools to find code, metadata objects, procedures, and modules.
    MIT