Skip to content
MCP server

1C OData MCP

Read-only MCP server for 1C:Enterprise via OData with metadata and query builder tools.

Runs locallyStatus and history
Install
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-mcp

Add 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)Required
  • ONEC_USERNAMEBasic auth username for the OData endpointRequired
  • ONEC_PASSWORDBasic auth password for the OData endpointRequired
  • ONEC_DATABASEOptional database name hint
  • ONEC_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.

How AIPoweredBot checks servers