onec-demo
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| ONEC_BASE_URL | Yes | Base URL of the 1C HTTP API used by the MCP server, for example http://127.0.0.1:8001/v1. | |
| MCP_ENABLE_DRAFTS | No | Set to 1 to enable the create_draft tool. When enabled, use tool confirmation in the MCP client. |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Use catalog and stock for read operations. Use preview to prepare draft data. Show every unresolved position to the operator. Request operator approval before calling create_draft.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| get_catalogB | Return registered product SKUs and customer codes. |
| get_stockB | Return product details and informational stock for an exact SKU. |
| preview_requestC | Prepare a draft from a text request and identify lines needing review. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| order_intake | Guide the operator through reviewing an incoming order. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 3 tools
Each tool has a clearly distinct role: catalog browsing, SKU-level stock lookup, and natural-language request drafting. There is no meaningful overlap between them.
All three tools follow a consistent verb_noun snake_case convention: get_catalog, get_stock, preview_request. The pattern is predictable and readable.
Three tools is a well-scoped set for a demo server covering catalog, stock, and request preview. Each tool serves a distinct purpose without bloat.
The server covers catalog lookup, stock lookup, and request preview, but there is no tool to submit, update, or retrieve a finalized request. This is a notable workflow gap if the intent is end-to-end request handling.