hwcontract
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| HWCONTRACT_ROOT | No | Absolute path to the contracts folder. Relative contract paths resolve against it. Defaults to the process's working directory. | |
| HWCONTRACT_SAFE | No | Set to '1' to instantly disable hardware-touching tools (captures) while leaving pure judge tools working. | |
| HWCONTRACT_TOKEN | No | Bearer token required when the server is exposed over HTTP (e.g., via --http). |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| judge_contractA | Judge observations against a contract -> pass/marginal/fail. No hardware; use for replay or when an adapter already captured. |
| capture_ws2812A | Capture the WS2812 data line via sigrok and return measured pulse-width observations (T0H/T1H/...). |
| check_ws2812A | Capture a live WS2812 signal AND judge it against a contract in one call. The one-shot an agent reaches for. |
| check_dshotB | Capture a live DShot600 ESC signal AND judge it against a contract in one call. |
| judge_serialA | Judge a captured serial log against expect/forbid patterns. No hardware; use for replay or logs another tool already captured. |
| check_serialB | Read a serial port for N seconds AND judge its log against a contract's expect/forbid patterns. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/MohibShaikh/hwcontract'
If you have feedback or need assistance with the MCP directory API, please join our Discord server