MCP Integration

Real-time catalog verification and knowledge search

Camel-Kit uses the Model Context Protocol (MCP) to provide real-time catalog verification and knowledge search without pre-loading documentation into the agent’s context.

Two MCP Servers

Camel MCP — Catalog Verification

On-demand access to Apache Camel component catalogs, EIP patterns, data formats, and languages.

5 tools:

  • camel_catalog_component — component details, URI format, properties
  • camel_catalog_eip — EIP patterns (choice, split, aggregate)
  • camel_catalog_dataformat — data formats (JSON, XML, CSV, Avro)
  • camel_catalog_language — expression languages (Simple, JSONPath, XPath)
  • camel_validate_route — YAML route syntax and structure validation
Knowledge MCP — Semantic Search

Hybrid semantic search over 166,973 indexed documents — Apache Camel documentation, guides, CVE advisories, and release notes.

2 tools:

  • hybrid_search — 20% BM25 + 80% KNN Vector search
  • lookup_component — pure BM25 for exact component name matching

Embedding model: granite-embedding-small-english-r2 (384-dim, Q8 quantized)

Catalog Tools in Action

/camel-knowledge

The /camel-knowledge skill is a prescriptive Q&A interface over Knowledge MCP:

User: "How do I enable retries on the Kafka component?"

Agent:
1. Calls hybrid_search(query="Kafka retries", topK=5)
2. Receives relevant chunks
3. Synthesizes answer with source citations
Question Routing

The skill routes questions to the appropriate tool:

  • Component confighybrid_search + camel_catalog_component
  • Error troubleshootinghybrid_search (includes CVE advisories)
  • Best practiceshybrid_search (includes best practice guides)
Cross-Agent Equalization

Entirely MCP-driven — no agent-specific logic:

User question → hybrid_search() → ranked chunks → answer

Works identically on all 5 agents (Claude, Bob, Gemini, Qwen, OpenCode). Same questions, same results, regardless of which agent.

Next Steps