Skip to content

Commit d33a84f

Browse files
docs: guidelines: initial laravel/mcp guidelines (#267)
* docs: guidelines: initial laravel/mcp guidelines Our documentation is great, so the guidelines don't need to be very detailed * docs: guidelines: MCP - add http/https node issue * Update core.blade.php --------- Co-authored-by: Taylor Otwell <[email protected]>
1 parent 13fa1e7 commit d33a84f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.ai/mcp/core.blade.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
## Laravel MCP
2+
3+
- MCP (Model Context Protocol) is very new. You must use the `search-docs` tool to get documentation for how to write and test Laravel MCP servers, tools, resources, and prompts effectively.
4+
- MCP servers need to be registered with a route or handle in `routes/ai.php`. Typically, they will be registered using `Mcp::web()` to register a HTTP streaming MCP server.
5+
- Servers are very testable - use the `search-docs` tool to find testing instructions.
6+
- Do not run `mcp:start`. This command hangs waiting for JSON RPC MCP requests.
7+
- Some MCP clients use Node, which has its own certificate store. If a user tries to connect to their web MCP server locally using https://, it could fail due to this reason. They will need to switch to http:// during local development.

0 commit comments

Comments
 (0)