Skip to content
VS Code

Samotpravil MCP for VS Code

io.github.dkanster/samotpravil-mcp

MCP server for Samotpravil API — docs, typed tools, Python SDK parity, safety flags.

client:VS Code transport:stdio runtime:npm

Install Samotpravil MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "samotpravil-api-key",
      "description": "SAMOTPRAVIL_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "samotpravil-read-only",
      "description": "SAMOTPRAVIL_READ_ONLY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "samotpravil-allow-send",
      "description": "SAMOTPRAVIL_ALLOW_SEND",
      "password": true
    },
    {
      "type": "promptString",
      "id": "samotpravil-allow-mutations",
      "description": "SAMOTPRAVIL_ALLOW_MUTATIONS",
      "password": true
    },
    {
      "type": "promptString",
      "id": "samotpravil-allow-generic-api",
      "description": "SAMOTPRAVIL_ALLOW_GENERIC_API",
      "password": true
    },
    {
      "type": "promptString",
      "id": "samotpravil-http-host",
      "description": "SAMOTPRAVIL_HTTP_HOST",
      "password": true
    },
    {
      "type": "promptString",
      "id": "postman-api-key",
      "description": "POSTMAN_API_KEY",
      "password": true
    },
    {
      "type": "promptString",
      "id": "postman-collection-uid",
      "description": "POSTMAN_COLLECTION_UID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "samotpravil-http-auth-token",
      "description": "SAMOTPRAVIL_HTTP_AUTH_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "samotpravil-http-port",
      "description": "SAMOTPRAVIL_HTTP_PORT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "samotpravil-docs-mode",
      "description": "SAMOTPRAVIL_DOCS_MODE",
      "password": true
    }
  ],
  "servers": {
    "samotpravil-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "samotpravil-mcp"
      ],
      "env": {
        "SAMOTPRAVIL_API_KEY": "${input:samotpravil-api-key}",
        "SAMOTPRAVIL_READ_ONLY": "${input:samotpravil-read-only}",
        "SAMOTPRAVIL_ALLOW_SEND": "${input:samotpravil-allow-send}",
        "SAMOTPRAVIL_ALLOW_MUTATIONS": "${input:samotpravil-allow-mutations}",
        "SAMOTPRAVIL_ALLOW_GENERIC_API": "${input:samotpravil-allow-generic-api}",
        "SAMOTPRAVIL_HTTP_HOST": "${input:samotpravil-http-host}",
        "POSTMAN_API_KEY": "${input:postman-api-key}",
        "POSTMAN_COLLECTION_UID": "${input:postman-collection-uid}",
        "SAMOTPRAVIL_HTTP_AUTH_TOKEN": "${input:samotpravil-http-auth-token}",
        "SAMOTPRAVIL_HTTP_PORT": "${input:samotpravil-http-port}",
        "SAMOTPRAVIL_DOCS_MODE": "${input:samotpravil-docs-mode}"
      }
    }
  }
}

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

Samotpravil MCP in other clients