Skip to content
This repository was archived by the owner on Feb 16, 2026. It is now read-only.

dastrobu/mcp-fail-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning This repository is no longer maintained and has been replaced by mcp-test-server: A simple Model Context Protocol (MCP) server that provides various tools to test edge cases with MCP clients. Useful for testing error handling in MCP clients.

MCP Fail Server

A simple Model Context Protocol (MCP) server that provides a single tool which always fails. Useful for testing error handling in MCP clients.

Features

  • Single tool fail that always returns an error
  • Built with the official MCP Rust SDK
  • Communicates over stdio for easy integration
  • Minimal dependencies

Installation

cargo install --git https://github.com/dastrobu/mcp-fail-server

Or build from source:

git clone https://github.com/dastrobu/mcp-fail-server
cd mcp-fail-server
cargo build --release

Usage

Run the server:

mcp-fail-server

The server communicates via stdio and follows the Model Context Protocol specification.

Available Tools

  • fail: Always returns an error with the message "This tool always fails intentionally for testing purposes"

License

Licensed under either of

at your option.

About

MCP Server with a tool that always fails.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages