Skip to content

finktech-dev/mcp-security

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

πŸ”’ MCP Security

License: MIT Version Documentation Security PRs Welcome

Comprehensive security guidelines for Model Context Protocol (MCP) servers with compliance mapping (SOC2, HIPAA, PCI DSS).


πŸ“š Quick Navigation

What Where
πŸ“‹ Complete index docs/INDEX.md
πŸ‡¬πŸ‡§ English docs docs/en/
πŸ‡ͺπŸ‡Έ DocumentaciΓ³n espaΓ±ol docs/es/
πŸ’» Code examples examples/
πŸ“„ PDFs Auto-generated (GitHub Actions) or local: scripts/generate-pdfs.sh
🀝 Contributing CONTRIBUTING.md
πŸ”’ Security policy SECURITY.md

✨ Features

  • 12 Security Rules (SEC-001 to SEC-012): Each with vulnerable vs secure examples
  • OWASP/CWE Mapping + Compliance (SOC2, HIPAA, PCI DSS)
  • Multi-language examples: Go, Node.js, Python
  • Bilingual documentation: English + Spanish
  • Auto-generated PDFs: Available in docs/pdf/en/ and docs/pdf/es/

πŸ“‚ Repository Structure

mcp-security/
β”œβ”€β”€ docs/
β”‚   β”œβ”€β”€ INDEX.md              # Complete index
β”‚   β”œβ”€β”€ en/                   # English documentation
β”‚   β”‚   β”œβ”€β”€ README.md
β”‚   β”‚   β”œβ”€β”€ START-HERE.md
β”‚   β”‚   β”œβ”€β”€ SECURITY.md
β”‚   β”‚   └── sec-rules/        # SEC-001 to SEC-012
β”‚   β”œβ”€β”€ es/                   # Spanish documentation
β”‚   β”‚   β”œβ”€β”€ README.md
β”‚   β”‚   β”œβ”€β”€ START-HERE.md
β”‚   β”‚   β”œβ”€β”€ SECURITY.md
β”‚   β”‚   └── sec-rules/        # SEC-001 a SEC-012
β”‚   └── pdf/                  # Auto-generated PDFs
β”‚       β”œβ”€β”€ en/
β”‚       └── es/
β”œβ”€β”€ examples/                 # Code examples by language
β”‚   β”œβ”€β”€ go/
β”‚   β”œβ”€β”€ nodejs/
β”‚   └── python/
β”œβ”€β”€ scripts/
β”‚   └── generate-pdfs.sh      # PDF generation script
β”œβ”€β”€ .github/
β”‚   β”œβ”€β”€ workflows/            # CI/CD automation
β”‚   β”œβ”€β”€ ISSUE_TEMPLATE/
β”‚   └── PULL_REQUEST_TEMPLATE.md
β”œβ”€β”€ CONTRIBUTING.md
β”œβ”€β”€ SECURITY.md
β”œβ”€β”€ LICENSE
└── README.md                 # This file

🎯 Use Cases

For Developers

  • Apply security rules to your MCP servers
  • Use code examples as reference
  • Integrate compliance requirements

For Security Teams

  • Audit MCP implementations
  • Map controls to frameworks (SOC2, HIPAA, PCI DSS)
  • Use PDFs for documentation

For Organizations

  • Establish security baselines
  • Train development teams
  • Maintain compliance

🌍 Available Languages


πŸ“„ PDF Generation

PDFs are automatically generated on push via GitHub Actions.

Manual generation:

./scripts/generate-pdfs.sh

PDFs will be created in:

  • docs/pdf/en/ (English)
  • docs/pdf/es/ (Spanish)

🀝 Contributing

We welcome contributions! See CONTRIBUTING.md for:

  • How to propose new rules
  • Documentation guidelines
  • Code examples standards
  • Translation workflow

πŸ”’ Security

Found a vulnerability? Please report responsibly.

See SECURITY.md for:

  • How to report security issues
  • Response time expectations
  • Disclosure process

πŸ“œ License

MIT License - see LICENSE for details.


πŸ’¬ Support


πŸ™ Acknowledgments

Special thanks to all contributors and security researchers who help improve MCP security.


Start here: docs/INDEX.md β†’ Choose a rule β†’ Apply it to your code πŸš€

About

Comprehensive security rules and best practices for MCP (Model Context Protocol) servers with compliance mapping (SOC2, HIPAA, PCI DSS)

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages