Comprehensive security guidelines for Model Context Protocol (MCP) servers with compliance mapping (SOC2, HIPAA, PCI DSS).
| 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 |
- 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/anddocs/pdf/es/
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
- Apply security rules to your MCP servers
- Use code examples as reference
- Integrate compliance requirements
- Audit MCP implementations
- Map controls to frameworks (SOC2, HIPAA, PCI DSS)
- Use PDFs for documentation
- Establish security baselines
- Train development teams
- Maintain compliance
PDFs are automatically generated on push via GitHub Actions.
Manual generation:
./scripts/generate-pdfs.shPDFs will be created in:
docs/pdf/en/(English)docs/pdf/es/(Spanish)
We welcome contributions! See CONTRIBUTING.md for:
- How to propose new rules
- Documentation guidelines
- Code examples standards
- Translation workflow
Found a vulnerability? Please report responsibly.
See SECURITY.md for:
- How to report security issues
- Response time expectations
- Disclosure process
MIT License - see LICENSE for details.
- π Bug reports: Open an issue
- π‘ Feature requests: Start a discussion
- π§ Contact: hello.finksystems@gmail.com
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 π