Skip to content

MCP server

The RebelCore™ MCP server lets an AI assistant work in RebelCore for a person: ask questions about their data, analyse photos, keep files and run scheduled Agent tasks. It speaks the Model Context Protocol, so any assistant that supports remote MCP servers can use it.

https://mcp.rebelcore.ai/mcp

The assistant always acts as the person who signed in, with exactly their access. Everything RebelCore applies in the portal applies here too: dataset access, LLM exposure, Mask to AI, human review, licence limits and daily limits. Every call is recorded in your audit as coming from the MCP server, with the assistant’s name.

Before you start

  1. Your organisation turns it on. A Customer Super Admin opens Customer Settings and turns on Enable MCP server. It is off until then, and turning it off stops every assistant at its next call.
  2. You can sign in. Either:
    • A person: your RebelCore email, password and authenticator code (the same as /authorize/totp). Set up your authenticator in the portal first.
    • An API user: its user name and password (see API users). API users can ask questions and analyse photos only.
    • Microsoft: if your organisation has turned on Microsoft sign-in, choose Sign in with Microsoft on the RebelCore sign-in page your assistant opens (for example from Microsoft Copilot). RebelCore asks for your authenticator code too, unless your Microsoft sign-in already requires a second factor.

Connecting an assistant

Add a remote MCP server (sometimes called a “custom connector”) with the address https://mcp.rebelcore.ai/mcp. The assistant finds the sign-in itself: it opens a RebelCore sign-in page in your browser, you sign in, and you are returned to the assistant. You do not need a client id or secret; assistants register themselves.

AssistantWhere to add it
Microsoft Copilot StudioTools → Add a tool → Model Context Protocol → server URL, authentication OAuth 2.0 (dynamic discovery)
ClaudeSettings → Connectors → Add custom connector
ChatGPTSettings → Connectors → Add (developer mode)
VS CodeMCP: Add Server → HTTP → the address above

A sign-in lasts up to 30 days of use. It ends sooner if your account is disabled, your password must change, or your organisation turns the MCP server off.

Programs that sign in themselves

A program that already has a RebelCore token from /authorize or /authorize/totp can send it as it is:

Authorization: Bearer <token>

The token’s own 24-hour life applies.

Tools

ToolWhat it doesPeopleAPI users
ask_rebelcoreAsk a question about your data and files. Returns the answer, the evidence and a session_id to continue the conversation. Without dataset_ids it uses every dataset you may query✓✓ (must give dataset_ids)
list_datasetsThe datasets you may ask about✓
analyse_photoAnswer a question about one photo✓✓
analyse_photosAnswer one question about up to 5 photos together✓✓
list_filesYour RebelVault files✓
get_fileOne file’s details✓
download_fileA short-lived download link✓
upload_fileSave a file (text, base64 or an https link) to your RebelVault✓
delete_fileDelete a file you own✓
list_tasksYour Agent tasks and scheduled reports✓
get_taskOne task and its recent runs✓
create_taskRun a prompt on a schedule, or once✓
update_taskRename, reword, pause, resume or reschedule a task✓
delete_taskDelete a task✓

delete_file and delete_task are marked as destructive, so assistants ask before using them.

A photo or file can be given as an https link, as base64, or as the file_id of a file in your RebelVault. Links are fetched by RebelCore (up to 25 MB); links to private network addresses are refused. Photos follow your organisation’s photo rules and daily limit, the same as /image-analysis.

When something is refused

A refusal comes back to the assistant as a tool error in plain words, for example:

SituationWhat the assistant is told
MCP server not turned onYour organisation has not turned on the RebelCore MCP server
An API user calls a people-only toolThis needs a person’s sign-in
Conversation under human reviewA reviewer will get back to you
Licence or daily limit reachedWhich limit was reached
Sign-in expiredSign in again

For developers

  • Transport: Streamable HTTP, one endpoint (POST /mcp), no sessions.
  • Authorisation: OAuth 2.1 with PKCE. Discovery through /.well-known/oauth-protected-resource/mcp and /.well-known/oauth-authorization-server. Clients may register dynamically (/register) or use a Client ID Metadata Document (an https client id). Tokens are issued for the resource https://mcp.rebelcore.ai/mcp only.
  • Scope: rebelcore.
  • Access tokens last up to an hour; refresh tokens 30 days and are replaced on every use.