New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

secure-coding-mcp-2

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

secure-coding-mcp-2

MCP server providing secure coding guidelines

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

Secure Coding MCP Server

A Model Context Protocol (MCP) server that provides secure coding guidelines for AI assistants.

Installation

# Install globally
npm install -g secure-coding-mcp

# Or use with npx without installing
npx secure-coding-mcp

Usage with Cursor

Add this to your mcp.json file:

{
  "mcpServers": {
    "secure_coding_guidelines": {
      "command": "npx",
      "args": ["-y", "secure-coding-mcp"]
    }
  }
}

Benefits

  • Provides comprehensive secure coding guidelines to AI assistants
  • Helps prevent common security vulnerabilities in generated code
  • Encourages secure-by-default development practices
  • Easy integration with any MCP-compatible client (Cursor, Claude Desktop, etc.)

Features

The server provides a single tool:

  • secure_coding_guidelines: Returns detailed secure coding best practices covering:
    • Input validation
    • Authentication and authorization
    • Secure configuration
    • Error handling
    • Data protection
    • And many more security topics

Development

# Clone the repository
git clone <repository-url>

# Install dependencies
npm install

# Run locally
node index.js

Publishing

# Login to npm
npm login

# Publish the package
npm publish

License

MIT

Keywords

mcp

FAQs

Package last updated on 23 Mar 2025

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