
Company News
AWS Security Hub Adds Socket for Supply Chain Security
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.
dealhub-admin-mcp
Advanced tools
Model Context Protocol (MCP) server for DealHub administrators. Manage versions through Claude and AI agents.
Model Context Protocol (MCP) server for DealHub administrators. Manage versions through Claude and other AI agents using natural language.
The DealHub Admin MCP provides 5 tools for version management:
list_versions - List all versions with optional status filter (ACTIVE, DRAFT, DEACTIVATED)get_version - Get details of a specific version by ID or nameget_active_version - Get the currently active versionactivate_version - Activate a version (async operation)duplicate_version - Duplicate a version with a new name (async operation)clientId and clientSecretcd mcp-servers/dealhub-admin
npm install
Create a .env file:
cp .env.example .env
Edit .env and add your credentials:
DEALHUB_API_BASE_URL=https://app.dealhub.io
DEALHUB_API_TOKEN=your-client-id:your-client-secret
Important: Replace your-client-id and your-client-secret with actual values from step 1.
npm run build
Add to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"dealhub-admin": {
"command": "node",
"args": ["/absolute/path/to/mcp-servers/dealhub-admin/dist/index.js"],
"env": {
"DEALHUB_API_BASE_URL": "https://app.dealhub.io",
"DEALHUB_API_TOKEN": "your-client-id:your-client-secret"
}
}
}
}
Replace /absolute/path/to/ with the actual path to your project.
Quit and restart Claude Desktop for changes to take effect.
Once configured, you can use natural language with Claude:
List versions:
Get version details:
Check active version:
Activate a version:
Duplicate a version:
Parameters:
status (optional): Filter by status - "ACTIVE", "DRAFT", or "DEACTIVATED"Example:
{
"status": "DRAFT"
}
Response:
[
{
"id": "abc123-def456",
"name": "Q1 2026",
"status": "DRAFT",
"created": "2025-01-15T10:30:00Z"
}
]
Parameters:
versionId (string): Version GUID - OR -versionName (string): Version nameNote: Provide either versionId OR versionName, not both.
Example:
{
"versionId": "abc123-def456"
}
Response:
{
"guid": "abc123-def456",
"name": "Q1 2026",
"status": "DRAFT",
"createdDate": "2025-01-15T10:30:00Z",
"comparedToVersionGuid": "xyz789"
}
Parameters: None
Response:
{
"guid": "xyz789-uvw012",
"name": "Production 2025",
"status": "ACTIVE",
"createdDate": "2024-12-01T08:00:00Z"
}
Or if no active version:
No active version found
Parameters:
versionId (required): Version GUID to activatecontent (optional): Email content for activation notificationsubject (optional): Email subject for activation notificationExample:
{
"versionId": "abc123-def456",
"subject": "New version activated",
"content": "Q1 2026 version is now active"
}
Response:
Version activation started. Request ID: req-789xyz
Status: PENDING
Note: This is an async operation. The version activation happens in the background. Use the request ID to track progress if needed.
Parameters:
versionId (required): Source version GUID to duplicatenewName (required): Name for the duplicated versionExample:
{
"versionId": "abc123-def456",
"newName": "Q2 2026"
}
Response:
Version duplication started. Request ID: req-456abc
Status: PENDING
Note: This is an async operation. The version duplication happens in the background. Use the request ID to track progress if needed.
npm run dev
npm run build
npm run clean
The MCP server uses DealHub's existing OpenAPI endpoints with ByApiToken authentication:
webserver/app/com/valooto/api/auth/ByApiToken.javawebserver/app/controllers/openApi/OpenAPIVersionController.javawebserver/conf/api.routes| Tool | HTTP Method | Endpoint | Controller Method |
|---|---|---|---|
| list_versions | GET | /v1/versions | getVersions() (line 590) |
| get_version | GET | /v1/version/id/:id | getVersionById() (line 669) |
| get_version | GET | /v1/version/name/:name | getVersionByName() (line 633) |
| get_active_version | GET | /v1/versions?status=ACTIVE | getVersions() (line 590) |
| activate_version | POST | /v1/version/activate | activateVersion() (line 766) |
| duplicate_version | POST | /v1/version/duplicate | duplicateVersion() (line 703) |
.envclientId:clientSecretDEALHUB_API_BASE_URL is correctclaude_desktop_config.json is absolute (not relative)dist/index.js exists (run npm run build)~/Library/Logs/Claude/npm run clean
npm install
npm run build
.env files - They contain your API credentialsThe DealHub Admin MCP Server does not collect, store, or transmit any user data except as necessary to communicate with your DealHub instance.
This MCP server accesses the following data from your DealHub instance:
.env file on your machine. This file never leaves your computer.DEALHUB_API_BASE_URL)..env file.env file removes all stored credentials.env file until you delete them.env file.env file is excluded from version control via .gitignore.env (e.g., chmod 600 .env)This MCP server:
API Token Protection
.env files, never in code.env to .gitignore to prevent accidental commitschmod 600 .envToken Rotation
npm audit regularly to check for vulnerabilitiesnpm updateClaude Desktop Config
claude_desktop_config.json~/Library/Application Support/Claude/Environment Variables
package.json or source code.env files for local developmentIf you suspect a token has been compromised:
.env file with the new tokenFor issues or questions:
MIT License - See LICENSE file for details.
Copyright (c) 2026 DealHub
This software is provided "as is", without warranty of any kind. See the LICENSE file for full terms.
FAQs
Model Context Protocol (MCP) server for DealHub administrators. Manage versions through Claude and AI agents.
The npm package dealhub-admin-mcp receives a total of 23 weekly downloads. As such, dealhub-admin-mcp popularity was classified as not popular.
We found that dealhub-admin-mcp demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.

Research
/Security News
Popular npm packages keyv and cacheable compromised.

Security News
A misconfiguration gave three Anthropic models internet access, and one, believing it was in a simulation, shipped a credential-stealing package to PyPI.