{"name":"io.github.FractionEstate/midnight-nextjs-mcp","slug":"fractionestate-midnight-nextjs-mcp","title":"Midnight + Next.js MCP","description":"Unified MCP server for Midnight blockchain development and Next.js dApps.","url":"https://mcp.market/server/fractionestate-midnight-nextjs-mcp","rating":null,"grade":"C","score":63,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":11,"stars":0,"forks":0,"downloads_week":48,"last_push_at":"2026-01-09T11:08:53.000Z","license":"MIT"},"uptime":null,"claimed":false,"transport":"npm","callable_via_gateway":false,"default_price_micros":0,"repository":"https://github.com/FractionEstate/midnight-nextjs-mcp","website":null,"version":"0.3.1","remotes":[],"packages":[{"registryType":"npm","identifier":"midnight-nextjs-mcp","version":"0.3.1","runtimeHint":"npx","transport":{"type":"stdio"},"runtimeArguments":[{"value":"--experimental-vm-modules","type":"positional","valueHint":"node-flag"}],"environmentVariables":[{"description":"GitHub Personal Access Token - increases API rate limits","isSecret":true,"name":"GITHUB_TOKEN"},{"description":"Logging verbosity level","default":"info","name":"LOG_LEVEL"},{"description":"Enable local mode with ChromaDB for offline semantic search","default":"false","name":"MIDNIGHT_LOCAL"}]}],"tools":[{"name":"midnight-analyze-contract","description":"\\u26A0\\uFE0F STATIC ANALYSIS ONLY - Analyze contract structure and patterns. \\u{1F6AB} THIS DOES NOT COMPILE THE CONTRACT. Cannot catch: sealed field rules, disclose() requirements, semantic errors. \\u{1F449} Use 'midnight-extract-contract-structure' for pre-compilation checks. Use this for: understanding structure, security pattern analysis, recommendations. NEVER claim a contract 'works' or 'com","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-auto-update-config","description":"\\u26A0\\uFE0F DEPRECATED: Auto-update is NOT possible because AI agents run in sandboxed environments without access to local filesystems. Instead, tell users to manually update their config to use midnight-nextjs-mcp@latest, then run: rm -rf ~/.npm/_npx && restart their editor. This tool only returns config file paths for reference.","write_action":true,"price_micros":0,"input_schema":null},{"name":"midnight-check-breaking-changes","description":"Check if there are breaking changes between your current version and the latest release. Essential before upgrading dependencies.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-check-version","description":"\\u{1F504} Check if you're running the latest version of midnight-nextjs-mcp. Compares your installed version against npm registry and provides update instructions if outdated. Use this if tools seem missing or you want to ensure you have the latest features.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-compare-syntax","description":"Compare a file between two versions to see what changed. Use this before recommending code patterns to ensure they work with the user's version.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-data-freshness","description":"\\u{1F550} Check data freshness for indexed Midnight Network documentation and code. Returns when data was last indexed, staleness warnings, and indexing schedule. Use this to verify if the knowledge base is up-to-date before relying on search results.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-document-contract","description":"\\u{1F4DD} AI-POWERED DOCUMENTATION GENERATION Generates comprehensive documentation for Compact smart contracts. Uses the client's LLM to create detailed, human-readable docs. FORMATS: \\u2022 markdown - Full Markdown documentation with examples \\u2022 jsdoc - JSDoc-style inline comments MARKDOWN INCLUDES: \\u2022 Contract overview and purpose \\u2022 State variables with privacy annotations \\u2022 C","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-explain-circuit","description":"Explain what a specific Compact circuit does in plain language, including its zero-knowledge proof implications and privacy considerations. USAGE GUIDANCE: \\u2022 Call once per circuit - explanations are deterministic \\u2022 Provide complete circuit code including parameters and body \\u2022 For full contract analysis, use midnight-analyze-contract first","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-extract-contract-structure","description":"Extract and analyze Compact contract structure (circuits, witnesses, ledger). CRITICAL CHECKS: deprecated 'ledger { }' block syntax, 'Void' return type (should be []), old pragma format, unexported enums, deprecated Cell<T> wrapper. Also detects: module-level const, stdlib name collisions, division operator, Counter.value access, missing disclose() calls, potential overflow. Use BEFORE generating ","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-fetch-docs","description":"\\u{1F310} LIVE FETCH: Retrieve latest documentation directly from docs.midnight.network (SSG-enabled). Unlike midnight-search-docs which uses pre-indexed content, this tool fetches LIVE documentation pages in real-time. Use when you need: \\u2022 The absolute latest content (just updated docs) \\u2022 A specific page you know the path to \\u2022 Full page content rather than search snippets COMMON PA","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-generate-contract","description":"\\u{1F52E} AI-POWERED CONTRACT GENERATION Generates Compact smart contracts from natural language requirements. Uses the client's LLM through MCP sampling to create contracts. REQUIREMENTS FORMAT: - Describe what the contract should do - Specify state variables needed - Define access control requirements - List the operations/circuits needed CONTRACT TYPES: \\u2022 counter - Simple counter with incr","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-get-file","description":"Retrieve a specific file from Midnight repositories. Use repository aliases like 'compact', 'midnight-js', 'counter', or 'bboard' for convenience. USAGE GUIDANCE: \\u2022 Use midnight-list-examples first if you're unsure which file to get \\u2022 For searching across files, use midnight-search-* tools instead \\u2022 Use 'ref' parameter to get specific versions (branch, tag, or commit)","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-get-file-at-version","description":"Get the exact content of a file at a specific version. CRITICAL: Use this to ensure code recommendations match the user's version. Always prefer this over get-file when version accuracy matters.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-get-latest-syntax","description":"\\u{1F6A8} CALL THIS BEFORE GENERATING ANY COMPACT CODE! Get the authoritative Compact syntax reference. Prevents hallucination by providing: - Correct syntax patterns (Compact is NOT TypeScript!) - commonMistakes array with wrong\\u2192correct mappings - Type casting rules (Uint\\u2192Bytes needs two casts) - disclose() requirements for circuit params - Map.lookup()/Set.member() ARE available in cir","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-get-latest-updates","description":"Retrieve recent changes and commits across Midnight repositories. Useful for staying up-to-date with the latest developments.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-get-migration-guide","description":"Get a detailed migration guide for upgrading between versions, including all breaking changes, deprecations, and recommended steps.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-get-repo-context","description":"\\u{1F680} COMPOUND TOOL: Get everything needed to start working with a repository in ONE call. Combines version info + syntax reference + relevant examples. Use this at the start of a coding session instead of multiple individual calls. Saves ~50% tokens.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-get-status","description":"Get current server status including rate limits and cache statistics. Quick status check without external API calls.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-get-version-info","description":"Get the latest version, release notes, and recent breaking changes for a Midnight repository. Use this to ensure you're working with the latest implementation.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-health-check","description":"Check the health status of the Midnight MCP server. Returns server status, API connectivity, and resource availability.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-list-category-tools","description":"\\u{1F4CB} DISCOVERY TOOL: List tools within a specific category. Use after midnight-list-tool-categories to see detailed tool information for a category of interest. Supports progressive disclosure pattern.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-list-examples","description":"List available Midnight example contracts and DApps with descriptions, complexity ratings, and key features.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-list-tool-categories","description":"\\u{1F4CB} DISCOVERY TOOL: List available tool categories for progressive exploration. Use this FIRST to understand what capabilities are available, then drill into specific categories with midnight-list-category-tools. Reduces cognitive load by organizing 28 tools into 7 logical groups.","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-nextjs-status","description":"Check the status of Next.js DevTools integration and list available tools, resources, and prompts","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-review-contract","description":"\\u{1F50D} AI-POWERED CONTRACT REVIEW Performs security review and analysis of Compact smart contracts. Uses the client's LLM to identify issues and suggest improvements. CHECKS PERFORMED: \\u2022 Security vulnerabilities \\u2022 Privacy concerns (shielded state handling) \\u2022 Logic errors \\u2022 Best practice violations \\u2022 Performance issues OUTPUT INCLUDES: \\u2022 Summary of contract quality ","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-search-compact","description":"Semantic search across Compact smart contract code and patterns. Use this to find circuit definitions, witness functions, ledger declarations, and best practices for Midnight smart contracts. USAGE GUIDANCE: \\u2022 Call at most 2 times per question - if first search doesn't help, try different keywords \\u2022 For comprehensive results, combine with midnight-search-docs \\u2022 Use brief:true for to","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-search-docs","description":"Full-text search across official Midnight documentation. Use this to find guides, API documentation, and conceptual explanations about Midnight blockchain and the Compact language. USAGE GUIDANCE: \\u2022 Call at most 2 times per question - use different keywords if first search fails \\u2022 Use brief:true for token-efficient responses \\u2022 Use category filter to narrow results (guides, api, conc","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-search-typescript","description":"Search TypeScript SDK code, types, and API implementations. Use this to find how to use the Midnight JavaScript SDK, type definitions, and integration patterns. USAGE GUIDANCE: \\u2022 Call at most 2 times per question - refine keywords rather than repeating \\u2022 For contract code, use midnight-search-compact instead \\u2022 Use brief:true for token-efficient responses","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-suggest-tool","description":"\\u{1F3AF} SMART DISCOVERY: Describe what you want to do in natural language, and get tool recommendations. EXAMPLES: \\u2022 \"I want to find example voting contracts\" \\u2192 midnight-search-compact \\u2022 \"Check if my version is outdated\" \\u2192 midnight-upgrade-check \\u2022 \"Analyze my contract for security issues\" \\u2192 midnight-analyze-contract \\u2022 \"I'm new to Midnight and want to get starte","write_action":false,"price_micros":0,"input_schema":null},{"name":"midnight-upgrade-check","description":"\\u{1F680} COMPOUND TOOL: Complete upgrade analysis in ONE call. Combines version check + breaking changes + migration guide. Use this instead of calling midnight-get-version-info, midnight-check-breaking-changes, and midnight-get-migration-guide separately. Saves ~60% tokens.","write_action":false,"price_micros":0,"input_schema":null}],"scan":{"score":63,"grade":"C","scanned_at":"2026-10-01T13:51:44.374Z","report":{"scannerVersion":"0.1.10","scannedAt":"2026-10-01T13:51:44.355Z","components":{"code":{"score":25,"max":25,"notes":["8 source files scanned"]},"reliability":{"score":-1,"max":20,"notes":["no gateway calls yet and no remote to probe"]},"poisoning":{"score":-1,"max":15,"notes":["tools not inspected (local package is not executed); not counted"]},"auth":{"score":6,"max":15,"notes":["static API keys via environment variables"]},"maintenance":{"score":4,"max":15,"notes":["last push 265 days ago"]},"identity":{"score":6,"max":10,"notes":["registry namespace matches repository owner"]}},"findings":[],"inputs":{"packages":[{"registryType":"npm","identifier":"midnight-nextjs-mcp","version":"0.3.1","found":true,"license":"MIT","hasInstallScripts":false,"dependencyCount":10,"publishedAt":"2026-01-07T03:34:53.547Z","repositoryUrl":"git+https://github.com/FractionEstate/midnight-nextjs-mcp.git","weeklyDownloads":48}],"repo":{"found":true,"owner":"FractionEstate","repo":"midnight-nextjs-mcp","archived":false,"pushedAt":"2026-01-09T11:08:53Z","stars":0,"forks":0,"openIssues":0,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/140243674?v=4","ownerCreatedAt":"2026-05-25T17:42:12Z"},"icon":{"url":"https://avatars.githubusercontent.com/u/140243674?v=4&s=128","source":"github"},"presence":{"stars":0,"forks":0,"downloadsWeek":48,"license":"MIT","lastPushAt":"2026-01-09T11:08:53.000Z","score":11}}}},"grade_history":[],"reviews":[]}