Over the wire test doubles

npm install mountebank
238 downloads in the last day
241 downloads in the last week
242 downloads in the last month


mountebank is the first tool to provide multi-protocol, multi-language test doubles over the wire. Just point your application to mountebank instead of the real dependency, and test like you would with traditional stubs and mocks.

At the moment, the following protocols are supported:

  • http
  • https
  • tcp (text and binary)
  • smtp

mountebank supports mock verification, stubbing with advanced predicates, JavaScript injection, and record-playback through proxying.

how it works

See getting started guide for more information.


NPM version


npm install -g mountebank



Learn More

After installing and running, view the docs in your browser at http://localhost:2525, or visit the public site.


Visit the Google group for any support questions. Don't be shy!


Build Status Coverage Status Dependency Status

./build should do the trick. If not, yell at me. At the moment I've tested on OS X and Linux. I test on node 0.10 (I used to test on node 0.8 as well, but struggled getting my Travis deployments working with both in the build matrix).


Contributions are welcome (see for my own open loops, although I welcome other ideas). Some tips for contributing are in the contributing link that spins up when you run mb. You can reach me at

npm loves you