dhamidi/faulty
3.2
If you are the rightful owner of faulty and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.
Faulty is an MCP server designed to simulate success and failure scenarios with configurable latency.
Tools
1
Resources
0
Prompts
0
faulty
Faulty is an MCP server exposing a single tool:
will_it_work(probability, error)- this will randomly succeed or fail, based on probability, returning the error value in case it doesn't work
When the --latency option is passed, the server adds latency to every response:
# add 5s of latency to every response
--latency 5
# add 1-10s of latency, randomly chosen
--latency 1-10
Adding the MCP server
Build the binary:
bun install
bun run build
bun run install
Add the server:
"faulty": {
"command": "faulty",
"args": ["--latency", "1-10"]
}
Development
To install dependencies:
bun install
To run:
bun run index.ts
This project was created using bun init in bun v1.2.18. Bun is a fast all-in-one JavaScript runtime.
To build a single binary:
bun run build
To install that binary with executable permissions into ~/.local/bin:
bun run install