How to Use the KPA Flex MCP in Claude Code
Run terminal-based safety audits and pipe EHS compliance data directly into your CLI workflows with Claude Code.
Works with every AI agent you already use
…and any MCP-compatible client
Connect KPA Flex MCP to Claude Code
Create your Vinkius account to connect KPA Flex to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Run headless safety audits from your terminal
Pipe safety data straight into your shell scripts. Claude Code queries `list_ehs_inspections` to grab recent reports, allowing you to grep for specific failures or pipe the JSON output directly into local compliance databases. You don't need a browser to check site status. Just run a CLI command to trigger `get_flex_site_stats` and instantly see your incident rates right in your terminal session.
Build terminal-based MCP Server automation pipelines
Automate your compliance checks using cron jobs or CI/CD pipelines. The agent uses `list_safety_trainings` to extract completion records and alerts your team via terminal output if critical safety courses are missing. By combining `list_flex_employees` with terminal commands, you can script automated roster audits. This keeps your compliance checks running in the background without any manual overhead.
Query raw safety schemas and assets instantly
Skip the heavy UI when debugging form layouts. Claude Code calls `get_form_schema` to dump raw JSON structures directly to stdout, making it easy to see exactly what fields your field teams are filling out. You can also quickly track equipment by calling `list_company_assets` and filtering the output using standard terminal tools. It makes finding a specific piece of gear fast and painless.
Set up KPA Flex MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seekpa-flex-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest KPA Flex transactions." It will automatically discover and invoke the available KPA Flex tools.
claude mcp add --transport http kpa-flex-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about KPA Flex MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the KPA Flex MCP today
We host it, we monitor it, we maintain it. You just paste one token.