Turns any Swagger/OpenAPI REST endpoint with a yaml/json definition into an MCP Server with Langchain/Langflow integration automatically.
A LangChain-based CLI and MCP server that supports dynamic loading of OpenAPI specifications and integration with Langflow.
# 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
export GOOGLE_API_KEY='your-api-key-here'
uv run hippycampus-cli
uv run hippycampus-server --transport sse --port 8000
Ensure the MCP server is running before starting Langflow.
# Get your current working directory
pwd
# Use the output to set the components path
export LANGFLOW_COMPONENTS_PATH="/output/from/pwd/langflow/components"
uv run langflow run
http://localhost:7860
In the Langflow UI, locate the custom components:
Configure the components:
https://raw.githubusercontent.com/APIs-guru/unofficial_openapi_specs/master/xkcd.com/1.0.0/openapi.yaml
for testinghttp://localhost:8000/sse
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.
GOOGLE_API_KEY
is set correctlyLANGFLOW_COMPONENTS_PATH
points to the correct directoryMIT 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.
A collection of reference implementations for Model Context Protocol (MCP) servers in Typescript and Python, demonstrating MCP features and SDK usage.
Create and manage end-to-end tests using the Octomind platform.
A tool to retrieve API interface information from YApi, with authentication configurable via environment variables.
Interact with the Bitcoin and Lightning Network to generate keys, validate addresses, decode transactions, and query the blockchain.
A Ruby gem providing secure Rails console access through MCP for AI agents and development tools.
An integrated MCP server combining Azure DevOps, Gmail, Browser, and Gemini AI functionalities on a Node.js server.
A collection of demo files for MCP servers and clients, illustrating various transport protocols and server capabilities using Python.
Exposes binary analysis data from Ghidra, including functions and pseudocode, to LLMs.
A framework for AI-powered command execution and a plugin-based tool system. It can be run as a standalone service or embedded in other projects to expose a consistent API for invoking tools and managing tasks.
A local MCP server for developers that mirrors your in-development MCP server, allowing seamless restarts and tool updates so you can build, test, and iterate on your MCP server within the same AI session without interruption.