🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@sgpdirectory/mcp

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sgpdirectory/mcp

Singapore business directory. Search companies, UENs, and SSIC industry classifications.

npmnpm
Version
1.2.0
Version published
Weekly downloads
127
101.59%
Maintainers
1
Weekly downloads
 
Created
Source

@sgpdirectory/mcp

Official local MCP (Model Context Protocol) package for the SGP Directory remote server. Singapore business directory: search companies, UENs, and SSIC industry classifications.

This package provides a standard stdio interface compatible with local MCP clients (like Claude Desktop and Cursor), proxying requests securely to the remote HTTP streamable SGP Directory server (https://mcp.sgpdirectory.com/mcp).

Usage with Cursor

Run the following package directly using npx:

When configuring Cursor, set the MCP "Type" to command and use:

npx -y @sgpdirectory/mcp

Usage with Claude Desktop

Add this to your mcp-servers.json configuration file:

{
  "mcpServers": {
    "sgp-directory": {
      "command": "npx",
      "args": ["-y", "@sgpdirectory/mcp"]
    }
  }
}

Authentication

If your proxy is behind an access token, you can pass it via SGP_DIRECTORY_API_KEY environment variable. The wrapper will automatically format it as an Authorization: Bearer <TOKEN> header and attach it to the mcp-remote connection.

Example in Claude Desktop

{
  "mcpServers": {
    "sgp-directory": {
      "command": "npx",
      "args": ["-y", "@sgpdirectory/mcp"],
      "env": {
        "SGP_DIRECTORY_API_KEY": "your-secret-token"
      }
    }
  }
}

Publishing to NPM

  • Login to NPM Run the login command and follow the prompts. You need to be a part of the @sgpdirectory org.

    npm login
    
  • Publish the package Run the following inside your wrapper directory:

    npm publish --access public
    

Local Testing

If you have cloned the repository locally, you can run:

npm install
npm start

This will launch the proxy and wait for standard stdio JSON-RPC messages.

Keywords

mcp

FAQs

Package last updated on 28 Feb 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts