mcp-rule-engine
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DATABASE_URL | Yes | The path to the SQLite database file. Example: file:D:/Desktop/mcp/prisma/data/rules.db |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
| resources | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| analyze_workspaceC | Analyze a git workspace diff for rule violations |
| capture_diffC | Capture and analyze a code diff for rule violations |
| query_rulesC | Query rules by language and file path |
| generate_rules_from_cognitionC | Explicitly learn a governance rule from a (language, pattern, suggestion) triple, building the cognition closure (PATTERN→INTENT→CONSTRAINT) and a pending shadow Rule |
| confirm_ruleC | Accept, reject, edit, or skip a suggested rule |
| resolve_conflictD | Resolve a rule conflict |
| list_rulesC | List rules with optional filters |
| cognition_queryC | Query the cognition graph from a context hash |
| cognition_validateC | Validate code content against an AST template |
| cognition_feedbackC | Submit feedback to adjust edge weights |
| cognition_approve_injectionC | Approve, reject, or override a pending injection proposal |
| cognition_update_configC | Update server configuration |
| governance_pause_arbitratorC | Pause the automatic constraint arbitrator for N minutes |
| governance_rollback_arbitrationC | Rollback auto-resolved conflicts since an ISO datetime |
| analyze_projectC | Scan a project directory to extract file stats, detect coding conventions, and batch-create cognition nodes for governance initialization |
| session_createC | Create a new collaborative session for multi-turn governance workflows |
| session_joinC | Join an existing collaborative session |
| session_leaveC | Leave a collaborative session |
| session_statusC | Get session details, participants, context, and optionally tool call history |
| session_listA | List all active sessions, optionally filtered by project |
| session_contextC | Set or get a shared context value within a session |
| webhook_registerB | Register a webhook URL to receive governance events (rule created, conflict resolved, etc.) |
| webhook_unregisterA | Remove a registered webhook by ID |
| webhook_listA | List all registered webhooks and delivery statistics |
| webhook_testB | Send a test ping to a registered webhook to verify connectivity |
| plugin_loadA | Load a GovernFlow plugin from an NPM package name or local file path |
| plugin_unloadB | Unload a loaded plugin by plugin name or instance ID |
| plugin_listA | List all loaded plugins with status and registered extensions |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| Cognition Graph Schema | JSON Schema of the cognition graph data model, including CognitionNode, CognitionEdge, and AstTemplate tables and their relationships. |
| Cognition Engine Statistics | Current graph statistics: node count, edge count, feedback event count, and average traversal latency. Useful for health checks and capacity planning. |
| Cognition Engine Documentation | GovernFlow project README. Agents can read this to understand the project architecture, quickstart guide, and available MCP tools. |
| Rules Changelog | Versioned changelog of global rule changes. Returns version = SHA-256 prefix of updated_at field. Agents must read this before making rule modifications. |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/sole03/governflow'
If you have feedback or need assistance with the MCP directory API, please join our Discord server