Luma MCP Server
for AI Agents
Connect your AI agent to StackOne's Luma MCP server and give it ready-to-use MCP tools out of the box. Auth, tool execution, and security all managed.
Coverage
12 Agent Actions
Agents can read, write, delete and run operations in Luma. Extend your agent's capabilities with custom actions.
Authentication
Agent Tool Authentication
Per-user OAuth in one call. Your Luma MCP server gets session-scoped tokens with zero credentials stored on your infra.
Agent Auth →Security
Agent Protection
Every Luma tool response scanned for prompt injection in about 2.5 ms, with 0.94 F1 on tool-response attacks, all running on a 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 Luma call.
Tools Discovery →What is the Luma MCP Server?
A Luma MCP server lets AI agents read and write Luma data through the Model Context Protocol, Anthropic's open standard for connecting LLMs to external tools. StackOne's Luma MCP server ships with 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 Luma MCP Tools
Every StackOne action for Luma, ready for your agent. Read, write, delete and run operations, scoped to exactly what you need.
Credits
- Get Credits
Get the team's current credit balance
Files
- Upload File
Upload a small file inline so generations can reference it by file_id
- Create File
Request a presigned upload URL for a large file
- List Files
List uploaded files, newest first
- Get File
Get one uploaded file's metadata and state
- Delete File
Permanently delete an uploaded file
Complete File Uploads
- Complete File Upload
Finalize a presigned upload after the bytes have been PUT
Generations
- Create Generation
Submit an async image or video generation, edit, reframe or layering job
- Get Generation
Get a generation's state, output URLs and cost
- Delete Generation
Request asynchronous deletion of a finished generation and its outputs
Deletions
- Get Deletion
Get the status of a generation deletion task
Usages
- Get Usage
Report settled credit spend for a time window, optionally grouped
Set Up Your Luma MCP Server in Minutes
One endpoint. Any framework. Your agent is talking to Luma 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>"
]
}
}
}Platform Resources
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, the security risks they share, and when to use one, both or a hybrid.
12 min
MCP vs API: What Hundreds of Connector Builds Taught Us
MCP wraps APIs, it doesn't replace them. After building hundreds of connectors that serve both, here's when each approach wins.
14 min read
FAQ
Luma MCP Server FAQ
origin_owner_id.