# 1C OData MCP

> 1C OData MCP is an open-source MCP server. Read-only MCP server for 1C:Enterprise via OData with metadata and query builder tools. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/pyrfor/onec-odata-mcp
- **MCP Registry name:** io.github.alexgrebeshok-coder/onec-odata-mcp
- **Listing updated:** 2026-11-13

## About

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

## Install

### Claude Code (Terminal)

```sh
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
```

### Claude Desktop (claude_desktop_config.json)

```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>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```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>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```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>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```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>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```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>"
      }
    }
  }
}
```

## 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.

---
Source: https://ai-powered.com/mcp/1c-odata-mcp
