Spaces:
Runtime error
Runtime error
File size: 1,517 Bytes
1c2b077 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 |
# Sticker MCP Server
This is an MCP (Model Context Protocol) server that allows large language models to search and send stickers based on emotion descriptions.
## Features
- Search for stickers based on emotion descriptions
- Return sticker images in response to queries
- Integrate with existing sticker search API
## Installation
1. Install dependencies:
```
cd sticker-server
npm install
```
2. Make the server executable:
```
npm run build
```
3. Configure the MCP settings:
- For Claude Desktop app: Copy the contents of `mcp_settings.json` to `~/Library/Application Support/Claude/claude_desktop_config.json`
- For Claude VSCode extension: Copy the contents of `mcp_settings.json` to `~/Library/Application Support/Trae/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json`
If the file already exists, merge the "sticker" entry into the existing "mcpServers" object.
## Usage
Once the MCP server is configured, you can ask the language model to express emotions using stickers. For example:
- "Show me a happy sticker"
- "I'm feeling sad, can you send a sticker?"
- "Send a cat sticker"
The language model will use the `send_sticker` tool to search for and display an appropriate sticker based on your request.
## How it Works
The server connects to a local sticker search API running at `http://localhost:7860/api/search_stickers` and provides the search results to the language model, which can then display the stickers in its responses.
|