MK API ClientA lightweight, local-first API client for VS Code. No account, subscription, cloud backend, or telemetry is required. HTTP traffic is sent from the VS Code extension host rather than the webview. Features
Build and installRequirements: Node.js 20+, npm, and VS Code 1.95+.
In VS Code, run Extensions: Install from VSIX..., select the generated VSIX, and run Developer: Reload Window. Open MK API Client from the Activity Bar. CLI
Additional options include The published extension does not include or start a mock server. Requests are sent only when you explicitly send one or run a selected collection/folder against an endpoint you configure. Security principlesMK API Client follows secure-by-default, least-privilege, explicit-trust, data-minimization, and defense-in-depth principles. These controls reduce risk, but an API client can still send data to any URL you choose. Review imported collections and runner selections before executing them. Keep secrets separateSecret environment variables are stored with VS Code
Direct Basic passwords, Bearer tokens, API-key values, OAuth client secrets, sensitive headers, and credential-like variables such as The CLI reads secrets from environment variables named Validate trust boundariesThe webview is an editor, not a network client. It uses a restrictive Content Security Policy, sends structured messages to the extension host, and displays response content as text rather than executable HTML. The extension host rebuilds incoming requests through bounded runtime schemas. Native imports receive nested schema validation; other import formats are converted into the internal model and report unsupported features. Protect network communicationRequests run in the desktop VS Code extension host. TLS certificate verification cannot be disabled. Custom CA files, authenticated HTTP(S) proxies, PEM client certificates, and PFX/P12 client identities are supported without weakening verification. OAuth Authorization Code uses PKCE S256 and validates the callback state. Cookies reject unrelated domains and follow domain, path, Secure, and expiry matching rules. Bound resource useRequests have configurable timeouts and cancellation. Responses are read as a bounded stream; downloads larger than Minimize persisted dataWorkspace mode writes versioned data to Treat scripts as codeScripts are disabled by default, require a trusted VS Code workspace, and must be explicitly enabled. They run in a separate constrained process with an empty environment and no exposed filesystem, module-loading, network, timer, or process APIs. Imported scripts never run automatically. This sandbox is defense in depth, not a reason to execute unreviewed code; see Remote SSH, WSL, and Dev Containers send requests and access files from the extension-host machine. Browser-based VS Code is unsupported. See Third-party names and trademarksPostman and Thunder Client are trademarks of their respective owners. MK API Client is an independent project and is not affiliated with, endorsed by, certified by, or sponsored by Postman or Thunder Client. Those product names are used only where necessary to describe local file-format compatibility, including importing or exporting collections and environments. MK API Client does not use their logos or visual identity, does not depend on their cloud services, and does not claim complete feature parity. Compatibility may change when third-party formats change. |