SD Elements MCP Server
This MCP server enables LLMs to interact with SD Elements security development lifecycle platform through natural language commands and API integration.
Core Management Capabilities:
Project Management: List, create, update, and delete projects with full CRUD operations
Application Management: Create and manage applications within business units
Countermeasure Management: List, view, update security countermeasure status and add notes
User & Team Management: List users, business units, and organizational structure
Survey Management: Set project surveys using natural language technology names (Python, AWS, Docker) instead of answer IDs
Advanced Features:
Repository Scanning: Automatically scan GitHub/GitLab repositories to detect technologies and populate surveys
Threat Model Diagrams: Full diagram lifecycle management (requires CSM enablement)
Advanced Reporting: Execute existing reports, create custom reports, and run Cube API queries
Generic API Access: Make custom API calls (GET, POST, PUT, PATCH, DELETE) to any SD Elements endpoint
Connection Testing: Verify API connectivity and authentication
Natural Language Interface:
Add/remove technologies from surveys using plain English
Scan repositories with simple URL commands
Generate reports and analytics through conversational commands
Provides integration with SD Elements security development lifecycle platform, allowing management of projects, applications, countermeasures, tasks, surveys, phases, and milestones through the SD Elements API.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@SD Elements MCP Server list countermeasures for project 'mobile banking app'"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Warning This project is a work in progress. Use at your own risk.
SD Elements MCP Server
MCP server for SD Elements API v2 (STDIO only). Use it from MCP clients to manage projects, surveys, countermeasures, scans, reports, diagrams, and users.
Quick start
npm ci
npm run startRequired configuration
SDE_HOST:https://your-sdelements-instance.comSDE_API_KEY:your-api-key-here
HTTP setup
Use HTTP mode when you want a long-running server instead of STDIO.
npm run start:httpCredentials: do not set
SDE_HOSTorSDE_API_KEYin the server process. The HTTP server refuses to start if either is set (includingSDE_API_KEY). Each client request must provide credentials instead.Instance allowlist (required): set
MCP_SDE_INSTANCE_ALLOWLISTto a comma-separated list of allowed SDE hosts (for examplehttps://sde.example.com,https://sde2.example.com). Requests withSDE_HOSToutside this list are rejected.Port/host: configure with
MCP_PORT(default3000) andMCP_HOST(default127.0.0.1).Per-request auth: send
SDE_HOSTandSDE_API_KEYas headers (orsde_host/sde_api_keyin the initialize request body).
HTTPS unsafe mode
By default, the server rejects non-HTTPS SDE_HOST values. For local/dev instances that only serve HTTP, set:
SDE_ALLOW_INSECURE_HTTP=trueThis allows http:// hosts. Use only in trusted environments.
Example initialize request:
curl -sS http://127.0.0.1:3000/mcp \
-H "Content-Type: application/json" \
-H "SDE_HOST: https://your-sdelements-instance.com" \
-H "SDE_API_KEY: your-api-key-here" \
-d '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2024-11-05","capabilities":{},"clientInfo":{"name":"example","version":"0.0.0"}}}'Client setup (Cursor + Claude Desktop)
Both clients use the same mcpServers object — the only difference is where you paste it.
Cursor: add this under MCP settings (Cursor “MCP Servers” /
mcpServers).Claude Desktop: add this to
claude_desktop_config.json.
Pick one execution style:
Option A (recommended): run from the GitHub repo via
npx(builds on install)
{
"mcpServers": {
"sdelements": {
"command": "npx",
"args": ["-y", "github:sdelements/sde-mcp"],
"env": {
"SDE_HOST": "https://your-sdelements-instance.com",
"SDE_API_KEY": "your-api-key-here"
}
}
}
}Option B: run from a local checkout (build output)
{
"mcpServers": {
"sdelements": {
"command": "node",
"args": ["/absolute/path/to/sde-mcp/dist/main.js"],
"env": {
"SDE_HOST": "https://your-sdelements-instance.com",
"SDE_API_KEY": "your-api-key-here"
}
}
}
}HTTP client setup (Cursor)
Start the HTTP server (npm run start:http) and set MCP_SDE_INSTANCE_ALLOWLIST as described above. Then configure Cursor with an HTTP MCP server entry:
{
"mcpServers": {
"sdelements-http": {
"url": "http://127.0.0.1:3000/mcp",
"headers": {
"SDE_HOST": "https://your-sdelements-instance.com",
"SDE_API_KEY": "your-api-key-here"
}
}
}
}Build
npm run buildLocal checkout build (for Option B)
npm ci
npm run buildTools
Toolset selection: default is compact. Set
SDE_TOOLSET=fullto expose the legacy toolset.Note: diagrams and reporting tools are not exposed.
Compact tools (default):
project,application,business_unit,project_survey,project_countermeasures,library_searchplus Generic:
test_connection,api_request
Legacy tools (when
SDE_TOOLSET=full):Projects:
list_projects,get_project,create_project,update_project,create_project_from_codeLibrary search:
library_search(supports countermeasures, threats, components, weaknesses, profiles, risk policies, answers, countermeasure statuses, countermeasure how-tos)Applications:
list_applications,get_application,create_application,update_applicationBusiness units:
list_business_units,get_business_unit,create_business_unit,update_business_unitCountermeasures:
list_countermeasures,get_countermeasure,update_countermeasure,add_countermeasure_note,get_task_status_choicesSurveys:
get_project_survey,get_survey_answers_for_project,update_project_survey,find_survey_answers,set_project_survey_by_text,add_survey_answers_by_text,remove_survey_answers_by_text,commit_survey_draft,add_survey_question_commentScans:
list_scan_connections,scan_repository,get_scan_status,list_scansUsers:
list_users,get_user,get_current_userLibrary:
library_searchGeneric:
test_connection,api_request
Notes
Missing env vars: tools will fail if
SDE_HOST/SDE_API_KEYaren’t set.
Available Tools
19 toolsapi_requestC
Make a custom API request to any SD Elements endpoint
Inputs: endpoint (required), method (required), data, params.
create_applicationC
Create a new application in SD Elements
Inputs: name (required), business_unit_id, description.
create_projectC
Create a new project in SD Elements
Inputs: application_id (required), name (required), description, phase_id.
delete_projectC
Delete a project
Inputs: project_id (required).
get_applicationC
Get detailed information about a specific application
Inputs: application_id (required), expand, include.
get_business_unitC
Get detailed information about a specific business unit
Inputs: business_unit_id (required).
get_countermeasureB
Get detailed information about a specific countermeasure
Inputs: countermeasure_id (required).
get_current_userA
Get information about the currently authenticated user
Inputs: no named parameters.
get_projectC
Get detailed information about a specific project
Inputs: project_id (required), expand, include.
get_userC
Get detailed information about a specific user
Inputs: user_id (required).
list_applicationsC
List all applications in SD Elements
Inputs: expand, include, page_size.
list_business_unitsB
List all business units
Inputs: page_size.
list_countermeasuresC
List countermeasures for a project
Inputs: project_id (required), page_size, status.
list_projectsC
List all projects in SD Elements
Inputs: expand, include, page_size.
list_usersC
List all users in SD Elements
Inputs: active, page_size.
test_connectionB
Test the connection to SD Elements API
Inputs: no named parameters.
update_applicationC
Update an existing application
Inputs: application_id (required), description, name.
update_countermeasureC
Update a countermeasure status or details
Inputs: countermeasure_id (required), notes, status.
update_projectC
Update an existing project
Inputs: project_id (required), description, name, status.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 19 tools
Every tool has a clearly distinct purpose targeting specific resources and actions in the SD Elements domain. The tools are well-organized around entities like applications, projects, countermeasures, business units, and users, with clear CRUD operations that prevent confusion. No overlapping functionality exists that would cause misselection.
All tool names follow a consistent verb_noun pattern using snake_case, such as create_application, list_projects, get_user, and update_countermeasure. This predictable naming convention makes it easy for agents to understand and use the tools without ambiguity or mixed styles.
With 19 tools, the count is slightly high but reasonable for a comprehensive SD Elements API server covering multiple entities. It includes core operations for applications, projects, countermeasures, business units, and users, plus utility tools like test_connection and api_request, which justifies the scope without being excessive.
The tool set provides complete CRUD/lifecycle coverage for the SD Elements domain, including create, get, update, list, and delete operations for key resources. It also covers authentication (get_current_user), connection testing, and a flexible api_request tool, leaving no obvious gaps for agent workflows.
Related MCP Connectors
Enable secure connectivity between Sentry issues and debugging data, and LLM clients, using a Model Context Protocol (MCP) server.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
A Model Context Protocol server for Wix AI tools
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Related MCP Servers
- AlicenseBqualityBmaintenanceA Model Context Protocol server that provides access to MongoDB databases. This server enables LLMs to inspect collection schemas and execute read-only queries.8391 npm283MIT
- AlicenseBqualityCmaintenanceA Model Context Protocol server that enables LLMs to interact with Salesforce data through SOQL queries, SOSL searches, and various API operations including record management.14277 PyPI180MIT
- FlicenseNot gradedqualityDmaintenanceA Model Context Protocol server that enables real-time communication using Server-Sent Events (SSE), providing standardized model management and resource templating capabilities.-
- AlicenseDqualityDmaintenanceA Model Context Protocol server that enables LLMs to explore and interact with API specifications by providing tools for loading, browsing, and getting detailed information about API endpoints.414MIT