naftiko: 1.0.0-alpha2 info: label: Merge Agent Handler — Security Rules description: 'Merge Agent Handler — Security Rules. Lead operation: List Standard Entity Rules. Self-contained capability for content scanning rules that gate sensitive data in tool inputs and outputs.' tags: - Merge - Agent Handler - Security - Data Governance created: '2026-05-22' modified: '2026-05-22' binds: - namespace: env keys: MERGE_AH_API_KEY: MERGE_AH_API_KEY capability: consumes: - type: http namespace: agent-handler-security-rules baseUri: https://ah-api.merge.dev/api/v1 description: Merge Agent Handler — Security Rules business capability. resources: - name: standard-entity-rules path: /security/standard-entity-rules/ operations: - name: liststandardentityrules method: GET description: List Standard Entity Rules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: standard-entity-rules-entity path: /security/standard-entity-rules/{entity_type}/ operations: - name: getstandardentityrule method: GET description: Get Standard Entity Rule outputRawFormat: json outputParameters: - name: result type: object value: $. - name: custom-regex-rules path: /security/custom-regex-rules/ operations: - name: listcustomregexrules method: GET description: List Custom Regex Rules outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcustomregexrule method: POST description: Create Custom Regex Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object required: true - name: custom-regex-rules-id path: /security/custom-regex-rules/{rule_id}/ operations: - name: getcustomregexrule method: GET description: Get Custom Regex Rule outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.MERGE_AH_API_KEY}}' exposes: - type: mcp namespace: agent-handler-security-rules-mcp port: 9090 transport: http description: MCP adapter for Merge Agent Handler — Security Rules. tools: - name: ah-list-standard-entity-rules description: List Standard Entity Rules hints: readOnly: true destructive: false idempotent: true call: agent-handler-security-rules.liststandardentityrules outputParameters: - type: object mapping: $. - name: ah-list-custom-regex-rules description: List Custom Regex Rules hints: readOnly: true destructive: false idempotent: true call: agent-handler-security-rules.listcustomregexrules outputParameters: - type: object mapping: $. - name: ah-create-custom-regex-rule description: Create Custom Regex Rule hints: readOnly: false destructive: false idempotent: false call: agent-handler-security-rules.createcustomregexrule with: body: tools.body outputParameters: - type: object mapping: $.