Basic information
About Hejdar MCP Server
Hejdar MCP Server — runtime policy enforcement for AI agents
Hejdar is a MCP server in the Other category listed in the AddMCP.net directory, published by ARKALDA. Supported transport: stdio. Runtime: python. License: MIT. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: ai, ai-agent-security, ai-agents, ai-infrastructure, compliance.
Setup
{
"mcpServers": {
"hejdar": {
"command": "uvx",
"args": [
"hejdar-mcp"
],
"env": {
"HEJDAR_API_KEY": "your-api-key",
"HEJDAR_API_URL": "https://api.hejdar.com"
}
}
}
}
{
"mcpServers": {
"hejdar": {
"command": "uvx",
"args": [
"hejdar-mcp"
],
"env": {
"HEJDAR_API_KEY": "your-api-key",
"HEJDAR_API_URL": "https://api.hejdar.com"
}
}
}
}
{
"servers": {
"hejdar": {
"command": "uvx",
"args": [
"hejdar-mcp"
],
"env": {
"HEJDAR_API_KEY": "your-api-key",
"HEJDAR_API_URL": "https://api.hejdar.com"
}
}
}
}
Hejdar MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"hejdar": {
"command": "uvx",
"args": [
"hejdar-mcp"
],
"env": {
"HEJDAR_API_KEY": "your-api-key",
"HEJDAR_API_URL": "https://api.hejdar.com"
}
}
}
}
Hejdar MCP Server tools
Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is Hejdar?
Hejdar is an MCP server that exposes the hejdar_evaluate tool to allow MCP-compatible AI agents (e.g., Claude, ChatGPT, Cursor) to check whether an intended action is permitted by organizational policy before executing it. It is a thin wrapper around the Hejdar API (POST /v1/evaluate) and contains no policy logic itself — all decisions come from the user's Hejdar organization's configured policies.
How to use Hejdar?
Install via pip install hejdar-mcp or run directly with uvx hejdar-mcp. Obtain an API key from app.hejdar.com (Settings → API Keys). Configure your MCP client (Claude Desktop, Claude Code, or direct stdio) by setting the HEJDAR_API_KEY environment variable and pointing to the hejdar-mcp command. Once configured, your agent can call hejdar_evaluate with parameters action_type, resource, and optional agent_name and context.
Key features of Hejdar
- Exposes
hejdar_evaluateas a single MCP tool. - Wraps the Hejdar API; no policy logic in the server.
- Supports five action types: READ, WRITE, DELETE, TRANSFER, EXECUTE.
- Returns decisions: ALLOW, DENY, or WOULD_DENY with reason and risk level.
- API key is read from environment variables only; never hardcoded.
- All API calls enforce TLS for secure communication.
Use cases of Hejdar
- Prevent an AI agent from deleting customer data without manager approval.
- Enforce that a code-generation agent can only read, not write, to production databases.
- Block a file-transfer agent from moving sensitive data to an unauthorized server.
- Alert on actions that would be denied (WOULD_DENY) for auditing purposes.
- Integrate runtime policy checks into any MCP-compatible client workflow.
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In