Brainier MCP Server
for AI Agents
Connect your AI agent to StackOne's Brainier MCP server and give it 47 MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
47 Agent Actions
Create, read, update, and delete across Brainier — and extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Brainier MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Brainier tool response scanned for prompt injection in milliseconds — 88.7% accuracy, all running on CPU.
Prompt Injection Defense →Performance
Max Agent Context. Min Cost.
Free up to 96% of your agent's context window to enhance reasoning and reduce cost, on every Brainier call.
Tools Discovery →What is the Brainier MCP Server?
A Brainier MCP server lets AI agents read and write Brainier data through the Model Context Protocol — Anthropic's open standard for connecting LLMs to external tools. StackOne's Brainier MCP server ships with 47 pre-built actions, fully extensible via the Connector Builder — plus managed authentication, prompt injection defense, observability, and agent execution runtime. Connect it from MCP clients like Claude Desktop, Claude Code, Cursor, Goose, and VS Code, or from agent frameworks like OpenAI Agents SDK, LangChain, and Vercel AI SDK.
All Brainier MCP Tools
Every action from Brainier's API, ready for your agent. Create, read, update, and delete — scoped to exactly what you need.
Object Access
- Create Object Access
Grant front-end access to a learning object for a user or group (must pass either user_id or group_id, but not both)
- Get Object Access
Retrieve the users and groups who have been granted access to a learning object
- Remove Object Access
Remove front-end access to a learning object for a user or group (must pass either user_id or group_id, but not both)
User Object Records
- Create User Object Record
Create a record for a user/object combination with a status such as Complete or Failed
- Get User Object Records
Retrieve started or completed records in the system, with optional date and filter parameters
- Update User Object Record
Update the status of a user object record (e.g., moving from Started to Complete)
Assignments
- Create Assignment
Create an empty assignment batch (can also create a bookmark or recommendation)
- Get Assignments
Retrieve all assignment batches that the caller has access to
Assigned Users
- Create Assigned User
Add a user to an assignment batch
- Get Assigned Users
Retrieve all user IDs that are part of an assignment (individually or through a group)
- Remove Assigned User
Remove a user from an assignment batch
Assigned Groups
- Create Assigned Group
Add a group to an assignment batch
- Get Assigned Groups
Retrieve all group IDs that are part of an assignment
- Remove Assigned Group
Remove a group from an assignment batch
Assigned Objects
- Create Assigned Object
Add a learning object to an assignment batch
- Get Assigned Objects
Retrieve all learning object IDs that are part of an assignment
- Remove Assigned Object
Remove a learning object from an assignment batch
Bookmarks
- Create Bookmark
Bookmark a learning object for the current user
- Remove Bookmark
Remove a bookmark for a learning object
Other (28)
- Create User
Create a new user with the information provided (assignment changes may take up to an hour to propagate)
- Upload User Avatar
Upload an image file to be used as the avatar of a user
- Add User To Group
Add a single user to the specified group within the context of a role (assignment changes may take up to an hour to propagate)
- Create Group
Create a new group with the information provided
- Send Form Answers
Submit answers provided by a user for questions in a quiz or survey
- Get Multiple Users Info
Retrieve user information for users that meet filter criteria
- Get Single User Info
Retrieve all user information for a given user ID
- Get Multiple Groups Info
Retrieve group information for groups that meet filter criteria
- Get Single Group Info
Retrieve all group information for a given group ID
- Get Multiple Roles Info
Retrieve role information for roles that meet filter criteria
- Get Single Role Info
Retrieve all role information for a given role ID
- Get Multiple Learning Objects Info
Retrieve learning object information for multiple learning objects based on filter criteria
- Get Learning Object Info
Retrieve all learning object information for a given object ID
- Get Learning Object Comments
Retrieve all comments for a given learning object
- Get Class Schedules Info
Retrieve all schedule information for a given class object
- Get Form Questions And Answers
Retrieve all questions and possible answers for a quiz or survey
- Get Form Options
Retrieve additional configuration options for a quiz or survey set in the Brainier LMS backend
- Get User Form Answers
Retrieve answers provided by a user for all questions in a quiz or survey for a single record
- Get Assignments By User
Retrieve all assigned objects and assignment information for a particular user
- Get Tags
Retrieve all system tags or tags associated with objects the user has access to
- Get Bookmarked Objects
Retrieve all learning objects that the caller has bookmarked
- Get Object Authors
Retrieve all authors associated with a learning object
- Get All Object Authors
Retrieve all authors the caller has access to (associated with accessible objects)
- Get Objects By Author
Retrieve all learning objects that have the specified user or faculty as an author
- Update User Info
Update a pre-existing user with new information (assignment changes may take up to an hour to propagate)
- Update Group Info
Update a pre-existing group with new information provided
- Remove User From Group
Remove a single user from a group (assignment changes may take up to an hour to propagate)
- Unregister From Class
Delete a user object record to unregister a user from a class (only works for class objects)
Set Up Your Brainier MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Brainier in under 10 lines of code.
Agent Frameworks
{
"mcpServers": {
"stackone": {
"command": "npx",
"args": [
"-y",
"mcp-remote@latest",
"https://api.stackone.com/mcp?x-account-id=<account_id>",
"--header",
"Authorization: Basic <YOUR_BASE64_TOKEN>"
]
}
}
}Check More Learning / LMS MCP Servers
122+ actions
111+ actions
100+ actions
79+ actions
78+ actions
72+ actions
69+ actions
Platform Resources
MCP Code Mode: Keeping Tool Responses Out of Agent Context
Anthropic's code_execution processes data already in context. Custom MCP code mode keeps raw tool responses in a sandbox. 14K tokens vs 500.
11 min
Comparing BM25, TF-IDF, and Hybrid Search for MCP Tool Discovery
Benchmarking BM25, TF-IDF, and hybrid search for MCP tool discovery across 916 tools. The 80/20 TF-IDF/BM25 hybrid hits 21% Top-1 accuracy in under 1ms.
10 min
Indirect Prompt Injection Defense for MCP Tools: A Technical Guide
MCP tools that read emails, CRM records, and tickets are indirect prompt injection vectors. Here's how we built a two-tier defense that scans tool results in ~11ms.
12 min
MCP vs A2A: Architecture, Security, and When to Use Each
MCP vs A2A: what each protocol standardizes, how they differ, their shared security risks including indirect prompt injection, and when to use one, both, or a hybrid architecture.
12 min
MCP vs API: What 200+ Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building 200+ connectors that serve both, here's when each approach wins.
14 min read
Brainier MCP Server FAQ
Does StackOne have a Brainier MCP server?
Brainier MCP server vs direct API integration — what's the difference?
How does Brainier authentication work for AI agents?
origin_owner_id.Are Brainier MCP tools vulnerable to prompt injection?
What is the context bloat of a Brainier agent and how do I avoid it?
Can I limit which actions my Brainier agent can access?
Can I create custom agent actions for my Brainier MCP server?
When should I NOT use a Brainier MCP server?
What AI frameworks and AI clients does the StackOne Brainier MCP server support?
Put your AI agents to work
All the tools you need to build and scale AI agent integrations, with best-in-class connectivity, execution, and security.