From eeee62419f60d3795bc784bdbb2e565b6c0428e2 Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Thu, 5 Nov 2026 07:33:29 +0000 Subject: [PATCH] chore: point AI coding agents to llms.txt and Camel MCP server Add a quick-link bar and AI agent paragraph to README.adoc, mirroring what was done for the main apache/camel README in PR #27743. Add a 'Start here' section at the top of AGENTS.md for AI coding assistants that use these examples to build Camel Spring Boot applications, with links to llms.txt, the Camel Spring Boot docs, and the Camel MCP server. Closes CAMEL-25594 --- AGENTS.md | 20 ++++++++++++++++++++ README.adoc | 5 +++++ 2 files changed, 25 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index cafbd2785..968e01fc9 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -1,5 +1,25 @@ # Apache Camel Spring Boot Examples - AI Agent Guidelines +## Start here — building with Camel Spring Boot + +If you are an AI coding assistant helping a developer **use** these examples or +build a Camel Spring Boot application, start with the resources below: + +- **Apache Camel LLM index:** — full Camel + documentation in a single LLM-friendly index. +- Any Camel documentation page is also available as Markdown: replace `.html` + with `.md` in its URL (e.g. + `https://camel.apache.org/camel-spring-boot/latest/index.md`). +- **Camel Spring Boot docs:** +- **Camel MCP server:** + — connect Claude Code, GitHub Copilot, Cursor, or Gemini CLI to get the full + Camel catalog (component URIs, endpoint options, DSL syntax) directly in your + IDE. +- Do **not** invent component URIs or endpoint options — verify them against the + catalog or the documentation via llms.txt or the MCP server. + +--- + Guidelines for AI agents contributing examples to **apache/camel-spring-boot-examples**. This repository contains runnable Maven examples that demonstrate Apache Camel diff --git a/README.adoc b/README.adoc index 9aada0383..5f2f5e7e6 100644 --- a/README.adoc +++ b/README.adoc @@ -8,6 +8,11 @@ command, Maven will attempt to download the required dependencies from a central repository to your local repository. View the individual example READMEs for details. +link:https://camel.apache.org/camel-spring-boot/latest/[Camel Spring Boot docs] | link:https://camel.apache.org/llms.txt[Docs for AI agents (llms.txt)] | link:https://camel.apache.org/manual/camel-jbang-mcp.html[Camel MCP server] + +AI coding assistants can read Camel documentation as Markdown: link:https://camel.apache.org/llms.txt[llms.txt] indexes it, and each documentation page is available as Markdown by replacing `.html` with `.md` in its URL. +Apache Camel also provides an link:https://camel.apache.org/manual/camel-jbang-mcp.html[MCP server] so AI coding assistants (Claude Code, GitHub Copilot, Cursor, Gemini CLI) get full Camel catalog context — component URIs, endpoint options, and more. + === Executing Master branch should only be used for development purposes, which will be pointing