HID Origo MCP Server for Mastra AI 11 tools — connect in under 2 minutes
Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect HID Origo through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.
ASK AI ABOUT THIS MCP SERVER
Vinkius supports streamable HTTP and SSE.
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";
async function main() {
// Your Vinkius token. get it at cloud.vinkius.com
const mcpClient = await createMCPClient({
servers: {
"hid-origo": {
url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
},
},
});
const tools = await mcpClient.getTools();
const agent = new Agent({
name: "HID Origo Agent",
instructions:
"You help users interact with HID Origo " +
"using 11 tools.",
model: openai("gpt-4o"),
tools,
});
const result = await agent.generate(
"What can I do with HID Origo?"
);
console.log(result.text);
}
main();
* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure
About HID Origo MCP Server
Connect your HID Origo platform to any AI agent and take full control of your cloud-based identity and physical access management through natural conversation.
Mastra's agent abstraction provides a clean separation between LLM logic and HID Origo tool infrastructure. Connect 11 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.
What you can do
- Mobile Identity Oversight — List and retrieve details for all issued mobile identities (digital cards) and monitor their activation status.
- User & Group Management — Access lists of users and identity groups defined in your tenant to ensure correct access policies.
- Enrollment Automation — Send enrollment invitations for mobile identities directly from the chat interface.
- Reader & Hardware Monitoring — List and monitor the status of IoT readers and door controllers connected to your organization.
- Credential Tracking — Manage both physical and digital credentials linked to your users in a unified view.
- Security Auditing — Retrieve system audit logs to monitor administrative actions and access events.
The HID Origo MCP Server exposes 11 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.
How to Connect HID Origo to Mastra AI via MCP
Follow these steps to integrate the HID Origo MCP Server with Mastra AI.
Install dependencies
Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
Replace the token
Replace [YOUR_TOKEN_HERE] with your Vinkius token
Run the agent
Save to agent.ts and run with npx tsx agent.ts
Explore tools
Mastra discovers 11 tools from HID Origo via MCP
Why Use Mastra AI with the HID Origo MCP Server
Mastra AI provides unique advantages when paired with HID Origo through the Model Context Protocol.
Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add HID Origo without touching business code
Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation
TypeScript-native: full type inference for every HID Origo tool response with IDE autocomplete and compile-time checks
One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure
HID Origo + Mastra AI Use Cases
Practical scenarios where Mastra AI combined with the HID Origo MCP Server delivers measurable value.
Automated workflows: build multi-step agents that query HID Origo, process results, and trigger downstream actions in a typed pipeline
SaaS integrations: embed HID Origo as a first-class tool in your product's AI features with Mastra's clean agent API
Background jobs: schedule Mastra agents to query HID Origo on a cron and store results in your database automatically
Multi-agent systems: create specialist agents that collaborate using HID Origo tools alongside other MCP servers
HID Origo MCP Tools for Mastra AI (11)
These 11 tools become available when you connect HID Origo to Mastra AI via MCP:
create_enrollment_invitation
Pass the invitation details as a JSON string in "body_json" (requires userId and partNumber). Send a new invitation to a user for mobile identity enrollment
get_audit_log_events
Useful for security monitoring and troubleshooting enrollment issues. Retrieve the history of administrative and access events
get_mobile_identity
Get details for a specific mobile identity
get_organization_info
Retrieve metadata and configuration for your HID Origo organization
get_user_details
Get detailed information for a specific user ID
list_access_readers
List all IoT readers and door controllers connected to HID Origo
list_identity_groups
List identity groups used for access control policies
list_identity_invitations
List all invitations sent for mobile identity enrollment
list_identity_users
Use this to find the user ID for credential or mobile identity assignment. List all users managed in the HID Origo tenant
list_mobile_identities
Monitor issuance and activation status. List all issued mobile identities (digital cards)
list_physical_credentials
List physical access credentials (cards, fobs) managed in the system
Example Prompts for HID Origo in Mastra AI
Ready-to-use prompts you can give your Mastra AI agent to start working with HID Origo immediately.
"List all active mobile identities and their status."
"Show me the status of the access readers in the 'London Office'."
"Invite user 'user_992' to enroll for a mobile identity."
Troubleshooting HID Origo MCP Server with Mastra AI
Common issues when connecting HID Origo to Mastra AI through the Vinkius, and how to resolve them.
createMCPClient not exported
npm install @mastra/mcpHID Origo + Mastra AI FAQ
Common questions about integrating HID Origo MCP Server with Mastra AI.
How does Mastra AI connect to MCP servers?
MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.Can Mastra agents use tools from multiple servers?
Does Mastra support workflow orchestration?
Connect HID Origo with your favorite client
Step-by-step setup guides for every MCP-compatible client and framework:
Anthropic's native desktop app for Claude with built-in MCP support.
AI-first code editor with integrated LLM-powered coding assistance.
GitHub Copilot in VS Code with Agent mode and MCP support.
Purpose-built IDE for agentic AI coding workflows.
Autonomous AI coding agent that runs inside VS Code.
Anthropic's agentic CLI for terminal-first development.
Python SDK for building production-grade OpenAI agent workflows.
Google's framework for building production AI agents.
Type-safe agent development for Python with first-class MCP support.
TypeScript toolkit for building AI-powered web applications.
TypeScript-native agent framework for modern web stacks.
Python framework for orchestrating collaborative AI agent crews.
Leading Python framework for composable LLM applications.
Data-aware AI agent framework for structured and unstructured sources.
Microsoft's framework for multi-agent collaborative conversations.
Connect HID Origo to Mastra AI
Get your token, paste the configuration, and start using 11 tools in under 2 minutes. No API key management needed.
