Metadata-Version: 2.4
Name: managebac-mcp
Version: 0.2.0
Summary: MCP server that gives AI assistants access to ManageBac (read-only by default): classes, tasks, calendar, files, grades, CAS and more.
Keywords: managebac,mcp,model-context-protocol,ib,school,claude,ai
Author: Acharya Sukarth
License-Expression: MIT
License-File: LICENSE
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: End Users/Desktop
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Education
Requires-Dist: beautifulsoup4>=4.12
Requires-Dist: httpx>=0.27
Requires-Dist: keyring>=25.0
Requires-Dist: mcp>=2.3,<3
Requires-Dist: openpyxl>=3.1
Requires-Dist: pypdf>=5.0
Requires-Dist: python-docx>=1.1
Requires-Dist: python-pptx>=1.0
Requires-Dist: tzdata ; sys_platform == 'win32'
Requires-Python: >=3.11.5
Project-URL: Homepage, https://github.com/Sukarth/managebac-mcp
Project-URL: Repository, https://github.com/Sukarth/managebac-mcp
Project-URL: Issues, https://github.com/Sukarth/managebac-mcp/issues
Project-URL: Changelog, https://github.com/Sukarth/managebac-mcp/blob/main/CHANGELOG.md
Description-Content-Type: text/markdown

<p align="center">
  <img src="assets/logo.svg" alt="" width="112" height="112">
</p>

<h1 align="center">ManageBac MCP</h1>

<p align="center">
  <b>Let your AI assistant read ManageBac for you.</b>
  <br>
  Deadlines, tasks, calendar, class files, grades, CAS, EE and TOK, straight inside Claude, Cursor, VS Code and any other MCP client.
  <br>
  Read-only by default. Your password never reaches the AI.
</p>

<p align="center">
  <a href="https://pypi.org/project/managebac-mcp/"><img src="https://img.shields.io/pypi/v/managebac-mcp?color=2563eb&label=pypi" alt="PyPI"></a>
  <a href="https://pypi.org/project/managebac-mcp/"><img src="https://img.shields.io/pypi/pyversions/managebac-mcp?color=7c3aed" alt="Python versions"></a>
  <a href="https://github.com/Sukarth/managebac-mcp/actions/workflows/ci.yml"><img src="https://github.com/Sukarth/managebac-mcp/actions/workflows/ci.yml/badge.svg" alt="CI"></a>
  <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-green" alt="MIT License"></a>
  <a href="https://modelcontextprotocol.io"><img src="https://img.shields.io/badge/MCP-compatible-black" alt="MCP compatible"></a>
</p>

<p align="center">
  <a href="#install">Install</a> ·
  <a href="#what-you-can-ask">Examples</a> ·
  <a href="docs/tools.md">All tools</a> ·
  <a href="docs/configuration.md">Configuration</a> ·
  <a href="docs/troubleshooting.md">Troubleshooting</a>
</p>

---

## Install

You need [uv](https://docs.astral.sh/uv/getting-started/installation/) (one command to install) and a ManageBac account that signs in with email and password.

**1. Save your login once** (stored in your system keychain: macOS Keychain, Windows Credential Manager or Linux Secret Service):

```bash
uvx managebac-mcp login
```

**2. Add the server to your AI app:**

<details open>
<summary><b>Claude Desktop</b></summary>

Settings → Developer → Edit Config, then add:

```json
{
  "mcpServers": {
    "managebac": {
      "command": "uvx",
      "args": ["managebac-mcp"]
    }
  }
}
```

Restart Claude Desktop.
</details>

<details>
<summary><b>Claude Code</b></summary>

```bash
claude mcp add managebac -- uvx managebac-mcp
```
</details>

<details>
<summary><b>Cursor / Windsurf / VS Code / others</b></summary>

Use the same `command` and `args` as above in the client's MCP settings:

- **Cursor:** `~/.cursor/mcp.json` (same JSON as Claude Desktop)
- **VS Code:** `.vscode/mcp.json` → `{"servers": {"managebac": {"command": "uvx", "args": ["managebac-mcp"]}}}`
- **Windsurf:** `~/.codeium/windsurf/mcp_config.json` (same JSON as Claude Desktop)

More clients and options: [docs/configuration.md](docs/configuration.md).
</details>

> [!TIP]
> Skipped step 1? Just ask the assistant to connect ManageBac. It opens a private sign-in page on your computer, so you never type your password into the chat.

## What you can ask

> *"What's due this week, and which of it haven't I submitted?"*
>
> *"Summarise the IA checklist my chemistry teacher uploaded."*
>
> *"Which tasks are overdue? Draft a plan to catch up before Friday."*
>
> *"How many CAS hours do I have per strand, and which experiences still need reflections?"*
>
> *"Any new notifications from my teachers?"*

The assistant calls ManageBac on your behalf, reads what it needs, and answers in plain language.

## What it can do

| Area | What you get |
|---|---|
| **Tasks & deadlines** | Upcoming, past and overdue tasks with exact due times, status, grades and your submitted files |
| **Calendar** | Everything in a date range: tasks, deadlines, events, IB year-group dates |
| **Classes** | Your classes, teachers (with email), classmates, recent activity, units of study |
| **Files** | Browse class files and read PDFs, Word, PowerPoint and Excel files as text, or save them to your computer |
| **Grades** | Assessed tasks, category weights and completion stats per class |
| **Notifications** | Unread and recent messages, full text on demand |
| **IB** | CAS experiences, strands, hours and outcomes; Extended Essay and TOK status, prompts and documents |
| **Everything else** | Global search, discussions, groups, timetable, profile, and a safe reader for any other ManageBac page |
| **Optional writes** | Off by default. When enabled: mark notifications, manage personal calendar events, and create or edit CAS experiences, reflections and comments, always after you approve a preview |

28 read tools, plus 13 opt-in write tools. See the [full tool reference](docs/tools.md).

## Privacy & safety

- **Read-only by default.** Out of the box the server never changes anything on ManageBac. Write tools only appear if you start it with `--allow-writes`, and even then every change is previewed first and only sent after you approve it. Task submissions are never automated.
- **Your password stays on your computer.** It lives in your OS keychain (or environment variables if you prefer) and is only ever sent to your school's ManageBac site.
- **No third parties.** Nothing is sent anywhere except ManageBac and Faria's own notification service. No analytics.
- **You're in control.** Run `uvx managebac-mcp logout` to delete the saved login at any time.

Your AI client does see the ManageBac data the assistant reads (that's the point), so use a client you trust. More in [SECURITY.md](SECURITY.md).

## How it works

ManageBac has no public API for students, so this server signs in like your browser does and reads the same pages and data feeds the website uses. Calendar items and notifications come from ManageBac's JSON feeds. Everything else is read from the web pages and turned into tidy, structured data for the assistant.

Technical details, architecture and how to contribute: [DEVELOPMENT.md](DEVELOPMENT.md) and [CONTRIBUTING.md](CONTRIBUTING.md).

## Limitations

- Schools that only allow **Google or Microsoft single sign-on** aren't supported yet (see [troubleshooting](docs/troubleshooting.md)).
- Built and tested with **student** accounts in the IB Diploma Programme. Other programmes mostly work. Parent and teacher accounts aren't supported yet.
- If ManageBac redesigns a page, a tool may return less detail until the parser is updated. Please [open an issue](https://github.com/Sukarth/managebac-mcp/issues).

## Support

If this saved you time, please consider supporting me with a [GitHub sponsorship](https://github.com/sponsors/Sukarth) (other options are behind the repo's Sponsor button). Thank you! Starring the repo or sharing it with others is also appreciated.

## Disclaimer

This is an independent open-source project. It is not affiliated with, endorsed by, or supported by ManageBac or Faria Education Group.

> [!WARNING]
> ManageBac has no public student API, so this tool signs in and requests pages the way a browser does. ManageBac's terms of service may restrict automated access, and accounts that break them can be suspended. Use it only with your own account, check your school's policy and ManageBac's current terms first, and use it at your own risk. Requests are kept light (a few at a time, no background polling), and the write tools are off by default.

## License

MIT. See [LICENSE](LICENSE).

---

<p align="center">Built with ❤️ by <a href="https://github.com/Sukarth">Sukarth</a></p>
