BrainAPI is a knowledge graph–powered AI memory layer that transforms unstructured data into structured knowledge, enabling intelligent search, recommendations, and contextual memory for AI agents and applications.
Python ai-agentsai-memoryknowledge-graphknowledge-managementknowledge-representationreccomendation-system
fix(mcp): dns rebinding protection field
Christianf0dfb315d7a5
diff --git a/README.md b/README.mdindex 35cb16e..4267429 100644--- a/README.md+++ b/README.md@@ -1,6 +1,6 @@<p align="center"><a href="https://discord.gg/VTngQTaeDf"><img src="https://img.shields.io/badge/Discord-Join%20Lumen%20Brain-5865F2?style=for-the-badge&logo=discord&logoColor=white" alt="Discord"/></a>- <img src="https://img.shields.io/badge/version-2.7.8--dev-blue?style=for-the-badge" alt="Version"/>+ <img src="https://img.shields.io/badge/version-2.7.9--dev-blue?style=for-the-badge" alt="Version"/><img src="https://img.shields.io/badge/python-3.11+-green?style=for-the-badge&logo=python&logoColor=white" alt="Python"/><img src="https://img.shields.io/badge/license-AGPLv3%20%2B%20Commons%20Clause-purple?style=for-the-badge" alt="License"/></p>diff --git a/pyproject.toml b/pyproject.tomlindex 97781c8..db02279 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -1,6 +1,6 @@[project]name = "brainapi2"-version = "2.7.8-dev"+version = "2.7.9-dev"description = "Version 2.x.x of the BrainAPI memory layer."authors = [{name = "Christian",email = "[email protected]"}diff --git a/src/services/mcp/app.py b/src/services/mcp/app.pyindex f94733b..93853b5 100644--- a/src/services/mcp/app.py+++ b/src/services/mcp/app.py@@ -12,4 +12,8 @@ transport_security = TransportSecuritySettings(enable_dns_rebinding_protection=False,)-app = mcp.streamable_http_app(transport_security=transport_security)+app = mcp._mcp_server.streamable_http_app(+ transport_security=transport_security,+ stateless_http=mcp.settings.stateless_http,+ json_response=mcp.settings.json_response,+)