MCP.so
登录

MCP Server Giphy

@magarcia

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

magarcia

关于 MCP Server Giphy

An implementation of Giphy integration with Model Context Protocol

#giphy#gif-api#mcp-server

MCP Server Giphy 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "giphy": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-server-giphy"
      ],
      "env": {
        "GIPHY_API_KEY": "<YOUR_API_KEY>"
      }
    }
  }
}

MCP Server Giphy 工具

6

`query` (string): Search query term or phrase

Array of GIF objects with metadata

`tag` (optional string): Tag to limit random results

Random GIF object with metadata

`limit` (optional number): Maximum number of objects to return (default: 10, max: 50)

Array of trending GIF objects with metadata

概览

What is MCP Server Giphy?

MCP Server Giphy is a Model Context Protocol server that enables AI models to search, retrieve, and utilize GIFs from Giphy. It integrates with the Giphy API and is intended for developers building AI-powered applications that need GIF capabilities.

How to use MCP Server Giphy?

Obtain a Giphy API key from the Giphy developer dashboard, then set it as the GIPHY_API_KEY environment variable. For usage with Claude Desktop, add the server configuration to your claude_desktop_config.json with the command npx -y mcp-server-giphy and the API key. The server exposes three tools: search_gifs, get_random_gif, and get_trending_gifs.

Key features of MCP Server Giphy

  • Content filtering by rating (G, PG, PG-13, R)
  • Optimized response format for AI model consumption
  • Query-based, random, and trending GIF retrieval
  • Comprehensive metadata including dimensions, formats, and attribution
  • Pagination support with configurable result size and offset

Use cases of MCP Server Giphy

  • AI assistants that need to find and return relevant GIFs based on user queries
  • Chatbots that can respond with random or trending GIFs to engage users
  • Applications requiring custom GIF searches with content rating controls

常见问题

1

What tools does MCP Server Giphy provide?

It provides three tools: `search_gifs` (search by query with optional limit, offset, rating, and language), `get_random_gif` (get a random GIF optionally filtered by tag and rating), and `get_trending_gifs` (get currently trending GIFs with optional limit, offset, and rating).

2

What data is included in each GIF response?

Each GIF includes its unique Giphy ID, title, URL on Giphy, and an `images` object containing direct URLs, widths, and heights for various image formats, plus additional metadata when available.

3

How do I configure the server with an API key?

Set the `GIPHY_API_KEY` environment variable to your Giphy API key. For Claude Desktop, add it to the server's `env` field in `claude_desktop_config.json`.

4

What runtime or dependencies are required?

The server is an npm package; you need Node.js to run it via `npx`. Dependencies are installed automatically when using `npx -y`.

5

Is there any content safety or filtering?

Yes, you can filter results by rating (g, pg, pg-13, r) using the optional `rating` input parameter on all three tools.

评论

其他 分类下的更多 MCP 服务器