docker-labs-ai-tools-for-devs
repository·main·Indexed 18 days ago
https://github.com/docker/labs-ai-tools-for-devsAn agentic AI workflow engine that utilizes Docker containers to provide sandboxed tools and Markdown files for defining complex, multi-model LLM workflows. It includes a variety of Dockerized functions for development tasks, such as git operations, file reading/writing, tree-sitter analysis, node intersection, and Clojure linting via clj-kondo. The repository also provides prompt-based tools for reviewing Pull Requests for user-facing changes.
What's inside docker-labs-ai-tools-for-devs
- The Desktop Commander MCP Server is a Model Context Protocol (MCP) server designed to allow AI agents to search, update, manage files, and run terminal commands on a local system. It provides a suite of tools for file system manipulation, process management, and command execution.
Overview of Lazy Docker extractors
mainThelazy_dockerprompt system utilizes extractors to gather context from a codebase. One available extractor isproject-facts, which is designed to provide high-level information about the project structure and characteristics to an AI agent.Overview of Atlassian MCP Server
mainThe Atlassian MCP Server provides Model Context Protocol (MCP) tools to interact with Atlassian products, specifically Confluence and Jira. It is compatible with both Atlassian Cloud and Jira Server/Data Center deployments.Overview of Kong Konnect MCP Server
mainThe Kong Konnect MCP Server is a Model Context Protocol (MCP) server designed to let AI assistants interact with Kong Konnect APIs. It enables AI agents to query and analyze Kong Gateway configurations, traffic, and analytics directly through the MCP interface.Use the Heroku MCP Server
mainThe Heroku MCP Server allows AI models to interact with the Heroku Platform using the Heroku CLI. It is provided as a Docker image and can be used to manage apps, addons, pipelines, and PostgreSQL databases via the Model Context Protocol (MCP).
Docker Image: mcp/herokuUse the Redis Cloud MCP Server
mainThe Redis Cloud MCP Server allows you to manage Redis Cloud resources using natural language via the Model Context Protocol (MCP). It provides tools to interact with the Redis Cloud API for managing subscriptions, databases (both Essential and Pro), and account information.Use the Azure MCP Server
mainThe Azure MCP Server provides Model Context Protocol (MCP) tools that allow AI agents to interact with Azure services. It is distributed as an official Docker image, enabling agents to perform tasks like managing App Configuration, querying Cosmos DB, interacting with Azure AI Search, and managing Storage accounts via standardized tool calls.Use Firecrawl tools for web scraping and research
mainThe Firecrawl MCP Server provides several tools to interact with the web.
Core Web Scraping & Crawling
firecrawl_scrape: Scrape a single webpage. Supports markdown/HTML formats, custom actions (click/scroll), and content extraction.firecrawl_crawl: Start an asynchronous crawl of multiple pages. SupportsmaxDepth,includePaths, andexcludePaths.firecrawl_map: Discover URLs from a starting point using sitemaps or HTML links.firecrawl_check_crawl_status: Check the status of an ongoing crawl job using itsid.
AI-Powered Extraction & Research
firecrawl_deep_research: Conduct deep research on a query using web crawling, search, and AI analysis.firecrawl_extract: Extract structured information from URLs using an LLM. You can provide aschema(JSON) and apromptto guide extraction.firecrawl_generate_llmstxt: Generate a standardizedllms.txtfile for a URL to provide context for LLMs.
Search
firecrawl_search: Search the web and retrieve content. Returns SERP results by default or full page content ifscrapeOptionsare provided.
Configure scoring and penalties
mainManage how points are awarded and deducted for questions.
Scoring Methods (
subscoring)PROPORTIONAL: (Default) Points awarded proportionally to correct answers.LINEAR_SUBSTRACTED:N: Subtracts N points for each error.CUSTOM: Uses specific values defined in thesubpointsfield.NONE: All-or-nothing scoring.
Penalty Configuration
penalty_points: Points deducted for completely incorrect answers (use positive values).penalty_scoring:DEFAULT: Standard application.PER_ANSWER: Apply penalties for every incorrect choice.PER_QUESTION: Apply penalty once per question.
solution_penalty: Deduction for viewing the step-by-step solution (e.g.,ONCE:10%).video_penalty: Deduction for using video assistance.
# Example: Custom subscoring id=math_problem type=numerical points=4 subscoring=CUSTOM subpoints=25 &&& 75System Prompt for ESLint Fix AI Assistant
mainThis system prompt defines the persona and operational workflow for an AI assistant specialized in resolving lint violations. The assistant is instructed to be brief, use available tools to take action, and always provide a real code snippet that resolves the violation.
Operational Workflow
- Run lint: Execute the linting command.
- Evaluate violations:
- If there are fewer than 10 violations, parse the output using the
complaintsformat. - If there are 10 or more violations, parse the output using the
condensedformat.
- If there are fewer than 10 violations, parse the output using the
- Fix violations:
- Condensed mode: For each file, use the
{>fixing}pattern. - Complaints mode: Report the results as JSON.
- Condensed mode: For each file, use the
How the SQLite MCP Server works (Prompts, Tools, and Resources)
mainThis server demonstrates the three core pillars of the Model Context Protocol (MCP):
1. Prompts
Prompts are interactive templates that structure the conversation. The
mcp-demoprompt is a pre-written template that accepts atopicargument (e.g., "retail sales") and guides the LLM through creating tables, analyzing data, and generating insights.2. Tools
Tools are executable functions that allow the LLM to perform actions. In this server, tools are executed within Docker containers (using images like
vonwig/sqlite:latest) to perform SQL operations likeread-query,write-query, andcreate-tablesafely.3. Resources
Resources are data sources that provide context to the conversation. The
memo://insightsresource acts as a persistent, living document that accumulates findings throughout a session, allowing the LLM and the user to refer back to discovered business insights.SQL Query Validation Logic
mainWhen using the SQL prompt system, the agent acts as a SQL expert to validate SQLite queries before execution. The validation process specifically checks for the following common mistakes:
- NULL handling: Using
NOT INwithNULLvalues. - Set operations: Using
UNIONwhenUNION ALLis more appropriate. - Range logic: Using
BETWEENfor exclusive ranges. - Type safety: Data type mismatches in predicates and incorrect casting to data types.
- Syntax & Identifiers: Improperly quoting identifiers and using the incorrect number of arguments for functions.
- Join logic: Using improper columns for joins.
Behavioral Rules:
- If mistakes are found: The agent must rewrite the query to be correct.
- If no mistakes are found: The agent must reproduce the original query.
- Post-validation: The agent is instructed to call the
sql_db_query_toolto execute the query immediately after the check is complete.
- NULL handling: Using