New:Socket for Asana Is Now Available.Learn more
Get Started

@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.3.1
Version published
Weekly downloads
136
18.26%
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.

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

    pnpm publish --access public
    

Local Testing

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

pnpm install
pnpm start

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

Keywords

mcp

FAQs

Package last updated on 01 Mar 2026

Related posts