Skip to content
VS Code

DotShare for VS Code

io.github.kareem2099/dotshare

Draft, preview and publish posts and threads to X, LinkedIn, Bluesky, Mastodon, Dev.to and more.

client:VS Code transport:stdio runtime:npm

Install DotShare in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "dotshare-media-roots",
      "description": "DOTSHARE_MEDIA_ROOTS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "dotshare-home",
      "description": "DOTSHARE_HOME",
      "password": true
    }
  ],
  "servers": {
    "dotshare": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "dotshare-cli"
      ],
      "env": {
        "DOTSHARE_MEDIA_ROOTS": "${input:dotshare-media-roots}",
        "DOTSHARE_HOME": "${input:dotshare-home}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

DotShare in other clients