About Sarcasm MCP Server
Sarcasm MCP Server serves sarcastic quotes to AI agents, with tools to retrieve the full collection or a random quote in MCP-compatible environments.
Key features
- 01Retrieve all sarcastic quotes
- 02Retrieve a random sarcastic quote
Use cases
- 01Add a sarcastic quote to a conversation
- 02Browse the available sarcastic quotes
MCP support
This MCP server exposes tools for retrieving all quotes or a random quote to MCP clients.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
Tools
2Saved tool list · updated 3w ago
This tool takes no parameters.
Details
From the project READMESarcasm MCP Server
A Model Context Protocol (MCP) server that provides sarcastic quotes. This MCP server integrates with AI agents to deliver witty and sarcastic responses.
🚀 Features
- Get All Sarcastic Quotes: Retrieve all available sarcastic quotes
- Get Random Sarcastic Quote: Fetch a random sarcastic quote for your enjoyment
- MCP Integration: Seamlessly integrates with any Model Context Protocol supporting environment
📋 Requirements
- Node.js 18.0 or higher
- npm or yarn package manager
🔧 Installation
# Clone the repository
git clone https://github.com/yourusername/sarcasm-mcp.git
# Navigate to the project directory
cd sarcasm-mcp
# Install dependencies
npm install
# Build the project
npm run build
🧰 Development
# Install dependencies
npm install
# Build the project
npm run build
Run the mcp in vs code
- Create mcp.json in your workspace if not already present
mkdir .vscode
touch .vscode/mcp.json
- Add the following configuration to the mcp.json file
{
"servers": {
"sarcasm": {
"type": "stdio",
"command": "node",
"args": [
"PATH_TO_YOUR_BUILD_DIRECTORY/index.js"
]
}
}
}
🛠️ Usage
Running MCP Server via NPX
- Create mcp.json in your workspace if not already present
mkdir .vscode
touch .vscode/mcp.json
- Add the following configuration to the mcp.json file
{
"servers": {
"sarcasm": {
"type": "stdio",
"command": "npx",
"args": [
"mcp-sarcasm"
]
}
}
}
Using with GitHub Copilot
This MCP server integrates with GitHub Copilot and other AI assistants that support the Model Context Protocol. When connected, you can use the following tools:
get-all-sarcastic-quotes: Retrieves all available sarcastic quotesget-random-sarcastic-quote: Gets a random sarcastic quote
Example:
Can you #get-random-sarcastic-quote for me?
📦 Package Structure
sarcasm-mcp/
├── src/
│ ├── index.ts # Main server file
│ ├── constants/ # API constants
│ ├── service/ # Service for fetching quotes
│ └── types/ # TypeScript type definitions
├── build/ # Compiled JavaScript files
├── package.json # Project dependencies and scripts
└── README.md # This documentation
🔌 API Reference
This MCP server uses the following API endpoints:
GET /sarcasm/all- Retrieves all sarcastic quotesGET /sarcasm/random- Gets a random sarcastic quote
Responses are returned in the following format:
interface SarcasticQuote {
id: string;
sarcasm: string;
createdAt: string;
updatedAt: string;
}
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.