# mdshare MCP server

> Uploads markdown files to a web service to generate shareable links with various permission levels.

- Repository: https://github.com/urbanmorph/mdshare
- Page: https://hostedmcp.org/servers/urbanmorph/mdshare
- Transport: stdio, remote
- Stars: 9
- License: MIT
- Latest version: 1.7.0

## Install

### Claude Code

```sh
claude mcp add mdshare -- npx -y mdshare-mcp
```

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

```json
{
  "mcpServers": {
    "mdshare": {
      "command": "npx",
      "args": [
        "-y",
        "mdshare-mcp"
      ]
    }
  }
}
```

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

```json
{
  "servers": {
    "mdshare": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mdshare-mcp"
      ]
    }
  }
}
```

### VS Code CLI

```sh
code --add-mcp '{"name":"mdshare","type":"stdio","command":"npx","args":["-y","mdshare-mcp"]}'
```

### Claude Desktop (`claude_desktop_config.json`)

```json
{
  "mcpServers": {
    "mdshare": {
      "command": "npx",
      "args": [
        "-y",
        "mdshare-mcp"
      ]
    }
  }
}
```

### Codex

```sh
codex mcp add mdshare -- npx -y mdshare-mcp
```

### Codex config.toml (`~/.codex/config.toml`)

```toml
[mcp_servers.mdshare]
command = "npx"
args = ["-y", "mdshare-mcp"]
```

### Gemini CLI

```sh
gemini mcp add -s user mdshare npx -- -y mdshare-mcp
```

### Gemini settings.json (`~/.gemini/settings.json`)

```json
{
  "mcpServers": {
    "mdshare": {
      "command": "npx",
      "args": [
        "-y",
        "mdshare-mcp"
      ]
    }
  }
}
```

## FAQ

### How do I share markdown using an AI tool?

You can use the MCP server by saying "upload my-notes.md to mdshare" in any MCP-compatible AI tool.

### Does mdshare require a user account?

No, the service allows you to share markdown instantly without needing to log in.

### What permission levels are available for shared links?

There are four permission levels: Admin, Edit, Comment, and View.
