- Home
- MCP servers
- Giphy API
Giphy API
- python
0
GitHub Stars
python
Language
7 months ago
First Indexed
3 months ago
Catalog Refreshed
Documentation & install
Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.
Installation
Add the following to your MCP client configuration file.
Configuration
View docs{
"mcpServers": {
"rigzindorje-giphy-api": {
"command": "python",
"args": [
"mcp_server/main.py",
"stdio"
],
"env": {
"CONFIG": "A JSON string containing the configuration",
"SECURITY": "Environment variables for security parameters (e.g., API keys)",
"CONFIG_PATH": "Path to a JSON configuration file (e.g., mcp_server/mcp_config.json)"
}
}
}
}You run an MCP server that exposes the Giphy OpenAPI spec in an MCP-friendly way, enabling you to query and navigate the API with contextual capabilities from your MCP clients.
How to use
Start the MCP server in stdio mode to communicate with MCP clients on your local machine. You will provide optional configuration using environment variables, or a JSON configuration file, and then connect through the standard MCP transport. The server supports different transport modes, and stdio is the local, file-based option that runs the server as a child process.
How to install
Prerequisites include Python 3.9 or newer, and a Python package manager. You will also need the uv tool for running the server directly if you prefer that path.
# 1) Clone the MCP server repository
git clone <repository-url>
cd mcp-server
# 2) Install dependencies (dev dependencies included)
pip install -e ".[dev]"
# If you prefer using uv to run Python tooling environments
uv pip install --editable ".[dev]"
Optional: if you are managing dependencies in a development container, you can use the provided script to install dev dependencies. If you are not using the dev container, run the manual command shown above.
Additional notes
Running the server can be done with a single Python command that launches the MCP server in stdio mode. You can configure the server via environment variables or a JSON configuration file.
python mcp_server/main.py stdio
Environment variables you can use to customize the server behavior include CONFIG_PATH for a JSON configuration file path, CONFIG for a JSON string containing the configuration, and SECURITY for security-related parameters such as API keys.