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

auditswarms-mcp-bridge

v1.0.0

Published

STDIO-to-HTTP bridge for connecting Claude Desktop to AuditSwarms MCP server

Readme

@auditswarms/mcp-bridge

🌉 STDIO-to-HTTP bridge for connecting Claude Desktop to AuditSwarms MCP server on GCP.

What is this?

Claude Desktop uses STDIO transport (standard input/output) for MCP servers, but can't connect directly to remote HTTP servers. This tiny bridge proxy forwards STDIO messages from Claude Desktop to your AuditSwarms MCP server running on Google Cloud Platform.

No installation required - just use npx!

Quick Start

1. Get Your OAuth Token

Visit your AuditSwarms deployment:

https://auditswarms-app-997439271657.us-central1.run.app/oauth-setup

Click "Generate OAuth Token" and copy the token.

2. Configure Claude Desktop

Open Claude Desktop settings and add this MCP server configuration:

macOS/Linux: ~/.config/claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "auditswarms": {
      "command": "npx",
      "args": ["-y", "@auditswarms/mcp-bridge"],
      "env": {
        "MCP_REMOTE_URL": "https://auditswarms-mcp-997439271657.us-central1.run.app/mcp",
        "MCP_TOKEN": "your-token-here"
      }
    }
  }
}

3. Restart Claude Desktop

That's it! Claude will now be able to access your AuditSwarms data.

Environment Variables

  • MCP_REMOTE_URL (required) - Your GCP MCP server URL
  • MCP_TOKEN (required) - OAuth token from /oauth-setup
  • MCP_DEBUG (optional) - Set to true to see debug logs

How It Works

Claude Desktop (STDIO) → Bridge (This Package) → GCP MCP Server (HTTP)
                ↓                                        ↓
          User's Computer                        Google Cloud Run
  1. Claude Desktop sends JSON-RPC messages via STDIO
  2. Bridge converts to HTTP POST requests
  3. Forwards to your GCP MCP server with OAuth token
  4. Returns responses back through STDIO
  5. Claude Desktop receives the data

Features

  • ✅ Zero installation (uses npx)
  • ✅ Automatic JSON-RPC 2.0 validation
  • ✅ Secure OAuth token authentication
  • ✅ Error handling and helpful messages
  • ✅ Optional debug logging
  • ✅ Works on Windows, macOS, and Linux

Troubleshooting

"MCP_REMOTE_URL environment variable is required"

Make sure you've added the env section to your Claude Desktop config with the correct MCP server URL.

"MCP_TOKEN environment variable is required"

Visit /oauth-setup to generate a new token and add it to your Claude Desktop config.

Token expired

Tokens are valid for 30 days. Generate a new token at /oauth-setup when the old one expires.

Connection errors

Check that:

  1. Your GCP MCP server is running
  2. The URL is correct
  3. Your token hasn't expired
  4. You have internet connection

Advanced Usage

Custom Token Expiry

Tokens default to 30 days. To create longer-lived tokens, use the API directly or contact your admin.

Debug Mode

Enable debug logging to see all requests/responses:

{
  "mcpServers": {
    "auditswarms": {
      "command": "npx",
      "args": ["-y", "@auditswarms/mcp-bridge"],
      "env": {
        "MCP_REMOTE_URL": "https://auditswarms-mcp-997439271657.us-central1.run.app/mcp",
        "MCP_TOKEN": "your-token-here",
        "MCP_DEBUG": "true"
      }
    }
  }
}

Debug logs appear in Claude Desktop's developer console.

Using with Custom Domains

If you've set up a custom domain for your AuditSwarms deployment, update the URLs:

{
  "env": {
    "MCP_REMOTE_URL": "https://mcp.yourdomain.com/mcp",
    "MCP_TOKEN": "your-token-here"
  }
}

Security

  • OAuth tokens are transmitted via HTTPS only
  • Tokens are scoped to specific user permissions
  • Tokens automatically expire after 30 days
  • No credentials are stored by the bridge
  • All data stays between your computer and your GCP server

Requirements

  • Node.js 18+ (automatically installed by npx)
  • Claude Desktop 0.5.0+
  • Active AuditSwarms deployment on GCP

Alternative: Local Development

For local development, you can run the bridge directly:

git clone https://github.com/your-org/AuditSwarm-GCP.git
cd AuditSwarm-GCP
npm install

# Set environment variables
export MCP_REMOTE_URL="https://your-mcp-server.run.app/mcp"
export MCP_TOKEN="your-token-here"

# Run bridge
npm run mcp:bridge

Then configure Claude Desktop to use the local bridge:

{
  "mcpServers": {
    "auditswarms": {
      "command": "npm",
      "args": ["run", "mcp:bridge"],
      "cwd": "/absolute/path/to/AuditSwarm-GCP"
    }
  }
}

Support

License

MIT © AuditSwarms


Made with ❤️ by the AuditSwarms team