onec-odata-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@onec-odata-mcpList invoices from last week"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
onec-odata-mcp
MCP server bridging AI agents to 1C:Enterprise (1С:Предприятие) via OData.
Give an AI assistant (Claude Desktop, Cursor, any MCP client) read-only access to a 1C database. Instead of exporting spreadsheets or hand-writing OData URLs, the agent queries 1C entities — counterparties, documents, invoices, catalogs — in natural language and gets structured data back. Works with any 1C configuration that exposes the standard OData endpoint (Accounting, ERP, Trade Management, and custom configs).
Quick start
npm install
npm run buildConfigure via environment variables (recommended for MCP clients):
ONEC_BASE_URL=https://1c.example.com/your_db/odata/standard.odata
ONEC_USERNAME=odata_user
ONEC_PASSWORD=odata_password
# optional:
ONEC_DATABASE=your_db
ONEC_METADATA_CACHE_TTL_MS=3600000Register the server in your MCP client (e.g. Claude Desktop claude_desktop_config.json):
{
"mcpServers": {
"onec-odata": {
"command": "npx",
"args": ["-y", "onec-odata-mcp"],
"env": {
"ONEC_BASE_URL": "https://1c.example.com/your_db/odata/standard.odata",
"ONEC_USERNAME": "odata_user",
"ONEC_PASSWORD": "your_password"
}
}
}
}Alternatively, place a JSON file at ~/.onec-odata/onec-config.json with { "baseUrl", "username", "password" } and point ONEC_CONFIG_PATH at it.
Related MCP server: 1C MCP Server
Tools
Tool | Description |
| Check configuration status and setup instructions |
| List all available OData entities |
| Get entity types and sets from |
| Describe an entity's fields, types, keys, navigation properties |
| Build a validated |
| Query an entity with raw OData params (filter/select/top/expand) |
| Count records in an entity, optionally filtered |
| Auto-detect common financial entities and report their counts |
Example
Ask the agent: "How many sales orders were posted this month?"
It calls odata_build_query → odata_count on the sales-order entity with a date filter. No OData syntax knowledge required — the server validates fields against live $metadata and rejects unknown/secret fields.
Requirements
Node.js ≥ 18
1C:Enterprise with the OData endpoint published (web publishing →
standard.odata)
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/pyrfor/onec-odata-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server