@ninetwos/mcp
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
@ninetwos/mcp
Customer-facing local stdio Model Context Protocol server for NINETWO's
read-only security analysis tools. Pre-release: 0.1.0-pre.0. MIT licensed.
This package is not published to npm from this repository. It is designed to run locally under a customer's MCP client, authenticated with that customer's API key. It exposes no remote transport and no operator/admin functionality.
Security boundaries
Read-only analysis. The five tools review caller-supplied artifacts. They never execute code, apply patches, collect logs, or access customer systems.
No shell, filesystem discovery, or autonomous network access. The server imports no shell/filesystem/network modules. The only HTTP caller is the qualified
@ninetwos/sdktransport, wrapped by an egress guard that permits only the configured API origin. The SDK usesredirect: "error"so a redirect cannot forward the Authorization header.stdio only. There is no HTTP/SSE remote MCP listener.
Untrusted artifacts. Code, configuration, logs, findings, remediations, and context are treated as untrusted data inside a content-derived boundary. The system prompt forbids following instructions embedded in artifacts.
Bounded consumption. Every content field has a character limit and each call has a combined input budget. Requests are rejected rather than silently truncated. Constructed prompts are also checked against the SDK's structural per-message limit before any network call.
Customer credential.
NINETWOS_API_KEYis read from the environment (or a secret store that injects it). It is never accepted as a tool argument, logged, or returned in tool output. Error messages and model output are redacted as a backstop.No hardcoded model identity or limits.
modelis required. Output limits come from the model's dynamiccapabilities.limitsprojection; if the model does not advertise a usable limit, the call fails instead of substituting a constant.Safe retry/recovery. Calls are non-streaming. Caller-controlled idempotency keys and the SDK's same-key recovery are used; ambiguous outcomes are never blindly restarted with a new key.
Related MCP server: phishclean-mcp
Tools
All tools require model, an explicit scope, and bounded content. scope
should state what is authorized for review and what is in bounds.
Tool | Purpose | Required content |
| Authorized vulnerability/attack-surface analysis of an artifact. |
|
| Security/correctness review of source code. |
|
| Misconfiguration, least-privilege, and secret-exposure review. |
|
| Assess whether a proposed fix addresses a finding and residual risk. |
|
| Defensive triage of a log excerpt. |
|
Common optional inputs:
context— additional untrusted context (bounded).max_output_tokens— must be a positive integer no greater than the model's dynamic recommended output limit.idempotency_key— 1–200 printable, non-whitespace characters. Reuse the same key with identical input to retry/recover safely.
Tool-specific focus fields (focus, review_focus, detection_focus, etc.)
are bounded enums.
Output
Successful results include:
request_id,model,content,finish_reason;server-authoritative
usage;dynamic
capabilitiesandpricingwhen available;idempotencymetadata (key,operation_id,payload_digest,request_id);settlementwith request lifecycle state whenexecution_lookupis advertised.charge.computedis alwaysfalse: MCP never calculates money; usage, request state, and pricing are server-provided.
Errors are typed (name, code, status, request_id, retryable,
ambiguous, retry_class) and may include metadata-only recovery state.
The canonical payload is deliberately not echoed because it contains the
reviewed artifact. To recover, retry the same tool with the same
idempotency_key and identical input; the SDK reconstructs and verifies the
canonical payload and reuses the same logical operation.
Configuration
Variable | Required | Default | Notes |
| yes | — | Customer API key. Never logged or returned. |
| no |
| HTTPS required except loopback. |
| no |
| 1,000–600,000 ms. |
| no |
| 1,000–120,000 ms. |
| no |
| 0–5; SDK retry classification still applies. |
No configuration file is read.
MCP client example
{
"mcpServers": {
"ninetwos": {
"command": "node",
"args": ["/absolute/path/to/ninetwos-mcp/dist/cli.js"],
"env": {
"NINETWOS_API_KEY": "ntw_..."
}
}
}
}Development
Requires Node 22+. The SDK is unpublished, so build/pack it separately from
ninetwos/ninetwos-node at the qualified commit, then link it locally. The
current pin is recorded in scripts/sdk-source.mjs:
repository:
ninetwos/ninetwos-nodebranch:
de-01b/initial-sdkcommit:
38fdba8a9b05cb059b7d7e36a4e44c373bdd395cversion:
0.1.0-pre.0tarball SHA-256:
36390be54406e8b62bd432df7e15addc7ae47fc17f7c683b80ecb70592488357
The pin aligns the public metering usage field names with the live contract; the packed SDK artifact is byte-identical, so CLI, MCP, and Action consume one artifact.
# in ninetwos-node at the qualified commit
git checkout 38fdba8a9b05cb059b7d7e36a4e44c373bdd395c
npm ci && npm run build && npm pack
# in ninetwos-mcp
NINETWOS_SDK_TARBALL=/path/to/ninetwos-sdk-0.1.0-pre.0.tgz npm run link:sdk
npm run ciscripts/link-sdk.mjs installs registry dependencies without resolving the
SDK from npm, extracts the supplied tarball into node_modules, and caches it
under .ninetwos-mcp/ for pack tests. It never writes machine-specific paths
into package.json or a lockfile.
Scripts:
npm run typecheck— strict TypeScript checks.npm test— offline mock-backed MCP/SDK tests.npm run build— emit the ESM artifact and declarations.npm run test:built— test the built artifact and stdio CLI guard.npm run verify:deps— runtime allowlist, SDK zero-dependency check, and license verification.npm run pack:test— clean pack/install/import/stdio smoke test using the local SDK tarball.npm run ci— all of the above.
Release notes
package.json declares the intended release dependency
@ninetwos/sdk: 0.1.0-pre.0. Do not publish this package until the SDK is
available at that version. This repository's automation does not publish
packages.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
IaC, CI and dependency security review for coding agents: local scan CLI plus hosted OAuth MCP.
Paid remote MCP for LLM security scans, jailbreak checks, analytics, checkout, and readiness.
Generate SBOMs, scan vulnerabilities, and analyze dependencies from local projects or Git repos.
The main MCP server has 10 tools, including six public, read-only CVE tools, site search and page reading. CVE results include source software/version evidence and available CISA KEV and dated FIRST EPSS data. The separate request_security_test action requires an agent key, consent and authorization. A no-account, read-only CVE-only endpoint is https://excessionlabs.ai/mcp/cve. Docs: https://excessionlabs.ai/cve-intelligence/.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables local static analysis of deployed AI model artifacts over MCP, exposing audit, diff, capabilities, and rule-explanation tools without uploading model bytes.2Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables security analysis through MCP-compatible clients, including URL phishing checks, email header verification, JWT decoding, password strength analysis, and leaked secret scanning in code.38 npmMIT

@cognium/mcp-serverofficial
AlicenseNot gradedqualityBmaintenanceEnables MCP clients such as Cursor, Claude Desktop, and Claude Code to run deterministic static-analysis tools for scanning projects, listing entry points and reachable sinks, tracing taint paths, explaining findings, and checking sanitizers without API keys or network access.MIT- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to run deterministic, read-only local repository audits for risky GitHub workflows, undocumented environment variables, possible credentials, and conflicting dependency configuration, returning structured findings without sending source code to a service.46 npmMIT