MCP Apps arrived in Google Antigravity on 24 November 2026, and they change what an MCP tool can return: not just text or raw JSON, but a small interactive web page that opens right inside the chat. In this MCP Apps Antigravity tutorial you will build one from scratch in Python and plain HTML: ClassDash, a student marks dashboard with charts, a pass-mark slider and an at-risk students table that an MCP Apps host renders inline when the agent calls your tool.
This is a practical final-year or mini project for BTech, MCA and MTech students. You will learn the Model Context Protocol, the new MCP Apps extension (SEP-1865), safe data handling, a JavaScript message bridge and automated testing, all in one small codebase. The complete project is free on GitHub with 98 tests, a local preview host and ready-made Antigravity plugin files.
Table of Contents
What You Will Build: An MCP Apps Antigravity Dashboard in Python
ClassDash is a Python MCP server built with the official MCP Python SDK. It reads a class marks CSV file (roll number, name and one column per subject) and offers five tools. Three of them are linked to an HTML view through the MCP Apps extension:
show_class_dashboard: the main tool. It returns a plain-text summary and structured data, and its_meta.ui.resourceUripoints toui://classdash/dashboard.html, so an MCP Apps host such as the Antigravity App draws the dashboard inline in chat.open_class_dashboard_panel: the same view, but with Antigravity’s ownaux_paneandglobalentrypoints so it opens in the side panel or as a full page from Plugins.get_subject_stats: an app-only helper (visibility: ["app"]). The dashboard calls it when you pick another subject or move the pass-mark slider; the agent never sees it in its tool list.list_datasetsandstudent_report: normal text tools for the agent.- A single-file HTML view with SVG charts and no external scripts, a local preview host to test it in your browser, and Antigravity plugin files (
plugin.json,mcp_config.json).

This MCP Apps Antigravity view is what the user sees; the agent still gets a short text summary. ClassDash is an independent learning project. It is not made by Google. It follows the public MCP Apps specification and the Antigravity documentation, so the same server also works with other hosts that support MCP Apps, and falls back to plain text everywhere else.
Why MCP Apps Antigravity Support Matters Right Now (November 2026)
On 24 November 2026 the Antigravity team published Bringing MCP Apps to Antigravity. The post explains that MCP tool responses normally come back as text or raw JSON, and that MCP Apps, built on the open MCP Apps extension (SEP-1865, io.modelcontextprotocol/ui), let a tool render an interactive HTML interface inside the workspace alongside its plain-text output. Google lists four places these views can appear:
| Surface | How a tool asks for it | Good for |
|---|---|---|
| Inline in chat | _meta.ui.resourceUri on the tool | Focused previews, metric graphs, checklists |
| Side panel | aux_pane entrypoint under com.google.antigravity/ui | A persistent tab next to the conversation |
| Full page in the sidebar | global entrypoint | Workspace-wide dashboards and catalogs |
| Custom file viewer/editor | file entrypoint with file extensions | Opening your own file formats |
Partners already ship MCP Apps there, including Better Stack, CodeRabbit, Datadog, monday.com, Qodo and Vercel. Datadog’s example sums up the idea nicely: a developer can get “a live Datadog graph inline instead of a text paragraph describing one.” The Antigravity MCP Apps documentation adds the practical details: interactive views render in the Antigravity App (v2.34.0+) when the client advertises MCP Apps support, while the Antigravity CLI and IDE run the same tools as plain-text tools. That is why every ClassDash tool returns clear text as well as data.
The protocol itself is not Google-only. SEP-1865 is the MCP Apps proposal, now marked Final, and the MCP Apps specification (2026-01-26) defines the ui:// resources, the text/html;profile=mcp-app MIME type and the JSON-RPC messages between the view and the host. The MCP Python SDK ships this extension as mcp.server.apps, so you can build an MCP App in Python without any JavaScript framework.
A plain MCP tool tells the agent what happened. An MCP App also shows the user, in a UI that the tool author controls.
How MCP Apps Work: The SEP-1865 Flow in Plain English
Before writing code, understand the MCP Apps Antigravity flow. There are three players. The MCP server (your Python code) owns the tools and the HTML. The host (for example the Antigravity App) runs the agent and draws the UI. The view is your HTML page running inside a sandboxed iframe. Here is one complete round trip:
- During
initialize, the host advertises theio.modelcontextprotocol/uiextension with the MIME typetext/html;profile=mcp-app. - The agent calls
show_class_dashboard. The host sees_meta.ui.resourceUrion that tool and fetches the HTML withresources/read. - The host mounts the HTML in a sandboxed iframe. The view sends
ui/initialize, gets the host context (theme, size limits) and replies withui/notifications/initialized. - The host forwards the tool arguments (
ui/notifications/tool-input) and the result (ui/notifications/tool-result). The view draws its charts fromstructuredContent. - When you change the subject, the view sends
tools/callforget_subject_stats; the host proxies it to your server and returns the result. - The view reports its height with
ui/notifications/size-changed, and can sendui/message(post a prompt) orui/update-model-context(share what the user is looking at).

Everything between the view and the host is JSON-RPC 2.0 over window.postMessage. The specification notes that you do not need an SDK to speak it, which is why ClassDash uses about 60 lines of plain JavaScript for the bridge.
Features, Tech Stack and Prerequisites
| Item | Details |
|---|---|
| Language | Python 3.10 or newer (tested on 3.10 and 3.13) |
| MCP library | Official MCP Python SDK, mcp>=2.3,<3 (MCPServer + mcp.server.apps.Apps) |
| UI | One HTML file: vanilla JavaScript, inline SVG charts, no CDN, no build step |
| Data | CSV files; statistics in pure Python (statistics module) |
| Tests | pytest + pytest-asyncio; optional Playwright for 5 real-browser tests |
| OS | Windows, macOS or Linux; no GPU and no API key needed |
| To see it in Antigravity | The Antigravity App (MCP Apps render there; CLI/IDE show text) |
If you are new to MCP, read our guide on how to build an MCP server in Python first. It covers tools, resources and the SDK basics that this project builds on.
Project File Structure
MCP-Apps-Student-Dashboard-Antigravity-Python/
├── classdash_mcp/
│ ├── server.py # MCP server: Apps tools, ui:// resource, text fallback
│ ├── datasets.py # safe CSV loading by dataset name
│ ├── stats.py # mean, median, pass rate, grades, histogram
│ ├── preview.py # local MCP Apps test host (HTTP + MCP client)
│ ├── demo.py # text-only client demo
│ ├── __main__.py # CLI: serve | preview | demo
│ ├── ui/dashboard.html # the MCP App view (text/html;profile=mcp-app)
│ ├── ui/preview_host.html
│ └── data/ # two synthetic sample classes (CSE sem 5, MCA sem 2)
├── plugin.json # Antigravity plugin manifest
├── mcp_config.json # plugin MCP server definition
├── scripts/run_server.py # stdio entry point for Antigravity
├── assets/logo.svg
├── examples/ # custom-server config + sample CSV
├── tests/ # 98 tests
└── .github/workflows/tests.yml
Step-by-Step: Build the MCP Apps Antigravity Project
Step 1: Create the project and install the SDK
Create a virtual environment and install the MCP SDK plus the test tools. The repo’s pyproject.toml also registers a classdash-mcp command.
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install "mcp>=2.3,<3" pytest pytest-asyncio
# or, inside the cloned repo:
pip install -e ".[dev]"
Step 2: Load student marks safely
The model will pass a dataset name to your tools, so never let it pass a file path. DatasetLibrary accepts only short names that match a strict pattern and looks them up in known folders. The parser checks the header, number ranges, duplicate roll numbers and size limits, and treats an empty cell or AB as absent.
def path_for(self, name: str) -> Path:
if not isinstance(name, str) or not NAME_RE.match(name):
raise DatasetError(f"invalid dataset name {name!r}: use letters, digits, '-' or '_' (no paths)")
for d in self.dirs:
p = d / f"{name}.csv"
if p.is_file():
return p
raise DatasetError(f"dataset {name!r} not found; available: {', '.join(self.names()) or 'none'}")
Step 3: Compute class statistics
stats.py is plain Python: mean, median, standard deviation, pass rate, a 10-mark histogram and grade bands (O, A+, A, B+, B, C, F) like many Indian universities use. Students who were absent are left out of the averages instead of being counted as zero.
def subject_stats(ds: Dataset, subject: str, pass_mark: float = 40, top: int = 5) -> dict[str, Any]:
"""Statistics for one subject, ready for the dashboard and for plain text."""
if subject not in ds.subjects:
raise DatasetError(f"unknown subject {subject!r}; choose one of: {', '.join(ds.subjects)}")
pm = _check_pass_mark(pass_mark)
marks = ds.marks_for(subject)
present = [s for s in ds.students if s.marks.get(subject) is not None]
absent = len(ds.students) - len(present)
grades = {g: 0 for g, _ in GRADE_BANDS}
for m in marks:
grades[grade_for(m, pm)] += 1
passed = sum(1 for m in marks if m >= pm)
ranked = sorted(present, key=lambda s: (-s.marks[subject], s.roll)) # type: ignore[operator]
at_risk = sorted((s for s in present if s.marks[subject] < pm), key=lambda s: (s.marks[subject], s.roll)) # type: ignore[operator]
Step 4: Link a tool to a ui:// resource with the Apps extension
This is the core of every MCP Apps Antigravity project in Python. Create an Apps() extension, register tools with @apps.tool(resource_uri=...), register the HTML with add_html_resource(), and pass the extension to MCPServer. The SDK stamps _meta.ui.resourceUri on the tool and serves the HTML as text/html;profile=mcp-app.
apps = Apps()
@apps.tool(
resource_uri="ui://classdash/dashboard.html",
name="show_class_dashboard",
title="Show class marks dashboard",
description="Show an interactive dashboard for a class marks dataset ...",
annotations=ro, # read-only, no side effects
)
def show_class_dashboard(ctx: Context, dataset: str = "cse-sem5-sample",
subject: str | None = None, pass_mark: float = 40) -> types.CallToolResult:
return dashboard_result(ctx, dataset, subject, pass_mark)
apps.add_html_resource(
"ui://classdash/dashboard.html", dashboard_html(),
name="classdash-dashboard", csp=ResourceCsp(), # empty CSP = no external domains
prefers_border=True,
)
mcp = MCPServer("classdash", title="ClassDash MCP App", extensions=[apps])
The tool returns a CallToolResult with two parts. content is readable text for the model and for text-only clients. structuredContent is the data the dashboard draws. client_supports_apps(ctx) tells you whether the client negotiated MCP Apps, so ClassDash adds a short hint for text-only clients:
def dashboard_result(ctx: Context | None, dataset: str, subject: str | None, pass_mark: float) -> types.CallToolResult:
try:
ds = library.load(dataset)
ov = class_overview(ds, pass_mark)
chosen = subject or ds.subjects[0]
st = subject_stats(ds, chosen, pass_mark)
except DatasetError as exc:
return _error(str(exc))
text = overview_text(ov) + "\n\n" + subject_text(st)
if ctx is not None and not client_supports_apps(ctx):
text += "\n\n(Tip: open this in an MCP Apps host such as the Google Antigravity App to see the interactive dashboard.)"
return types.CallToolResult(
content=_text(text),
structured_content={"overview": ov, "subject": st, "datasets": library.names()},
_meta={"classdash/version": __version__},
)
Step 5: Add Antigravity side panel and full page entrypoints
Antigravity reads an extra _meta key, com.google.antigravity/ui. According to the docs, tools with aux_pane or global entrypoints do not render inline, so ClassDash keeps the inline tool clean and puts the entrypoints on a second tool. Manual launches from the Plugins menu pass empty arguments, so every parameter has a default. The app-only helper uses visibility=["app"]:
ANTIGRAVITY_UI = "com.google.antigravity/ui"
@apps.tool(
resource_uri=UI_URI,
name="open_class_dashboard_panel",
title="Open class dashboard in side panel",
annotations=ro,
meta={ANTIGRAVITY_UI: {"entrypoints": [
{"type": "aux_pane", "title": "ClassDash"}, # side panel tab
{"type": "global", "title": "ClassDash"}, # full page under Plugins
]}},
)
def open_class_dashboard_panel(ctx: Context, dataset: str = DEFAULT_DATASET,
subject: str | None = None, pass_mark: float = 40) -> types.CallToolResult:
return dashboard_result(ctx, dataset, subject, pass_mark)
@apps.tool(resource_uri=UI_URI, visibility=["app"], name="get_subject_stats", annotations=ro)
def get_subject_stats(dataset: str = DEFAULT_DATASET, subject: str | None = None,
pass_mark: float = 40) -> types.CallToolResult:
return dashboard_result(None, dataset, subject, pass_mark)
Step 6: Write the HTML view and its postMessage bridge
The view is a normal HTML page. It talks to the host with JSON-RPC 2.0 messages. Requests carry an id and get a response; notifications do not. Two safety rules matter here: only accept messages from window.parent, and answer unknown host requests with a “method not found” error.
let nextId = 1;
const pending = new Map();
const send = (msg) => window.parent.postMessage(msg, "*");
function request(method, params, timeoutMs = 20000) {
const id = nextId++;
send({ jsonrpc: "2.0", id, method, params });
return new Promise((resolve, reject) => {
pending.set(id, { resolve, reject });
setTimeout(() => { if (pending.delete(id)) reject(new Error(method + " timed out")); }, timeoutMs);
});
}
const notify = (method, params) => send({ jsonrpc: "2.0", method, params: params || {} });
window.addEventListener("message", (event) => {
if (event.source !== window.parent) return; // only trust the host frame
const msg = event.data;
if (!msg || msg.jsonrpc !== "2.0") return;
if (msg.id !== undefined && msg.method === undefined) { // response to one of our requests
const p = pending.get(msg.id);
if (!p) return;
pending.delete(msg.id);
msg.error ? p.reject(new Error(msg.error.message || "host error")) : p.resolve(msg.result);
return;
}
if (msg.id !== undefined) { // request from the host
if (msg.method === "ping" || msg.method === "ui/resource-teardown") send({ jsonrpc: "2.0", id: msg.id, result: {} });
else send({ jsonrpc: "2.0", id: msg.id, error: { code: -32601, message: "Method not found: " + msg.method } });
return;
}
switch (msg.method) { // notifications from the host
case "ui/notifications/tool-input": state.args = (msg.params && msg.params.arguments) || {}; break;
case "ui/notifications/tool-result": onToolResult(msg.params || {}); break;
case "ui/notifications/tool-cancelled": showNotice("The tool call was cancelled."); break;
case "ui/notifications/host-context-changed": applyHostContext(msg.params || {}); break;
}
});
Then the handshake: send ui/initialize with your app info, capabilities and protocol version, apply the host context, and confirm with ui/notifications/initialized. The host must not send tool data before that notification.
async function connect() {
if (window.parent === window) {
showNotice("This is an MCP App view. Open it through an MCP Apps host (Google Antigravity App, or `classdash-mcp preview`).");
return;
}
try {
const res = await request("ui/initialize", {
appInfo: APP_INFO,
appCapabilities: { availableDisplayModes: ["inline", "fullscreen"] },
protocolVersion: PROTOCOL_VERSION,
});
state.hostCaps = res.hostCapabilities || {};
state.hostInfo = res.hostInfo || null;
applyHostContext(res.hostContext || {});
state.connected = true;
notify("ui/notifications/initialized", {});
setStatus("Connected to " + (state.hostInfo ? state.hostInfo.name : "host") + " · waiting for data");
reportSize();
} catch (err) {
showNotice("Could not connect to the MCP Apps host: " + err.message);
}
}
Step 7: Draw the charts and call the app-only tool
When ui/notifications/tool-result arrives, render() fills the KPI cards and draws four SVG charts. Every student name goes into the page with textContent, never innerHTML, so a CSV row like <img onerror=...> shows up as text instead of running. Interaction is just another tools/call:
async function refresh(changes) {
if (!state.data || state.busy) return;
const args = {
dataset: state.data.overview.dataset,
subject: state.data.subject.subject,
pass_mark: state.data.overview.pass_mark,
...changes,
};
state.busy = true;
setStatus("Loading…");
try {
const result = await request("tools/call", { name: "get_subject_stats", arguments: args });
onToolResult(result);
} catch (err) {
showNotice("tools/call failed: " + err.message, true);
} finally {
state.busy = false;
}
}
Step 8: Follow the host theme and report your size
Hosts send a theme (light or dark) and standard CSS variables such as --color-background-primary. ClassDash uses them with fallbacks, for example var(--color-background-primary, #ffffff). For height, a ResizeObserver sends ui/notifications/size-changed. This matters in Antigravity: the host limits table says inline cards fall back to 150 px if no size message arrives within 100 ms, and grow up to 800 px.
let lastSize = "";
function reportSize() {
const el = document.documentElement;
const size = { width: Math.ceil(el.scrollWidth), height: Math.ceil(document.body.scrollHeight) };
const key = size.width + "x" + size.height;
if (key !== lastSize && state.connected) { lastSize = key; notify("ui/notifications/size-changed", size); }
}
new ResizeObserver(reportSize).observe(document.body);
Step 9: Package it as an Antigravity plugin
An Antigravity plugin is a folder with a plugin.json manifest and an optional mcp_config.json. The Build plugins guide explains the ${PLUGIN_ROOT} (read-only plugin folder) and ${PLUGIN_DATA} (writable data folder) variables. ClassDash starts its server from the plugin folder and uses the data folder for your own CSV files:
{
"mcpServers": {
"classdash": {
"command": "python3",
"args": ["${PLUGIN_ROOT}/scripts/run_server.py"],
"env": { "CLASSDASH_DATA": "${PLUGIN_DATA}" }
}
}
}
scripts/run_server.py only adds the plugin root to sys.path and starts the stdio server, so it works from a read-only install. The one requirement is that python3 on your machine has the MCP SDK installed.
Run, Preview and Test the MCP Apps Antigravity Dashboard
Clone the repo and try the three commands. demo shows exactly what a text-only client receives, preview opens the interactive view in your browser, and pytest runs the test suite.
git clone https://github.com/GetProjectsIdea/MCP-Apps-Student-Dashboard-Antigravity-Python.git
cd MCP-Apps-Student-Dashboard-Antigravity-Python
python -m venv .venv && source .venv/bin/activate
pip install -e ".[dev]"
classdash-mcp demo # text-only client view
classdash-mcp preview # http://127.0.0.1:8765/ (interactive view + JSON-RPC log)
pytest -q # 93 passed, 1 skipped (browser tests need Playwright)

You do not need Antigravity installed to develop your MCP Apps Antigravity view. The preview host is a tiny MCP Apps host written for this project. It keeps a real MCP client session to the ClassDash server, loads the view in <iframe sandbox="allow-scripts">, speaks the same SEP-1865 messages, caps inline height at 800 px like Antigravity, and enforces tool visibility: the view may call get_subject_stats, but an agent-side call to it is refused. Try ?theme=dark&dataset=mca-sem2-sample in the address bar.

To run the five browser tests as well, install Playwright and Chromium. They load the real page, check the handshake in the JSON-RPC log, change the subject and pass mark, switch to dark mode and confirm that a hostile student name is shown as text. The GitHub Actions workflow runs the core tests on Python 3.10, 3.12 and 3.13 and the browser tests in a separate job.
pip install playwright && python -m playwright install chromium
pytest -q # 98 passed

Connect ClassDash to Google Antigravity
You have two options to run the MCP Apps Antigravity integration. Interactive views appear in the Antigravity App; in the CLI and IDE you will get the plain-text output shown above.
- Install as a local plugin: run
agy plugin validate ./MCP-Apps-Student-Dashboard-Antigravity-Pythonand thenagy plugin install ./MCP-Apps-Student-Dashboard-Antigravity-Python, as described in the Build plugins guide. On Windows, changepython3topythonorpyinmcp_config.json. - Add a custom MCP server: install the package with pip and add it to
~/.gemini/config/mcp_config.json(all projects) or<workspace>/.agents/mcp_config.json(one workspace), the locations given in the Antigravity MCP docs.
{
"mcpServers": {
"classdash": {
"command": "classdash-mcp",
"args": ["serve", "--data-dir", "/absolute/path/to/your/marks-csv-folder"]
}
}
}
Then ask the agent: “Show the class dashboard for cse-sem5-sample” or “Open the ClassDash panel for mca-sem2-sample”. After editing server code, restart the server from Customizations > Installed > your plugin > MCP; HTML changes apply when you close and reopen the view.
Honest note: we tested the server over stdio and in memory with the official MCP Python SDK client, and the view in Chromium through the preview host. Our test machine did not have the Antigravity App, so the screenshots in this article come from the preview host, not from Antigravity itself.
MCP Apps Antigravity Security Checklist
An MCP App runs code in your user’s editor, so treat it like any web app that handles personal data. ClassDash follows these rules, and you should too:
- Default-deny CSP: Antigravity isolates every MCP App in an iframe without persistent storage; the resource asks for no external domains, and the HTML loads no scripts, fonts or images from the internet.
- Read-only tools with
readOnlyHintannotations. Nothing writes to your CSV files. - No paths from the model: datasets are chosen by name and validated against a strict pattern.
- No HTML injection: data is drawn with
textContentand SVG text nodes; there is noinnerHTMLorevalanywhere in the view (a test checks this). - Trust only the parent frame: the view ignores messages from any other window.
- Hide helpers from the agent with
visibility: ["app"], and remember the Antigravity CLI ignores visibility, so app-only tools must still be safe to call. - Keep payloads small: Antigravity stores tool results up to 1 MiB; ClassDash sends well under 50 KB.
- Real marks are personal data: the bundled datasets are synthetic. Keep real student data on your own machine.
For a deeper look at agent safety, see our AI coding agent security scanner and sandboxed coding agent projects.
Common Errors and Fixes
- Blank card in chat: the view never finished the handshake. Check that it sends
ui/initializeand thenui/notifications/initialized, and look for errors in the preview host’s JSON-RPC log. - Card stuck at 150 px: send
ui/notifications/size-changedwith the real body height soon after rendering. - Charts never appear but text does: your client is text-only (CLI/IDE) or the tool lacks
_meta.ui.resourceUri. Runclassdash-mcp demoto see the metadata. - Panel tool does not show inline: that is expected; tools with
aux_paneorglobalentrypoints open in the side panel or as a full page. ModuleNotFoundError: mcpwhen the plugin starts: install the SDK for the samepython3that Antigravity runs.- Dataset error “invalid dataset name”: use the file name without
.csv, using only letters, digits, hyphens and underscores.
Learning Outcomes and Viva Questions
After this MCP Apps Antigravity project you can explain how MCP Apps extend MCP, write a Python MCP server with UI resources, build a message-based bridge in JavaScript, validate untrusted input and test across Python, HTTP and a real browser. Be ready for questions like these in your viva:
- What is the difference between
contentandstructuredContentin a tool result, and who reads each? - Why is the HTML a predeclared
ui://resource instead of HTML returned inside the tool result? - What does
visibility: ["app"]do, and why is it not a security boundary on every client? - Why must the view check
event.sourcebefore handling a message? - How does the view tell the host its height, and what happens in Antigravity if it does not?
- How do your tests prove the view is safe against a malicious student name?
Future Scope and Ideas to Extend
- Custom file viewer: add a
fileentrypoint for a.marksfile type so Antigravity opens marks files straight in ClassDash. - Attendance and internal marks: join two CSV files and plot attendance against final marks.
- Export: add an app-only tool that builds a PDF or CSV report for the class teacher.
- Agent workflows: pair it with the planner/executor orchestrator so one agent analyses results and another drafts revision plans.
- Skills: ship a SKILL.md playbook for “analyse my class results”, like in our Claude Code skills and plugins pack.
- Styling: polish the view with ideas from our HTML and CSS projects for beginners.
FAQ
What are MCP Apps in Antigravity?
MCP Apps let an MCP tool return an interactive HTML interface along with its normal text output. Google added MCP Apps support to the Antigravity App on 24 November 2026. A tool links to a ui:// HTML resource through _meta.ui.resourceUri, and Antigravity can show it inline in chat, in the side panel, as a full page or as a custom file viewer.
What is SEP-1865?
SEP-1865 is the Model Context Protocol proposal that defines MCP Apps (extension id io.modelcontextprotocol/ui). It specifies ui:// resources served as text/html;profile=mcp-app, a sandboxed iframe for the view, and JSON-RPC messages over postMessage such as ui/initialize and ui/notifications/tool-result.
Do I need JavaScript frameworks or Node.js to build an MCP App?
No. ClassDash uses the official MCP Python SDK on the server and one plain HTML file with vanilla JavaScript and SVG for the view. There is no npm, no bundler and no CDN.
Will the dashboard show in the Antigravity CLI or IDE?
According to Google’s documentation, interactive views render in the Antigravity App, while the CLI and IDE run MCP App tools as plain-text tools. That is why ClassDash always returns a readable text summary too.
Can I use my own college marks data?
Yes. Put CSV files with the columns roll, name and one column per subject in a folder, then start the server with –data-dir or set CLASSDASH_DATA. The sample data in the repo is synthetic; keep real student data private.
Can I submit this as my final-year project?
Yes. It is MIT licensed. Add one feature from the future scope list, document the MCP Apps message flow in your report and run the tests during your demo. The source is on GitHub.
Download the Source Code
The complete project (MCP server, single-file HTML view, preview host, Antigravity plugin files, two sample datasets, 98 tests, CI and screenshots) is on GitHub: GetProjectsIdea/MCP-Apps-Student-Dashboard-Antigravity-Python. It is released under the MIT License, so you can use it as an MCP Apps Antigravity starter for coursework, college projects and your own experiments.
Related Projects on GetProjects
- How to build an MCP server in Python: Skills over MCP, Tasks and Elicitation with the official SDK
- Google Antigravity Orchestrator in Python: a local planner/executor pair with hand-back
- Claude Code skills and plugins pack in Python: SKILL.md playbooks with a validator
- Local AI coding assistant with Ollama: a free, offline coding helper
- Gemini student assistant in Python: build with the Gemini API
- Best HTML and CSS projects for beginners
References
- Google Antigravity Blog: Bringing MCP Apps to Antigravity (24 Nov 2026)
- Google Antigravity Docs: MCP Apps
- Google Antigravity Docs: Build plugins and MCP configuration
- SEP-1865: MCP Apps, Interactive User Interfaces for MCP
- MCP Apps specification, version 2026-01-26
- MCP Python SDK: mcp.server.apps reference
Conclusion
You have built a complete MCP Apps Antigravity project: a Python MCP server whose tool returns a real interactive dashboard, an HTML view that speaks the SEP-1865 protocol without any framework, Antigravity plugin files and a test suite that covers the data, the server, the host bridge and the browser. Clone the repository, run classdash-mcp preview, load your own class data, and turn it into a strong final-year project. Happy coding!