
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 分