# Midnight + Next.js MCP

> Unified MCP server for Midnight blockchain development and Next.js dApps.

- name: io.github.FractionEstate/midnight-nextjs-mcp
- version: 0.3.1
- connection class: L0 (run_local_package)
- trust: 76/100
- quality: –/100 (not scored)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/io.github.FractionEstate%2Fmidnight-nextjs-mcp
- tools: https://api.protogrid.dev/v1/servers/io.github.FractionEstate%2Fmidnight-nextjs-mcp/tools

**Runs on your machine: something must execute the package.** Only local packages are published (npm, PyPI, OCI, …). The registry never executes them, so tools are unknown until you run it.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "midnight-nextjs-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "--experimental-vm-modules",
        "midnight-nextjs-mcp@0.3.1"
      ],
      "env": {
        "GITHUB_TOKEN": "${GITHUB_TOKEN}",
        "LOG_LEVEL": "info",
        "MIDNIGHT_LOCAL": "false"
      }
    }
  }
}
```

Placeholders to fill: `${GITHUB_TOKEN}`.

## Trust

- hygiene: 100
- liveness: n/a
- freshness: 45
- provenance: 80
- drivers: +repository +namespace-matches-repo ~liveness-unmeasured -stale-286d
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality –/100 (not scored)

Not scored: fewer than three checks apply, usually because no remote answered a credential-free probe or the server is a local package.

### protocol: n/a (weight 25)

- n/a `protocol.modern`, `protocol.stateless`, `protocol.transport`, `protocol.list_ttl`: no remote answered a protocol handshake (not probed yet, unreachable, or local-only)

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: n/a (weight 30)

- n/a `tools.descriptions`, `tools.description_length`, `tools.schemas`, `tools.annotations`, `tools.directory_hints`, `tools.token_cost`, `tools.api_dump`: tool list unknown (behind auth, not probed, or empty)

### stability: n/a (weight 15)

- n/a `stability.changes`, `stability.rug_pull`: tool list unknown

### dependencies: 33 (weight 15)

- fail `deps.known_vulns`: 6 advisories to act on (malicious, or rated high or critical with a fix available): GHSA-4cwx-7wf7-3272 in undici@7.16.0 (indirect, fixed in 7.29.0), GHSA-f269-vfmq-vjvj in undici@7.16.0 (indirect, fixed in 7.24.0), GHSA-rfgv-xxqx-mfg5 in undici@7.16.0 (indirect, fixed in 7.29.1), ...; 18 more of lower severity or without a fix
- fail `deps.mcp_sdk_version`: @modelcontextprotocol/sdk 1.24.3 has 3 known advisories (GHSA-345p-7cg4-v4c7, GHSA-6qxp-vccf-f47h, GHSA-8r9q-7v3j-jr4g); update @modelcontextprotocol/sdk to 1.31.0 or later
- pass `deps.resolvable`: midnight-nextjs-mcp@0.3.1 resolved: 209 packages

- tools: unknown
- badge: [![protogrid quality](https://protogrid.dev/badge/io.github.FractionEstate/midnight-nextjs-mcp.svg)](https://protogrid.dev/servers/io.github.FractionEstate/midnight-nextjs-mcp)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Dependencies

- npm midnight-nextjs-mcp@0.3.1: resolved, 208 dependencies, MCP SDK @modelcontextprotocol/sdk 1.30.1
  - GHSA-345p-7cg4-v4c7 (high) in `` @modelcontextprotocol/sdk@1.24.3 ``, indirect, fixed in `` 1.26.0 ``, advisory summary: "@modelcontextprotocol/sdk has cross-client data leak via shared server/transport instance reuse" https://osv.dev/vulnerability/GHSA-345p-7cg4-v4c7
  - GHSA-6qxp-vccf-f47h (high) in `` @modelcontextprotocol/sdk@1.24.3 ``, indirect, fixed in `` 1.31.0 ``, advisory summary: "MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server" https://osv.dev/vulnerability/GHSA-6qxp-vccf-f47h
  - GHSA-6qxp-vccf-f47h (high) in `` @modelcontextprotocol/sdk@1.30.1 ``, direct, fixed in `` 1.31.0 ``, advisory summary: "MCP TypeScript SDK: OAuth client could send credentials to an authorization server chosen by the MCP server" https://osv.dev/vulnerability/GHSA-6qxp-vccf-f47h
  - GHSA-8r9q-7v3j-jr4g (high) in `` @modelcontextprotocol/sdk@1.24.3 ``, indirect, fixed in `` 1.25.2 ``, advisory summary: "Anthropic's MCP TypeScript SDK has a ReDoS vulnerability" https://osv.dev/vulnerability/GHSA-8r9q-7v3j-jr4g
  - GHSA-4cwx-7wf7-3272 (high) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.0 ``, advisory summary: "undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives" https://osv.dev/vulnerability/GHSA-4cwx-7wf7-3272
  - GHSA-f269-vfmq-vjvj (high) in `` undici@7.16.0 ``, indirect, fixed in `` 7.24.0 ``, advisory summary: "Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client" https://osv.dev/vulnerability/GHSA-f269-vfmq-vjvj
  - GHSA-rfgv-xxqx-mfg5 (high) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.1 ``, advisory summary: "undici vulnerable to Denial of Service via unrequested WebSocket subprotocol" https://osv.dev/vulnerability/GHSA-rfgv-xxqx-mfg5
  - GHSA-v9p9-hfj2-hcw8 (high) in `` undici@7.16.0 ``, indirect, fixed in `` 7.24.0 ``, advisory summary: "Undici has Unhandled Exception in WebSocket Client Due to Invalid server\_max\_window\_bits Validation" https://osv.dev/vulnerability/GHSA-v9p9-hfj2-hcw8
  - GHSA-vrm6-8vpv-qv8q (high) in `` undici@7.16.0 ``, indirect, fixed in `` 7.24.0 ``, advisory summary: "Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression" https://osv.dev/vulnerability/GHSA-vrm6-8vpv-qv8q
  - GHSA-vxpw-j846-p89q (high) in `` undici@7.16.0 ``, indirect, fixed in `` 7.28.0 ``, advisory summary: "undici WebSocket client vulnerable to denial of service via fragment count bypass" https://osv.dev/vulnerability/GHSA-vxpw-j846-p89q
  - GHSA-2jfj-6hjv-fm6j (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.1 ``, advisory summary: "undici vulnerable to cross-user cookie disclosure via Set-Cookie caching in shared caches" https://osv.dev/vulnerability/GHSA-2jfj-6hjv-fm6j
  - GHSA-2mjp-6q6p-2qxm (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.24.0 ``, advisory summary: "Undici has an HTTP Request/Response Smuggling issue" https://osv.dev/vulnerability/GHSA-2mjp-6q6p-2qxm
  - GHSA-3xpg-4rpp-hhhm (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.1 ``, advisory summary: "undici vulnerable to Denial of Service via unbounded decompression of compressed responses" https://osv.dev/vulnerability/GHSA-3xpg-4rpp-hhhm
  - GHSA-4992-7rv2-5pvq (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.24.0 ``, advisory summary: "Undici has CRLF Injection in undici via \`upgrade\` option" https://osv.dev/vulnerability/GHSA-4992-7rv2-5pvq
  - GHSA-8xcm-r25x-g524 (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.0 ``, advisory summary: "undici vulnerable to downstream response desynchronization via retry interceptor" https://osv.dev/vulnerability/GHSA-8xcm-r25x-g524
  - GHSA-g9mf-h72j-4rw9 (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.18.2 ``, advisory summary: "Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion" https://osv.dev/vulnerability/GHSA-g9mf-h72j-4rw9
  - GHSA-jr45-8vmc-qm54 (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.0 ``, advisory summary: "undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directives" https://osv.dev/vulnerability/GHSA-jr45-8vmc-qm54
  - GHSA-m8rv-5g2x-5cg5 (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.0 ``, advisory summary: "undici vulnerable to CRLF Injection via blob-like body 'type' property" https://osv.dev/vulnerability/GHSA-m8rv-5g2x-5cg5
  - GHSA-p88m-4jfj-68fv (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.28.0 ``, advisory summary: "undici vulnerable to HTTP header injection via Set-Cookie percent-decoding" https://osv.dev/vulnerability/GHSA-p88m-4jfj-68fv
  - GHSA-pmjh-fq2x-6v4x (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.1 ``, advisory summary: "undici vulnerable to Denial of Service via orphaned RetryHandler response body" https://osv.dev/vulnerability/GHSA-pmjh-fq2x-6v4x
  - GHSA-pr7r-676h-xcf6 (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.28.0 ``, advisory summary: "undici vulnerable to cross-user information disclosure via shared cache whitespace bypass" https://osv.dev/vulnerability/GHSA-pr7r-676h-xcf6
  - GHSA-rx4f-c7p8-82vq (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.1 ``, advisory summary: "undici vulnerable to Denial of Service via WebSocketStream unclean close" https://osv.dev/vulnerability/GHSA-rx4f-c7p8-82vq
  - GHSA-v3r7-h72x-cjcm (moderate) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.0 ``, advisory summary: "undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields" https://osv.dev/vulnerability/GHSA-v3r7-h72x-cjcm
  - GHSA-2gqq-gqf2-x968 (low) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.1 ``, advisory summary: "undici vulnerable to response truncation via oversized chunked responses in the dump interceptor" https://osv.dev/vulnerability/GHSA-2gqq-gqf2-x968
  - GHSA-35p6-xmwp-9g52 (low) in `` undici@7.16.0 ``, indirect, fixed in `` 7.28.0 ``, advisory summary: "undici vulnerable to HTTP response queue poisoning via keep-alive socket reuse" https://osv.dev/vulnerability/GHSA-35p6-xmwp-9g52
  - GHSA-8436-99hf-9mmv (low) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.1 ``, advisory summary: "undici vulnerable to caching and replay of unsafe HTTP method responses" https://osv.dev/vulnerability/GHSA-8436-99hf-9mmv
  - GHSA-g8m3-5g58-fq7m (low) in `` undici@7.16.0 ``, indirect, fixed in `` 7.28.0 ``, advisory summary: "undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching" https://osv.dev/vulnerability/GHSA-g8m3-5g58-fq7m
  - GHSA-r53p-7pc4-xj5r (low) in `` undici@7.16.0 ``, indirect, fixed in `` 7.29.1 ``, advisory summary: "undici vulnerable to downstream response splitting via retry interceptor" https://osv.dev/vulnerability/GHSA-r53p-7pc4-xj5r

Dependency graphs from deps.dev; advisories from OSV.dev, including the GitHub Advisory Database and the PyPI Advisory Database; all CC BY 4.0.

## Remotes

_none_

## Packages

- npm midnight-nextjs-mcp@0.3.1 secrets: GITHUB_TOKEN

## Tools (0)

_none observed_
