Mallory MCP Server
Mallory provides a robust source of cyber and threat intelligence. Use this MCP Server to enable your agents with real-time cyber threat intelligence and detailed information about vulnerabilities, threat actors, malware, techniques and other cyber-relevant entities and content.
๐ Prerequisites
Python 3.13 or higher
uv for dependency management (recommended)
Related MCP server: IR Toolshed MCP Server
๐ Quick Start
Installation
Clone the repository:
Set up a virtual environment and install dependencies:
Install Development Dependencies
For development work, install the optional dependencies:
Set Up Pre-commit Hooks
This project uses pre-commit hooks to ensure code quality. Install them with:
โ๏ธ Configuration
Create a .env file in the project root with the following variables:
๐โโ๏ธ Running the Server
Direct Execution
or
Via the Claude Desktop Configuration
Add the following to your claude_desktop_config.json:
๐ฆ Project Structure
๐งช Development
Code Style
This project uses:
Format your code with:
Commit Message Format
This project follows the conventional commit format. Each commit message should follow this pattern:
Where type is one of:
featorfeature: New featurefix,bugfix, orhotfix: Bug fixeschore: Regular maintenance tasksrefactor: Code changes that neither fix bugs nor add featuresdocs: Documentation only changesstyle: Changes that don't affect the meaning of the codetest: Adding or correcting testsperf: Performance improvementsci: Changes to CI configurationbuild: Changes to build system or dependenciesrevert: Reverting previous commits
Example: feat(server): add new authentication method
๐ค Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Fork the repository
Create your feature branch (
git checkout -b feature/amazing-feature)Commit your changes (
git commit -m 'feat: add some amazing feature')Push to the branch (
git push origin feature/amazing-feature)Open a Pull Request