Skip to content
VS Code

MyFatoorah MCP for VS Code

io.github.kuwaitdevs/myfatoorah-mcp

Safely connect AI agents to MyFatoorah payments, invoices, payment methods, and refunds.

client:VS Code transport:stdio runtime:npm

Install MyFatoorah MCP in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "myfatoorah-api-token",
      "description": "MYFATOORAH_API_TOKEN",
      "password": true
    },
    {
      "type": "promptString",
      "id": "myfatoorah-environment",
      "description": "MYFATOORAH_ENVIRONMENT",
      "password": true
    },
    {
      "type": "promptString",
      "id": "myfatoorah-timeout-ms",
      "description": "MYFATOORAH_TIMEOUT_MS",
      "password": true
    }
  ],
  "servers": {
    "myfatoorah-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "myfatoorah-mcp"
      ],
      "env": {
        "MYFATOORAH_API_TOKEN": "${input:myfatoorah-api-token}",
        "MYFATOORAH_ENVIRONMENT": "${input:myfatoorah-environment}",
        "MYFATOORAH_TIMEOUT_MS": "${input:myfatoorah-timeout-ms}"
      }
    }
  }
}

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

MyFatoorah MCP in other clients