npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

dicloak-local-api-mcp-bridge

v1.0.4

Published

A standalone MCP server(Local Api) for Dicloak

Readme

DICloak MCP Server

Welcome to use Dicloak MCP Server! This tool enables you to directly invoke the powerful functions of Dicloak client's Local API through natural language in the GPT client.

What You Can Do

With DICloak MCP Server, you can:

  • Manage your environment - Create, update, delete and list your environment information
  • Manage your groups - Query, create, delete groups, or create your own groups
  • Manage your proxy server - Query the list of proxies, and the most important thing is to detect new proxy information.
  • Manage your members - Dynamic management of member permissions, creation of new members
  • Social media automation - Rich automation of social media traffic, including TikTok, YouTube, Amazon, etc.

Example Use Cases

  • "Check how many environments I have now?"
  • "Open the environment named "my-env-1""
  • "Help me check this proxy information: Some proxy information"
  • "Use my TikTok environment to boost the activity of my account, and automatically help me browse the videos on the homepage and give them likes."
  • "Go to YouTube and help me post a new update there, using my local video."

Setup for MCP Clients

Claude Desktop

How to connect DICloak MCP with Claude Desktop:

Step 1: Access Claude Desktop settings

Open your Claude Desktop application. In the top menu bar, click on 'Claude' and then select 'Settings...'.

Step 2: Navigate to developer settings

In the Settings, click on Developer on the left side, and then click Edit Config to open the json configuration file.

Step 3: Locate claude_desktop_config.json

You are configuring the MCP server in this file. Usually, the system will use the default text editor to open the "claude_desktop_config.json" file.

Step 4: Add DICloak MCP configuration

You need to add the DICloak MCP server configuration details within the mcpservers object. Carefully paste the following JSON snippet into your claude_desktop_config.json file. Important Note: Replace "DICLOAK_API_KEY" and "DICLOAK_BASE_URL" with your actual DICloak Local API token and request address. Important Note: Please append "/openapi" after the copied API address. This is mandatory. For example: 127.0.0.1:52140/openapi

{
  "mcpServers": {
    "dicloak-local-api-mcp": {
      "command": "npx",
      "args": ["dicloak-local-api-mcp-bridge"],
      "env": {
      "DICLOAK_API_KEY": "PASTE_YOUR_API_KEY_HERE",
      "DICLOAK_BASE_URL": "PASTE_YOUR_BASE_URL_HERE"
      }
    }
  }
}

Step 5: Verify connection in connectors

After saving the claude_desktop_config.json file, it is recommended to restart Claude Desktop to ensure the new configuration is loaded. Once Claude restarts, navigate back to its 'Settings'. Under the 'Connectors' section (which might be under 'General' or 'Extensions' depending on your Claude version), you should now see 'dicloak-local-api-mcp-bridge LOCAL' listed as a connected service. This indicates a successful integration.

Congratulations! You have successfully connected DICloak MCP with Claude Desktop. Your AI assistant can now leverage DICloak profiles for various tasks.

Cursor

  1. Configure in Cursor:

    Add to your Cursor MCP configuration:

    {
      "mcpServers": {
        "dicloak-local-api-mcp": {
          "command": "npx",
          "args": ["dicloak-local-api-mcp-bridge"],
          "env": {
             "DICLOAK_API_KEY": "PASTE_YOUR_API_KEY_HERE",
             "DICLOAK_BASE_URL": "PASTE_YOUR_BASE_URL_HERE"
          }
        }
      }
    }

Other MCP Clients

For other MCP-compatible clients, use the same configuration pattern with the appropriate config file location for your client.

Getting Your API Token

  1. Log in to your DICloak account
  2. Go to OpenApi Setting
  3. Generate or copy your API token and API address
  4. Use this token in the configuration above

Important Note: Please append "/openapi" after the copied API address. This is mandatory. For example: 127.0.0.1:52140/openapi