Devici MCP Server
A Model Context Protocol (MCP) server for interacting with the Devici API. This server provides LLM tools to manage users, collections, threat models, components, threats, mitigations, teams, and dashboard data through the Devici platform.
Features
The Devici MCP Server provides tools for:
User Management
Get users with pagination
Get specific user by ID
Search users by field and text
Invite new users
Collections Management
Get collections with pagination
Get specific collection by ID
Create new collections
Threat Models Management
Get all threat models with pagination
Get threat models by collection
Get specific threat model by ID
Create new threat models
Components Management
Get components with pagination
Get specific component by ID
Get components by canvas
Create new components
Threats Management
Get threats with pagination
Get specific threat by ID
Get threats by component
Create new threats
Mitigations Management
Get mitigations with pagination
Get specific mitigation by ID
Get mitigations by threat
Create new mitigations
Teams Management
Get teams with pagination
Get specific team by ID
Get team users
Create new teams
Dashboard & Reports
Get dashboard data
Get report data
Get threat model statistics
Comments & Audit
Get comments with pagination
Get specific comment by ID
Get audit logs
Codex Integration
Get codex attributes
Get codex mitigations
Get codex threats
Quick Start
Using uvx (recommended)
Option 1: From GitHub (Current)
Option 2: From PyPI (Future - when published)
Using uv
Install from GitHub
Install from PyPI (when available)
Using pip
Install from GitHub
Install from PyPI (when available)
Configuration
The server requires three environment variables:
DEVICI_API_BASE_URL
: Your Devici instance URL (e.g.,https://api.devici.com/v1
)DEVICI_CLIENT_ID
: Your Devici client IDDEVICI_CLIENT_SECRET
: Your Devici client secret
Setting Environment Variables
Option 1: Environment Variables
Option 2: .env File
Create a .env
file in your working directory:
Getting Your API Credentials
Log into your Devici instance
Go to Settings > API Access
Generate a new client ID and secret
Copy the values for use as
DEVICI_CLIENT_ID
andDEVICI_CLIENT_SECRET
MCP Client Configuration
Claude Desktop
Add this to your Claude Desktop configuration file:
Option 1: From GitHub (Current)
Option 2: From PyPI (Future)
Cline
Add this to your Cline MCP settings:
From GitHub (Current)
Continue
Add this to your Continue configuration:
From GitHub (Current)
Cursor
Add this to your Cursor configuration file:
Option 1: From GitHub (Current)
Option 2: Using local installation
If you have the package installed locally:
Option 3: Using Python module directly
Development
Prerequisites
uv installed
Python 3.10 or higher
Setup
Testing
Building
Features
Full API Coverage: Supports all major Devici API endpoints
Authentication: Secure client ID/secret-based authentication
Error Handling: Comprehensive error handling and validation
Environment Configuration: Flexible configuration via environment variables
Modern Python: Built with modern Python packaging (uv, pyproject.toml)
MCP Compliant: Fully compatible with the Model Context Protocol
API Coverage
This server provides access to:
Users and Teams
Collections and Threat Models
Components and Threats
Mitigations and Comments
Dashboard Data and Reports
Audit Logs and Codex Integration
Search and Bulk Operations
License
This project is licensed under the MIT License - see the LICENSE file for details.
Contributing
Fork the repository
Create a feature branch (
git checkout -b feature/amazing-feature
)Commit your changes (
git commit -m 'Add some amazing feature'
)Push to the branch (
git push origin feature/amazing-feature
)Open a Pull Request
Support
For issues and questions:
Check the Issues page
Review the Devici API documentation
Ensure your API credentials have proper permissions
Note: This is an unofficial MCP server for Devici. For official Devici support, please contact the Devici team.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Provides LLM tools to interact with the Devici API, enabling management of threat modeling resources including users, collections, threat models, components, threats, mitigations, and teams.
- Features
- Quick Start
- Configuration
- MCP Client Configuration
- Development
- Features
- API Coverage
- License
- Contributing
- Support
Related Resources
Related MCP Servers
- AsecurityAlicenseAqualityIntegrates Tavily's search API with LLMs to provide advanced web search capabilities, including intelligent result summaries, domain filtering for quality control, and configurable search parameters.Last updated -288MIT License
- -securityFlicense-qualityFacilitates enhanced interaction with large language models (LLMs) by providing intelligent context management, tool integration, and multi-provider AI model coordination for efficient AI-driven workflows.Last updated -
- -securityFlicense-qualityAllows LLMs to integrate with Linear's issue tracking system, enabling them to create, update, search, and comment on issues through the Linear API.Last updated -236
- AsecurityAlicenseAqualityEnables AI agents to interact with multiple LLM providers (OpenAI, Anthropic, Google, DeepSeek) through a standardized interface, making it easy to switch between models or use multiple models in the same application.Last updated -15MIT License