
Jooq Mcp
ch.martinelli由 martinelli.ch 發布官方發布者v1.0.0更新於 Oct 24, 2026
An MCP server that provides access to the jOOQ documentation
概覽
一個遠端 MCP 伺服器,讓 AI 助理可檢索 jOOQ 文件,包括 SQL 範例、程式碼產生指南與資料庫支援資訊。
- 可以做什麼
- 依關鍵字與主題搜尋 jOOQ 文件,取得相關段落與最佳實務。取得針對 SELECT、INSERT、交易等具體操作的 SQL 查詢建構範例。查詢程式碼產生設定指南與各資料庫的支援資訊。查閱特定語句類型的 Query DSL 參考以及 jOOQ 進階功能文件。
- 適用情境
- 適合在使用 jOOQ 的 Java 專案中,讓助理依據文件回答查詢建構、程式碼產生、支援的資料庫或進階功能相關問題。
- 執行需求
- 遠端 SSE 端點;未宣告任何套件、帳號、API 金鑰或標頭。README 也說明本機執行方式,需要 Java 21 以上與 Maven 3.6+,或使用 Docker。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Jooq Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 SSE。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/ch.martinelli%2Fjooq-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"jooq": {
"type": "sse",
"url": "https://jooq-mcp.martinelli.ch/sse"
}
}
}README
jOOQ MCP Server
A Model Context Protocol (MCP) server that provides AI models with access to jOOQ documentation. This Spring Boot application uses Spring AI to expose jOOQ documentation as MCP tools, allowing AI systems to query and retrieve information about jOOQ features, SQL examples, and best practices.
Features
The MCP server provides the following tools:
- searchDocumentation: Search jOOQ documentation for specific topics
- getSqlExamples: Get SQL query building examples for specific operations
- getCodeGenerationGuide: Retrieve jOOQ code generation documentation
- getDatabaseSupport: Get database-specific support information
- getQueryDslReference: Get Query DSL reference for specific statement types
- getAdvancedFeatures: Access documentation for advanced jOOQ features
Getting Started
Prerequisites
- Java 21 or higher
- Maven 3.6+
Running the Application
-
Clone the repository:
-
Build the project:
-
Run the application:
The MCP server will start and be available for connections from MCP clients.
Docker Deployment
-
Build the JAR file:
-
Build the Docker image:
-
Run the Docker container:
Fly.io Deployment
This application is configured for deployment on Fly.io:
-
Install Fly CLI and authenticate:
-
Deploy the application:
The application includes health checks at /actuator/health and is configured with auto-scaling.
Using with MCP Clients
This server can be used with any MCP-compatible AI client. The server exposes tools that allow AI models to:
- Search jOOQ documentation by keyword
- Retrieve specific SQL examples and code snippets
- Access database-specific configuration information
- Get guidance on code generation setup
- Find information about advanced jOOQ features
Configuration
The application can be configured via application.properties:
Example Usage
When connected to an MCP client, you can ask questions like:
- "How do I create a SELECT statement in jOOQ?"
- "Show me examples of jOOQ INSERT operations"
- "What databases does jOOQ support?"
- "How do I configure jOOQ code generation?"
- "How do I use transactions in jOOQ?"
The server will fetch the relevant documentation and provide detailed answers with code examples.
Architecture
The application consists of:
- JooqDocumentationService: Main service class with @Tool annotated methods for MCP integration
- LocalJooqDocumentationService: Provides local documentation indexing and full-text search with TF-IDF scoring
- InvertedIndex: Implements advanced full-text search capabilities with relevance scoring
- JooqDocumentationCrawler: Crawls and fetches jOOQ documentation for local storage
- JooqDocumentationFetcher: Handles parsing and extraction of documentation content
- McpConfiguration: Spring configuration for MCP tool registration
- Caching: Caffeine-based caching to improve performance
Key Features
- Local Documentation Storage: Documentation is stored locally in
src/main/resources/docs/for faster access - Full-Text Search: Advanced search using TF-IDF scoring for better relevance
- Efficient Indexing: In-memory inverted index for fast document retrieval
- Code Example Extraction: Automatic extraction and categorization of code examples
Testing
Run the test suite:
Development
The application uses:
- Spring Boot 3.5.4
- Spring AI 1.0.0 with MCP Server support
- JSoup for HTML parsing
- Caffeine for caching
To add new tools, create methods annotated with @Tool in the JooqDocumentationService class.
來源:README.md,提交 053b5d1
工具
0版本歷史
1- v1.0.0最新Sep 16, 2026
評分
已滿足適用檢查項的 85%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分