MCP (Model Context Protocol) Support for Laravel #55255
Replies: 7 comments 9 replies
-
@charescape is this protocol supposed to work with non bottle-necking data sources like elastic search (search engines) or with slow data sources like mysql, pgress, sql server etc? |
Beta Was this translation helpful? Give feedback.
-
MCP is an open protocol that standardizes how applications provide context to LLMs. |
Beta Was this translation helpful? Give feedback.
-
@macropay-solutions Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools. |
Beta Was this translation helpful? Give feedback.
-
@charescape if that protocol involves complex queries in db it will be slow. |
Beta Was this translation helpful? Give feedback.
-
@charescape This introduces some problems even if the db is readonly.
We exposed the db just like this but not via raw sql but with url query language that uses decorated column names and table (under resource name). Can you give a real life example of a situation when you would want your laravel db exposed like this? |
Beta Was this translation helpful? Give feedback.
-
You are free to make a package. Laravel is not an AI framework so it doesn't make sense in the core imo. |
Beta Was this translation helpful? Give feedback.
-
@shaedrich I still think that the implementation of this protocol makes sense in the Laravel framework. Just like Streamed Responses, Laravel itself doesn't need to integrate any AI models or capabilities, it only needs to implement the MCP server protocol, and how to use the MCP protocol depends on the users/developers of the Laravel framework. |
Beta Was this translation helpful? Give feedback.
-
Model Context Protocol (MCP) is an open protocol that enables seamless integration between LLM applications and external data sources and tools. Whether you’re building an AI-powered IDE, enhancing a chat interface, or creating custom AI workflows, MCP provides a standardized way to connect LLMs with the context they need.
https://modelcontextprotocol.io/introduction
Beta Was this translation helpful? Give feedback.
All reactions