> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sigilcore.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Mock Engine

> Setting up the local Express.js execution firewall.

# The Mock Engine

The `mock_server.js` file included in the developer toolkit acts as your local `https://sign.sigilcore.com` API. It validates bearer tokens, checks your agent's intent against simple mock logic, and returns a dummy Ed25519 signature.

## Installation & Setup

Navigate to your developer toolkit folder and initialize the Node environment:

```bash theme={null}
npm init -y
npm install express
```

## **Running the Engine**

Start the mock firewall on Port 3000:

```bash theme={null}
node mock_server.js
```

You should see the following console output indicating the firewall is active:

```text theme={null}
======================================================
🚀 Sigil Open Framework - Mock Engine Server Running
======================================================
Listening on: http://localhost:3000
Send POST requests to: http://localhost:3000/v1/authorize
```

Keep this terminal window open. As your agent requests Intent Attestations, you will see the engine's real-time evaluation logs and policy violation rejections printed here.
