# MCP 数据库工具

## Claude Code

```bash
claude mcp add tkhk -- npx @toolbox-sdk/server --stdio --tools-file /Users/wade/.config/tkhk.yaml
```

或

~/.claude.json

```
"mcpServers": {
  "tkhk": {
    "type": "stdio",
    "command": "npx",
    "args": [
      "@toolbox-sdk/server",
      "--stdio",
      "--tools-file",
      "/Users/wade/.config/tkhk.yaml"
    ],
    "env": {}
  }
}
```

## OpenCode

```json
"mcp": {
    "tkhk": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@toolbox-sdk/server",
        "--stdio",
        "--tools-file",
        "/Users/wade/.config/tkhk.yaml"
      ]
    }
}
```

## VSCode

```json
{
  "servers": {
    "tkhk": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "@toolbox-sdk/server",
        "--stdio",
        "--tools-file",
        "/Users/wade/.config/tkhk.yaml"
      ]
    }
  },
  "inputs": []
}
```

## Cursor

```
{
  "mcpServers": {
    "tkhk": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "npx",
        "-y",
        "@toolbox-sdk/server",
        "--stdio",
        "--tools-file",
        "/Users/wade/.config/tkhk.yaml"
      ]
    }
  }
}
```

