Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>SORACOM Napter ToolsNew to Visual Studio Code? Get it now.
SORACOM Napter Tools

SORACOM Napter Tools

Preview

kaoru

|
307 installs
| (0) | Free
Manage SORACOM Napter port mappings from Visual Studio Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

soracom-napter-tools-vscode

This extension will assist you working with SORACOM Napter with Visual Studio Code.

Napter is an on-demand networking service for devices using Soracom Air for Cellular SIM cards, which enables you to quickly and securely access your devices remotely. Napter allows you to perform remote maintenance, troubleshooting, or other typical remote access tasks, without setting up any relay servers or installing agent software on the device.

Requirements

  • Visual Studio Code, tested on v1.81.0.
  • Visual Studio Code Remote - SSH Extension, tested on v0.102.0. See Connect over SSH with Visual Studio Code for setup.
  • SORACOM user account. See SORACOM Air for セルラーの利用方法 (Japanese) or Getting Started | Soracom IoT Connectivity (English) for detail.
  • SORACOM API credential. Follow SORACOM API 利用ガイド (Japanese) or Soracom API Usage Guide (English) to configure your AuthKey ID and Secret. See Supported Authentication Method.
  • SSH server connected with SORACOM IoT SIM e.g. Raspberry Pi with USB dongle. Soracom provides 通信モジュール/USB ドングル at the User Console or US Online Store.

Usage

You can open SORACOM Napter Tools view which you can see list of your SIMs and details by one of following methods:

  • Click the icon in the Activity Bar
  • Open Command Palette (⇧⌘P) then type Show SORACOM Napter Tools
  • Default shortcut key (⌃⇧N)

Active SORACOM SIMs View

You can see your active SIMs and list, create, and delete Napter port mappings. Use icon described below or right click view items to find available actions.

Icon Command Description
SORACOM Napter: Create New Port Mapping Create new port mapping.
- SORACOM Napter: Delete Port Mapping Delete existing port mapping. Also you can delete port mapping from right click menu.
SORACOM Napter: Connect via Visual Studio Code 'Remote - SSH' Extension
  • Open new window with connecting the port mapping if you set soracom.napter.ssh.autoConnection to true.
  • Otherwise open input box for the Remote - SSH extension while copying connection string (ssh://user@host:port) in the clipboard. You can paste it and press enter to connect.
SORACOM Napter: Refresh SIMs List Refresh Active SORACOM SIMs view in the SORACOM Napter Tools view.
SORACOM Napter: Toggle Coverage Toggle coverage between Japan and Global.
- Copy item value to the clipboard if applicable.

SIM Detail View

When you select a SIM at Active SORACOM SIMs view, detail of the SIM will be displayed.

Icon Command Description
SORACOM Napter: Refresh SIM Status Refresh SIM Detail view in the SORACOM Napter Tools view.
- Copy item value to the clipboard if applicable.

Status Bar

Your user name and SORACOM operator ID will be displayed in the status bar once API authentication succeeded. Click the status bar item to open SORACOM User Console.

Icon Command Description
- SORACOM: Open User Console Open SORACOM User Console in your browser.

Extension Settings

This extension contributes the following settings.

Key Description
soracom.auth.useCliConfiguration Use soracom-cli configuration files (.soracom/*.json under $SORACOM_PROFILE_DIR or $HOME directory) instead of AuthKey ID and Secret configured above. Restart required when changed.
soracom.auth.profileName Profile name (filename without .json) for your soracom-cli setup. Effective if Soracom > Auth: Use Cli Configuration (soracom.auth.useCliConfiguration) is enabled.
soracom.auth.authkey.id SORACOM API AuthKey ID
soracom.auth.authkey.secret SORACOM API AuthKey secret
soracom.endpoint Specifies coverage for SORACOM
soracom.napter.duration Specifies default minutes for SORACOM Napter port mapping duration
soracom.napter.port Specifies default remote port number for SORACOM Napter port mapping
soracom.napter.ssh.user Specifies default remote user name for SORACOM Napter port mapping
soracom.napter.ssh.autoConnection Connect via Remote - SSH extension automatically after creating port mapping.
soracom.mask Controls mask of user identifiable information such as Operator ID, IMSI, IP address, port, etc.

Supported Authentication Method

Authkey method is recommended for security reason. Email and password should work (except you configured multi-factor authentication) but not tested.

User type Email and password AuthKey ID and secret
Root account - tested
SAM user - tested

Known Limitation

  • You cannot specify source IP addresses ranges.
  • No API sandbox support.
  • No test.

TODOs or Ideas

  • implement i18n?
  • display SIMs group by SIM group?
  • display SIMs group by coverage?

References

  • Japanese
    • IoT プラットフォーム 株式会社ソラコム
    • SORACOM Napter | ドキュメント | ソラコムユーザーサイト - SORACOM Users
  • English
    • Soracom | Cellular IoT Cloud Connectivity
    • Soracom Napter Overview | SORACOM Developers

Contributing

Please read CONTRIBUTING for details.

License

MIT. See LICENSE for details.

See license for SORACOM Icons Set and microsoft/vscode-icons for icons.


Enjoy remote development with SORACOM Napter!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft