camel-kb MCP
Provides an offline, full-text searchable knowledge base for Apache Camel core functionality, components, EIPs, languages, and data formats, with tools to search and browse catalog entries and retrieve component, EIP, option, and documentation details.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@camel-kb MCPsearch Camel for the SQS component and its options"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
camel-kb MCP
A small, offline MCP server that documents Apache Camel core functionality, components, EIPs, languages, and data formats.
It builds a SQLite FTS5 knowledge base from the official camel-catalog jar and exposes Camel-native tools over stdio. It is intentionally smaller than camel-jbang-mcp: no running Camel context, no Java service, only catalog facts and curated concept notes.
Prerequisites
Node.js 22+
The
camel-catalogjar for the target Camel version, normally already in~/.m2after a Camel or JBang build
Related MCP server: sqlite-rag-mcp
Setup
npm install
npm run ingest
npm run buildingest resolves the catalog in this order:
CAMEL_CATALOG_JAR~/.m2/repository/org/apache/camel/camel-catalog/<version>/camel-catalog-<version>.jar.cache/camel-catalog-<version>.jarMaven Central download into
.cache/
Default version: 4.23.0. Override with CAMEL_VERSION.
CAMEL_VERSION=4.8.8 npm run ingestMCP tools
Tool | Purpose |
| Full-text search with kind and label filters |
| Browse components by label, support level, or name |
| Browse EIPs and aliases |
| Metadata, URI syntax, docs, optional options |
| Metadata, docs, EIP and exchange options |
| Paginated, filterable option table |
| Full cleaned doc or raw AsciiDoc/Markdown |
Register with opencode
"camel-kb": {
"type": "local",
"command": ["node", "D:/Proyectos/LM/CamelMCP/dist/server.js"],
"environment": {
"CAMEL_KB_DB": "D:/Proyectos/LM/CamelMCP/data/camel-kb.sqlite"
},
"enabled": true,
"timeout": 60000
}Verification
npm run query -- "send message to sqs"
npm run test:mcp
npm run doctorLayout
content/concepts/ curated core-concept notes
src/adoc.ts AsciiDoc to plain text
src/catalog.ts catalog jar reader and item builder
src/db.ts SQLite schema and queries
src/render.ts compact output formatting
src/server.ts MCP server
scripts/ingest.ts catalog jar to SQLite
scripts/query.ts CLI search
scripts/doctor.ts DB and tool health check
scripts/test-mcp.ts end-to-end smoke test
data/camel-kb.sqlite generated index (gitignored)Troubleshooting
Model tried to call unavailable tool 'error'
This is not a camel-kb failure. It means the model invented a tool name, usually after following stale instructions that referenced the official
camel-jbang-mcp tools (camel_route_context, camel_catalog_doc). Those tools are not provided by camel-kb.
Use
camel-kb_search_camel,camel-kb_get_component,camel-kb_get_eip,camel-kb_get_options, andcamel-kb_get_doc.Runtime route context is not available through this MCP; inspect route sources and configuration directly.
If you see this again, check the available-tools list and update the agent instructions rather than retrying the invented tool.
Re-ingesting while OpenCode is running
ingest rebuilds the schema in place inside a transaction, so it no longer deletes the SQLite file and does not fail on Windows file locks.
Readers continue to use the old schema until the transaction commits. A query that overlaps the commit may see database schema has changed
once; the server retries transient SQLITE_BUSY, SQLITE_LOCKED, and SQLITE_SCHEMA errors automatically.
Notes
The catalog is the source of truth for component and option names. Concept notes are curated and cite official manual pages.
Some components have JSON metadata but no catalog AsciiDoc. They are indexed as JSON-only and
get_componentreports that no prose doc is stored.Re-run
npm run ingestafter changingCAMEL_VERSIONor the concept notes. Rows are rebuilt, so the previous index is replaced atomically.The official
camel-jbang-mcpis no longer required. If runtime route inspection is needed later, add it back with a Windows-safe launcher (for example["cmd", "/c", "jbang", ...]), because plainjbangcannot be spawned directly on Windows.
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server for search and retrieval over a local LanceDB database
MCP server for querying Forkast documentation
Personal knowledge base MCP server with semantic search, auto-categorization, metadata extraction
Related MCP Servers
- AlicenseAqualityBmaintenanceMCP server for managing and searching multi-tenant knowledge bases backed by SQLite with FTS5, enabling AI agents to persist and retrieve content via full-text search.132MIT
- AlicenseAqualityDmaintenanceOffline RAG MCP server that indexes documents into SQLite with hybrid vector and lexical search, and enables natural language queries via Claude.4MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that grounds AI answers in a local, maintained knowledge base and optionally fills gaps from the web, fully local with SQLite.AGPL 3.0
- FlicenseNot gradedqualityDmaintenanceMCP server enabling natural-language querying of SQLite databases via schema discovery, GraphRAG retrieval, and safely guarded read-only SQL execution.-