MCPcopy Create free account

hub / github.com/awslabs/threat-modeling-mcp-server / functions

Functions448 in github.com/awslabs/threat-modeling-mcp-server

Functionget_phase_9_guidance
Get detailed guidance for Phase 9: Output Generation and Documentation. This tool provides step-by-step guidance for generating outputs and d
threat_modeling_mcp_server/tools/step_orchestrator.py:845
Functionget_threat
Get details about a specific threat. This tool retrieves details about a specific threat in the threat model. Args: ctx:
threat_modeling_mcp_server/tools/threat_generator.py:727
Functionget_threat_actor
Get details about a specific threat actor. This tool retrieves details about a specific threat actor in the threat model. Args:
threat_modeling_mcp_server/tools/threat_actor_analyzer.py:653
Functionget_threat_model_progress
Get the current progress of the threat modeling process. This tool returns the current progress of the threat modeling process, inclu
threat_modeling_mcp_server/tools/step_orchestrator.py:969
Functionget_threat_modeling_plan
Get a comprehensive threat modeling plan. This tool returns a detailed threat modeling plan in markdown format, covering all phases o
threat_modeling_mcp_server/tools/threat_model_plan.py:723
Functionget_trust_boundary
Get details about a specific trust boundary. This tool retrieves details about a specific trust boundary in the system architecture.
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1741
Functionget_trust_boundary_analysis_plan
Get a comprehensive trust boundary analysis plan. This tool returns a detailed plan for analyzing trust boundaries for security concerns
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1781
Functionget_trust_boundary_detection_plan
Get a comprehensive trust boundary detection plan. This tool returns a detailed plan for detecting trust boundaries from architecture
threat_modeling_mcp_server/tools/trust_boundary_detector.py:325
Functionget_trust_zone
Get details about a specific trust zone. This tool retrieves details about a specific trust zone in the system architecture. Args:
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1381
Functionlink_mitigation_to_threat
Link a mitigation to a threat. This tool links a mitigation to a threat in the threat model. Args: ctx: MCP context for
threat_modeling_mcp_server/tools/threat_generator.py:962
Functionlist_assets
List all assets in the system. This tool lists all assets in the system, optionally filtered by type or classification. Args:
threat_modeling_mcp_server/tools/asset_flow_analyzer.py:989
Functionlist_assumptions
List all current assumptions in the threat model. Args: ctx: MCP context for logging and error handling category: Opt
threat_modeling_mcp_server/tools/assumption_manager.py:228
Functionlist_components
List all components in the architecture. This tool lists all components in the system architecture. Args: ctx: MCP conte
threat_modeling_mcp_server/tools/architecture_analyzer.py:885
Functionlist_connections
List all connections in the architecture. This tool lists all connections in the system architecture. Args: ctx: MCP con
threat_modeling_mcp_server/tools/architecture_analyzer.py:1003
Functionlist_crossing_points
List all crossing points. This tool lists all crossing points in the system architecture. Args: ctx: MCP context for log
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1544
Functionlist_data_models
List all available data models. This tool lists all available data models that can be used with get_data_model_types. Args:
threat_modeling_mcp_server/tools/data_model_types.py:130
Functionlist_data_stores
List all data stores in the architecture. This tool lists all data stores in the system architecture. Args: ctx: MCP con
threat_modeling_mcp_server/tools/architecture_analyzer.py:1121
Functionlist_files
List files in a directory with optional filtering by extension. Args: directory: Directory to list files from extensions: Lis
threat_modeling_mcp_server/utils/file_utils.py:67
Functionlist_flows
List all asset flows in the system. This tool lists all asset flows in the system, optionally filtered by asset ID or component ID.
threat_modeling_mcp_server/tools/asset_flow_analyzer.py:1155
Functionlist_mitigations
List all mitigations in the model. This tool lists all mitigations in the threat model, optionally filtered by type or status. Args:
threat_modeling_mcp_server/tools/threat_generator.py:860
Functionlist_threat_actors
List all threat actors. This tool lists all threat actors in the threat model. Args: ctx: MCP context for logging and er
threat_modeling_mcp_server/tools/threat_actor_analyzer.py:633
Functionlist_threats
List all threats in the model. This tool lists all threats in the threat model, optionally filtered by category, severity, or status.
threat_modeling_mcp_server/tools/threat_generator.py:705
Functionlist_trust_boundaries
List all trust boundaries. This tool lists all trust boundaries in the system architecture. Args: ctx: MCP context for l
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1723
Functionlist_trust_zones
List all trust zones. This tool lists all trust zones in the system architecture. Args: ctx: MCP context for logging and
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1363
Functionmap_controls_to_threats
Map detected security controls to threats. Args: security_controls: Dictionary of detected security controls threats: List of
threat_modeling_mcp_server/tools/code_security_validator.py:258
Functionmock_context
Create a mock MCP context for testing.
tests/test_threat_generator.py:34
Functionread_file_content
Read the content of a file. Args: file_path: Path to the file to read Returns: The content of the file as a stri
threat_modeling_mcp_server/utils/file_utils.py:27
Functionregister_tools
Register step orchestration tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/step_orchestrator.py:662
Functionregister_tools
Register threat generator tools with the MCP server.
threat_modeling_mcp_server/tools/threat_generator.py:653
Functionregister_tools
Register code security validation tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/code_security_validator.py:333
Functionregister_tools
Register data model types tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/data_model_types.py:105
Functionregister_tools
Register assumption management tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/assumption_manager.py:188
Functionregister_tools
Register asset flow analysis tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/asset_flow_analyzer.py:890
Functionregister_tools
Register trust boundary detection tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/trust_boundary_detector.py:318
Functionregister_tools
Register trust boundary analysis tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1290
Functionregister_tools
Register threat actor analysis tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/threat_actor_analyzer.py:533
Functionregister_tools
Register threat model validation tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/threat_model_validator.py:265
Functionregister_tools
Register threat model planning tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/threat_model_plan.py:716
Functionregister_tools
Register architecture analysis tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/architecture_analyzer.py:795
Functionregister_tools
Register business context analysis tools with the MCP server. Args: mcp: The MCP server instance
threat_modeling_mcp_server/tools/business_context.py:579
Functionremove_component_from_zone
Remove a component from a trust zone. This tool removes a component from a trust zone in the system architecture. Args:
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1449
Functionremove_conn_from_crossing
Remove a connection from a crossing point. This tool removes a connection from a crossing point in the system architecture. Args:
threat_modeling_mcp_server/tools/trust_boundary_analyzer.py:1630
Functionreset_asset_flows
Reset assets and flows to the default set. This tool resets assets and flows to the default set. Args: ctx: MCP context
threat_modeling_mcp_server/tools/asset_flow_analyzer.py:1248
Functionreset_phase_completion
Reset phase completion before each test.
tests/test_step_orchestrator.py:17
Functionreset_threat_actors
Reset the threat actors to the default set. This tool resets the threat actors to the default set. Args: ctx: MCP contex
threat_modeling_mcp_server/tools/threat_actor_analyzer.py:749
Functionset_business_context
Set the business context with description and all features in one call. This streamlined tool sets the business context description and all b
threat_modeling_mcp_server/tools/business_context.py:586
Functionset_business_context_description_impl
Set the business context description only (legacy method for backward compatibility). Args: ctx: MCP context for logging and error ha
threat_modeling_mcp_server/tools/business_context.py:409
Functionset_threat_actor_priority
Set the priority of a threat actor. This tool sets the priority of a threat actor in the threat model. Args: ctx: MCP co
threat_modeling_mcp_server/tools/threat_actor_analyzer.py:713
Functionset_threat_actor_relevance
Set the relevance of a threat actor. This tool sets whether a threat actor is relevant to the system. Args: ctx: MCP con
threat_modeling_mcp_server/tools/threat_actor_analyzer.py:693
Methodtest_add_minimal_mitigation
Test adding a mitigation with minimal required fields.
tests/test_threat_generator.py:337
Methodtest_add_minimal_threat
Test adding a threat with minimal required fields.
tests/test_threat_generator.py:60
Methodtest_add_mitigation_default_status
Test that mitigation defaults to identified status.
tests/test_threat_generator.py:369
Methodtest_add_mitigation_with_status
Test adding a mitigation with custom status.
tests/test_threat_generator.py:358
Methodtest_add_mitigation_with_type
Test adding a mitigation with type.
tests/test_threat_generator.py:347
Methodtest_add_multiple_threats_increments_id
Test that adding multiple threats increments numeric IDs.
tests/test_threat_generator.py:133
Methodtest_add_threat_creates_statement
Test that adding a threat creates a proper statement.
tests/test_threat_generator.py:117
Methodtest_add_threat_with_category
Test adding a threat with category.
tests/test_threat_generator.py:73
Methodtest_add_threat_with_components
Test adding a threat with affected components.
tests/test_threat_generator.py:102
Methodtest_add_threat_with_severity
Test adding a threat with severity.
tests/test_threat_generator.py:88
Methodtest_all_phases_have_objectives
Test that all phases have objectives in their guidance.
tests/test_step_orchestrator.py:257
Methodtest_all_phases_have_steps
Test that all phases have steps in their guidance.
tests/test_step_orchestrator.py:263
Methodtest_all_phases_have_tools
Test that all phases have tools listed in their guidance.
tests/test_step_orchestrator.py:269
Methodtest_batch_add
(self, ctx)
tests/test_batch_operations.py:182
Methodtest_batch_add_assets
(self, ctx)
tests/test_batch_operations.py:238
Methodtest_batch_add_mitigations
(self, ctx)
tests/test_batch_operations.py:223
Methodtest_batch_add_threats
(self, ctx)
tests/test_batch_operations.py:205
Methodtest_batch_add_trust_zones
(self, ctx)
tests/test_batch_operations.py:260
Methodtest_batch_delete
(self, ctx)
tests/test_batch_operations.py:191
Methodtest_batch_delete_assets
(self, ctx)
tests/test_batch_operations.py:247
Methodtest_batch_delete_threats
(self, ctx)
tests/test_batch_operations.py:216
Methodtest_batch_delete_trust_zones
(self, ctx)
tests/test_batch_operations.py:273
Methodtest_batch_empty_list
Empty batch returns appropriate message.
tests/test_batch_operations.py:88
Methodtest_batch_mode
Batch mode adds multiple components.
tests/test_batch_operations.py:77
Methodtest_batch_mode
Batch update modifies multiple components.
tests/test_batch_operations.py:130
Methodtest_batch_mode
Batch delete removes multiple components.
tests/test_batch_operations.py:155
Methodtest_batch_with_invalid_item
Batch handles errors gracefully for individual items.
tests/test_batch_operations.py:106
Methodtest_batch_with_nonexistent_id
Batch delete handles missing IDs gracefully.
tests/test_batch_operations.py:167
Methodtest_batch_with_optional_fields
Batch items can include optional fields.
tests/test_batch_operations.py:93
Methodtest_case_insensitive_match_returns_enum_member
Test that case-insensitive match returns the enum member.
tests/test_enum_validator.py:29
Methodtest_case_insensitive_match_uppercase
Test case-insensitive matching with uppercase input.
tests/test_enum_validator.py:34
Methodtest_common_mitigations_has_authentication_category
Test that common mitigations include authentication category.
tests/test_models.py:469
Methodtest_common_mitigations_has_mfa
Test that common mitigations include MFA.
tests/test_models.py:474
Methodtest_common_threats_has_authentication_category
Test that common threats include authentication category.
tests/test_models.py:439
Methodtest_common_threats_has_sql_injection
Test that common threats include SQL injection.
tests/test_models.py:444
Methodtest_component_invalid_type_raises_error
Test that invalid component type raises validation error.
tests/test_models.py:313
Methodtest_component_type_case_insensitive
Test that component type accepts case-insensitive values.
tests/test_models.py:304
Methodtest_component_type_values
Test that ComponentType has expected values.
tests/test_models.py:515
Methodtest_connection_protocol_case_insensitive
Test that protocol accepts case-insensitive values.
tests/test_models.py:353
Methodtest_create_architecture_with_components
Test creating an architecture with components.
tests/test_models.py:419
Methodtest_create_assumption_link
Test creating an assumption link.
tests/test_models.py:229
Methodtest_create_component_with_all_fields
Test creating a component with all fields.
tests/test_models.py:287
Methodtest_create_connection_with_all_fields
Test creating a connection with all fields.
tests/test_models.py:338
Methodtest_create_data_store_with_all_fields
Test creating a data store with all fields.
tests/test_models.py:380
Methodtest_create_empty_architecture
Test creating an empty architecture.
tests/test_models.py:411
Methodtest_create_empty_threat_model
Test creating an empty threat model.
tests/test_models.py:253
Methodtest_create_metadata_item
Test creating a metadata item.
tests/test_models.py:219
Methodtest_create_minimal_component
Test creating a component with minimal required fields.
tests/test_models.py:276
Methodtest_create_minimal_connection
Test creating a connection with minimal required fields.
tests/test_models.py:326
Methodtest_create_minimal_data_store
Test creating a data store with minimal required fields.
tests/test_models.py:367
Methodtest_create_minimal_mitigation
Test creating a mitigation with minimal required fields.
tests/test_models.py:157
← previousnext →201–300 of 448, ranked by callers