Skip to content

Docs /mcp UniReport MCP server

UniReport connects directly to your AI coding assistant over the Model Context Protocol (MCP). Your code stays on your computer, all tools run through our hosted cloud MCP server at mcp.shmr.net. New here? Sign up free, then set up your agent below.

Quick Start

Copy the prompt below and paste it directly into your coding assistant (Cursor Composer, Claude Code, Antigravity, Codex, or Copilot). Your agent will read the setup guide, configure the MCP connection for you, and begin drafting your report:

Agent Prompt
Set up UniReport MCP in this project by following https://unireport.shmr.net/setup.md. Then help me generate an academic report for this codebase. Ask me for my student details and faculty template first.

Overview

How it works: You build your software project as usual (Next.js, React Native, Node, Python, Flutter, Go, etc.). Instead of manually writing an 80-to-150 page report from scratch or using generic AI that invents fake database tables, UniReport gives your agent grounded academic tools:

  • Zero Python setup: Everything runs through our hosted cloud server at mcp.shmr.net. You don't install packages, create virtual environments, or run local background processes.
  • Code-grounded writing: Your agent inspects your actual code files, database models, and Git commit history. Every architectural claim cites real files and line numbers.
  • Anti-AI cadence protection: Every paragraph is tested for human sentence rhythm and stripped of obvious AI buzzwords so Turnitin AI detection passes cleanly.
  • Ready-to-bind documents: Compiles complete Word (.docx) and Typst (.pdf) files formatted with standard 25.4mm margins (or 38mm hardcover binding gutter), Roman numeral preliminary pages, and auto-updating contents.

Prerequisites

  • An AI coding agent or editor supporting MCP: Cursor, Claude Code, Antigravity, VS Code (GitHub Copilot), OpenCode, Codex, or any modern MCP-compliant tool.
  • A UniReport plan. Sign up free, upgrade to Pro when you need full dissertation exports.
  • An active internet connection. No Python, Node.js, or local compilers are required on your computer.

Connect your editor

Because UniReport is built on the open Model Context Protocol (MCP), it works with almost any modern AI agent or IDE—not just the popular tools below. Generate your API key in the Developer Dashboard, replace YOUR_API_KEY in the snippet below with your real key, and add it to your project. After saving, restart your editor or refresh its MCP panel.

Authentication note: Pass your API key via the URL query string (?key=YOUR_API_KEY) or via an HTTP header (Authorization: Bearer YOUR_API_KEY).

Connect to Cursor

Create or open .cursor/mcp.json in your project root and add the remote server:

{ "mcpServers": { "unireport": { "url": "https://mcp.shmr.net/mcp?key=YOUR_API_KEY" } } }

Open Cursor Composer, then check Cursor Settings → Features → MCP to verify unireport displays a green status light.

Connect to Claude Code

Register the remote server using the one-line Claude Code command:

claude mcp add --transport http unireport "https://mcp.shmr.net/mcp?key=YOUR_API_KEY"

Run /mcp inside Claude Code to confirm the unireport tools are loaded and ready to call.

Connect to VS Code & GitHub Copilot

Create .vscode/mcp.json in your project directory:

{ "servers": { "unireport": { "type": "http", "url": "https://mcp.shmr.net/mcp?key=YOUR_API_KEY" } } }

Click Start on the unireport server, set Copilot to Agent mode, and start prompting.

Connect to Antigravity

Open the agent settings menu, select Manage MCP Servers → View raw config, and add:

{ "mcpServers": { "unireport": { "serverUrl": "https://mcp.shmr.net/mcp?key=YOUR_API_KEY" } } }

Save and confirm unireport appears under active tools.

Connect to OpenCode

Add to opencode.json in your project root:

{ "$schema": "https://opencode.ai/config.json", "mcp": { "unireport": { "type": "remote", "url": "https://mcp.shmr.net/mcp?key=YOUR_API_KEY" } } }

Run opencode mcp list to verify connection.

Connect to Codex

Add to ~/.codex/config.toml:

[mcp_servers.unireport] url = "https://mcp.shmr.net/mcp?key=YOUR_API_KEY"

Restart Codex and confirm the server is listed under MCP Servers.

Verify the connection

Send this simple prompt to test your connection:

> @unireport Scan this codebase into project_manifest.json and show me the API routes and database tables you found.

A connected agent will invoke unireport_scan_codebase and list the real routes and models from your project, proving it reads your actual repository rather than guessing.

Tools and capabilities

You rarely need to run these commands manually. Your agent calls them as you prompt it. Here is what UniReport provides:

Tool What it does Inputs
unireport_scan_codebaseScans your tech stack, database schemas, API routes, and Git history into a project manifestrepo_path, out_path
unireport_set_student_metadataStores author name, student ID, faculty, degree, course code, and supervisor into the manifest without hardcoded university menusmetadata, manifest_path
unireport_ingest_initial_briefCreates a project manifest from a conceptual brief (for early proposals before code is written)brief_data, out_path
unireport_plan_diagramsPlans academic diagrams: Architecture Overview, Core Sequence Diagram, System Use Case, DFD Levels 0 & 1, and Crow's Foot ERDmanifest_path, fyp_mode
unireport_generate_diagramGenerates diagram code and renders crisp SVG & PNG images with 1pt bordersdiagram_id, output_dir
unireport_lint_cadenceChecks paragraphs for sentence burstiness and blocks AI buzzwordstext
unireport_get_chapter_blueprintRetrieves section-by-section requirements, manifest grounding facts, and diagram guides, adapting to custom university templates and arbitrary chapter countschapter_number, manifest_path
unireport_synthesize_survey_uatCalculates empirical survey stats, 5-point Likert matrices, and System Usability Scale (SUS) scoresrespondent_count, out_dir
unireport_inspect_style_guideReads formatting rules (margins, fonts, spacing) from your faculty handbook or templatetemplate_path
unireport_set_style_guideApplies standard formatting presets (FYP thesis, coursework report, IEEE, or custom university guidelines)preset
unireport_configure_literature_reviewRegisters agent-researched benchmark systems and verified post-2021 literature references for Chapter 2 and the bibliographymanifest_path, custom_systems, references
unireport_draft_chapterDrafts a chapter with anti-AI cadence check, or compiles custom sections drafted by the agentchapter, out_dir
unireport_export_docxExports drafted chapters to academic Word format with tables and diagramsmanifest_path, output_docx
unireport_compile_pdfCompiles the document into a high-resolution, print-ready PDF with standard 25.4mm margins (or 38mm binding gutters)input_typ, output_pdf
unireport_assemble_dissertationAssembles the complete report: Frontmatter, template chapters, References, and optional student Appendicesmanifest_path, out_dir, custom_appendices

Anti-AI check & sentence rhythm

Why do university AI detectors (like Turnitin and GPTZero) flag AI-assisted writing? Standard AI models write in flat, repetitive rhythms—every sentence has roughly the same length, and paragraphs are loaded with stock filler words.

UniReport's anti-AI check acts as a quality filter on every drafted section before it can be saved:

  • Natural Sentence Variety: Human technical writers mix short, decisive statements with longer explanations. The check requires natural sentence variance, rejecting monotonous robotic phrasing.
  • Banned AI Buzzwords: Strips generic AI clichés including furthermore, moreover, delve, testament, tapestry, landscape, crucial, pivotal, foster, harness, beacon, and seamlessly.
  • Grounded Specifics: Replaces vague claims with citations to real file paths, database columns, and test cases from your codebase.
> @unireport Lint this section to make sure it passes the anti-AI check.

Assembling DOCX & PDF

When all chapters are drafted, ask your agent to assemble the report. UniReport compiles everything into a finished Word document (.docx) and print-ready academic PDF (.pdf) complete with:

  • Roman numeral preliminary pages (Declaration of Originality, Abstract, Acknowledgements).
  • Automatically generated Table of Contents, List of Figures, and List of Tables.
  • Chapter-relative numbering for tables (Table 2.1, Table 4.1) and figures (Figure 3.1, Figure 4.2).
  • Full-grid bordered tables with light header fills matching academic submission guidelines.
  • Standard uniform 25.4mm margins (or 38mm hardcover left binding gutter).
> @unireport Assemble the complete report into Word DOCX and PDF in dist/final.

Agent Guidelines & Workspace Containment

To guarantee reproducibility and avoid cross-project contamination, your coding agent should operate under strict MCP isolation:

  • Strict Tool-Driven Execution: Your agent must interact with UniReport exclusively through the registered MCP tools. It should never search for the host engine codebase or create scratch runner scripts.
  • Template-First Protocol: Provide your faculty guideline text or Word template (.docx) first. Your agent should run unireport_inspect_style_guide to detect margins, fonts, and the chapter outline before drafting.
  • Real References (Post-2021): Every bibliography entry must be a real article published after 2021 researched by the agent online. The engine never invents fake citations.
  • Self-Contained Workspace: All generated deliverables (manifest, diagrams, draft manuscripts, and final reports) remain inside your project workspace (e.g. ./UniReport/ or ./dist/).
# Recommended .cursorrules / Agent System Prompt snippet You have access to the UniReport MCP server. Follow these core rules: 1. Interact EXCLUSIVELY via unireport_* MCP tools. Never search for or run engine scripts. 2. Ask for my faculty template (.docx) and student metadata before drafting. 3. Keep all generated outputs inside this workspace under ./UniReport/ or ./dist/. 4. Follow the template chapter count; never assume a fixed number of chapters. 5. Research 2-3 real benchmark systems and verified post-2021 academic papers; never invent citations. 6. First assembly stops at References by default; ask before adding custom appendices.

Troubleshooting

  • Tools not appearing in editor: Restart your editor or click the reload button in your MCP configuration panel. Editors load new MCP server endpoints upon launch.
  • Agent seems confused or repeats old files: Restart long chat threads or ask your agent to re-run unireport_scan_codebase to refresh the cached project manifest.
  • Firewall or proxy blocks: Ensure your network or VPN allows outgoing HTTPS connections to https://mcp.shmr.net.