
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.
@torknetwork/mcp-server
Advanced tools
Governance tools for AI agents via Model Context Protocol (MCP).
Part of the TORK Network - AI governance infrastructure for the agentic era.
npm install @torknetwork/mcp-server
The TORK MCP Server provides 21 governance tools across four categories:
| Tool | Description |
|---|---|
tork_scan_pii | Scan text for PII (SSN, credit cards, emails, phones, IP addresses, API keys) and optionally redact |
tork_governed_passthrough | Execute tool calls with full governance checks (validation + audit) |
tork_check_policy | Check if an action is allowed by policy without executing it |
tork_audit_stats | Get audit statistics for governance events |
tork_audit_logs | Query audit logs for governance events |
| Tool | Description |
|---|---|
tork_register_tool | Register a tool with governance policy (allowed agents, targets, blocked flags, rate limits, HITL requirements) |
tork_validate_tool_call | Validate a tool call BEFORE execution - checks registration, agent authorization, target restrictions, blocked flags, and rate limits |
tork_tool_call_stats | Get statistics on tool calls including allowed/blocked counts and rate limit hits |
| Tool | Description |
|---|---|
tork_request_approval | Submit an action for human approval with velocity tracking for slicing attack detection |
tork_approve_action | Human approves a pending action (with fatigue detection and cool-down enforcement) |
tork_reject_action | Human rejects a pending action (rejections indicate vigilance, no cool-down penalty) |
tork_check_approval | Check the status of an approval request |
tork_velocity_alert | Check for slicing attack patterns - many small requests aggregating to significant impact |
These tools connect to the live Tork Cloud API for centralized governance management. Requires TORK_API_KEY environment variable.
| Tool | Description |
|---|---|
tork_dashboard | Get dashboard statistics (total tools, agents, policies, pending approvals) |
tork_list_tools | List all registered tools from Tork Cloud |
tork_list_policies | List all governance policies |
tork_get_policy | Get a specific policy by name |
tork_list_approvals | List pending HITL approval requests |
tork_approve | Approve a pending HITL request |
tork_deny | Deny a pending HITL request with reason |
tork_cloud_audit_logs | Query audit logs with filtering |
export TORK_API_KEY=tork_live_xxxxxOr via API:
curl -X POST https://tork.network/api/v1/auth/signup \
-H "Content-Type: application/json" \
-d '{"email":"you@example.com","password":"SecurePass123!","organization_name":"My Company"}'
Add to your Claude Desktop configuration (~/Library/Application Support/Claude/claude_desktop_config.json):
Basic (local mode only):
{
"mcpServers": {
"tork": {
"command": "npx",
"args": ["@torknetwork/mcp-server"]
}
}
}
With Cloud API (recommended):
{
"mcpServers": {
"tork": {
"command": "npx",
"args": ["@torknetwork/mcp-server"],
"env": {
"TORK_API_KEY": "tork_live_your_api_key_here"
}
}
}
}
Once configured, try these prompts with Claude:
Dashboard & Overview:
Approvals & HITL:
Audit & Compliance:
PII Scanning:
import { spawn } from 'child_process';
const server = spawn('npx', ['@torknetwork/mcp-server'], {
stdio: ['pipe', 'pipe', 'inherit']
});
// Send MCP requests via stdin, receive responses via stdout
{
"tool": "tork_register_tool",
"arguments": {
"tool_name": "database_write",
"allowed_agents": ["agent-prod-1", "agent-prod-2"],
"allowed_targets": ["staging", "dev"],
"blocked_flags": ["--drop-table", "--truncate"],
"max_calls_per_minute": 10,
"requires_hitl": true
}
}
{
"tool": "tork_validate_tool_call",
"arguments": {
"agent_id": "agent-prod-1",
"tool_name": "database_write",
"target_environment": "staging",
"parameters": {
"query": "INSERT INTO users (name) VALUES ('test')"
}
}
}
--force, --no-confirm, --delete-allHITL enforcement uses these defaults (configurable in code):
const HITL_CONFIG = {
max_approvals_per_minute: 5, // Triggers cool-down after this many approvals
cool_down_minutes: 15, // Duration of reviewer lock-out
velocity_window_minutes: 10, // Window for detecting slicing attacks
velocity_threshold_count: 10, // Max requests before velocity alert
velocity_threshold_amount: 10000, // Max cumulative amount before velocity alert
approval_expiry_minutes: 30, // Approvals expire if not reviewed
};
MIT - see LICENSE
FAQs
TORK MCP Server - 49 governance tools for AI agents including Memory Integrity, Supply Chain, Cost Controls, and MCP Auditing
The npm package @torknetwork/mcp-server receives a total of 56 weekly downloads. As such, @torknetwork/mcp-server popularity was classified as not popular.
We found that @torknetwork/mcp-server 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.