Hippycampus
Turns any Swagger/OpenAPI REST endpoint with a yaml/json definition into an MCP Server with Langchain/Langflow integration automatically.
Hippycampus
A LangChain-based CLI and MCP server that supports dynamic loading of OpenAPI specifications and integration with Langflow.
Prerequisites
- Python 3.12.9
- UV package manager
- Google AI Studio API key
- Langflow (for visual workflow creation)
Installation
# Install UV if you haven't already
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create and activate virtual environment
uv venv
source .venv/bin/activate # On Windows use: .venv\Scripts\activate
# Install hippycampus and its dependencies
uv pip install -e .
# Install langflow
uv pip install langflow
Configuration
Google AI Studio API Key
- Visit Google AI Studio
- Click "Create API Key" in the top right
- Copy the generated key and set it as an environment variable:
export GOOGLE_API_KEY='your-api-key-here'
Running the Applications
CLI Mode (no MCP server)
uv run hippycampus-cli
MCP Server Mode (SSE)
uv run hippycampus-server --transport sse --port 8000
Langflow Server
Ensure the MCP server is running before starting Langflow.
- Set the components path environment variable:
# Get your current working directory
pwd
# Use the output to set the components path
export LANGFLOW_COMPONENTS_PATH="/output/from/pwd/langflow/components"
- Start the Langflow server (add --dev for development mode):
uv run langflow run
- Open your browser and navigate to
http://localhost:7860
Using Custom Components in Langflow
-
In the Langflow UI, locate the custom components:
- OpenApi Service: For loading OpenAPI specifications
- Hippycampus MCP Server: For connecting to the MCP server over SSE
-
Configure the components:
- OpenApi Service: Use
https://raw.githubusercontent.com/APIs-guru/unofficial_openapi_specs/master/xkcd.com/1.0.0/openapi.yamlfor testing - MCP Server: Use
http://localhost:8000/sse
- OpenApi Service: Use
See the Screencast Demo for a visual guide. Screencast Demo
Note that the official XKCD swagger files contain an error and specify the comic_id field as a number instead of an integer, there is a fixed version in the test folder.
Troubleshooting
- Authentication errors: Check if
GOOGLE_API_KEYis set correctly - Missing components in Langflow: Verify
LANGFLOW_COMPONENTS_PATHpoints to the correct directory - Connection issues: Ensure the MCP server is running before connecting via Langflow
- If components don't appear in Langflow, try restarting the Langflow server
- Use the cli to debug openapi_builder/spec_parser and agent interaction issues before running in MCP/Langflow.
License
MIT License
Copyright (c) 2024 Ray Cromwell
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
İlgili Sunucular
Scout Monitoring MCP
sponsorPut performance and error data directly in the hands of your AI assistant.
Alpha Vantage MCP Server
sponsorAccess financial market data: realtime & historical stock, ETF, options, forex, crypto, commodities, fundamentals, technical indicators, & more
MCP Stdio Server
An MCP server using stdio transport, offering file system access, a calculator, and a code review tool. Requires Node.js.
Helm Package README MCP Server
Search and retrieve detailed information, including READMEs, for Helm charts on Artifact Hub.
pfSense MCP Server
Enables natural language interaction with pfSense firewalls through GenAI applications.
OpenAPI Schema Explorer
Token-efficient access to OpenAPI/Swagger specs via MCP Resources
MCP - Model Context Protocol for Joomla!
A Joomla plugin providing a task-based API to manage content and connect with AI, workflow automation, and internal tools.
Terraform MCP Server by Binadox
MCP server for Terraform — automatically validates, secures, and estimates cloud costs for Terraform configurations. Developed by Binadox, it integrates with any Model Context Protocol (MCP) client (e.g. Claude Desktop or other MCP-compatible AI assistants).
Code Summarizer
A command-line tool that summarizes code files in a directory using Gemini Flash 2.0.
Codesys-mcp-toolkit
A Model Context Protocol (MCP) server for CODESYS V3 programming environments.
MCP Tool Kit
A modular server for building AI agents with a unified interface for tools like file operations, web search, browser automation, and financial data.
Figma
Access and interact with Figma files and prototypes directly from AI agents.