1C OData MCP
Read-only MCP server for 1C:Enterprise via OData with metadata and query builder tools.
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.1
- Listing updated
- 5 days ago
About 1C OData MCP
1C OData MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add onec-odata-mcp --env ONEC_BASE_URL='<ONEC_BASE_URL>' --env ONEC_USERNAME='<ONEC_USERNAME>' --env ONEC_PASSWORD='<ONEC_PASSWORD>' -- npx -y onec-odata-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"onec-odata-mcp": {
"command": "npx",
"args": [
"-y",
"onec-odata-mcp"
],
"env": {
"ONEC_BASE_URL": "<ONEC_BASE_URL>",
"ONEC_USERNAME": "<ONEC_USERNAME>",
"ONEC_PASSWORD": "<ONEC_PASSWORD>"
}
}
}
}Add to ~/.cursor/mcp.json
{
"mcpServers": {
"onec-odata-mcp": {
"command": "npx",
"args": [
"-y",
"onec-odata-mcp"
],
"env": {
"ONEC_BASE_URL": "<ONEC_BASE_URL>",
"ONEC_USERNAME": "<ONEC_USERNAME>",
"ONEC_PASSWORD": "<ONEC_PASSWORD>"
}
}
}
}Add to .vscode/mcp.json
{
"servers": {
"onec-odata-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"onec-odata-mcp"
],
"env": {
"ONEC_BASE_URL": "<ONEC_BASE_URL>",
"ONEC_USERNAME": "<ONEC_USERNAME>",
"ONEC_PASSWORD": "<ONEC_PASSWORD>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"onec-odata-mcp": {
"command": "npx",
"args": [
"-y",
"onec-odata-mcp"
],
"env": {
"ONEC_BASE_URL": "<ONEC_BASE_URL>",
"ONEC_USERNAME": "<ONEC_USERNAME>",
"ONEC_PASSWORD": "<ONEC_PASSWORD>"
}
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"onec-odata-mcp": {
"command": "npx",
"args": [
"-y",
"onec-odata-mcp"
],
"env": {
"ONEC_BASE_URL": "<ONEC_BASE_URL>",
"ONEC_USERNAME": "<ONEC_USERNAME>",
"ONEC_PASSWORD": "<ONEC_PASSWORD>"
}
}
}
}Using several servers? Build one config file with the MCP config generator.
Configuration
ONEC_BASE_URL1C OData endpoint URL (e.g. https://host/db/odata/standard.odata)RequiredONEC_USERNAMEBasic auth username for the OData endpointRequiredONEC_PASSWORDBasic auth password for the OData endpointRequiredONEC_DATABASEOptional database name hintONEC_METADATA_CACHE_TTL_MSMetadata cache TTL in milliseconds (default 3600000)ONEC_CONFIG_PATHOptional path to JSON config file ({ baseUrl, username, password })
Pricing
Open source
1C OData MCP FAQ
Is 1C OData MCP free?
Yes. 1C OData MCP is open source, so you can use and self-host it for free.
How do I add 1C OData MCP to Claude Code?
Run this command in your terminal: claude mcp add onec-odata-mcp --env ONEC_BASE_URL='<ONEC_BASE_URL>' --env ONEC_USERNAME='<ONEC_USERNAME>' --env ONEC_PASSWORD='<ONEC_PASSWORD>' -- npx -y onec-odata-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.