CLI Builder AI MCP
OfficialThis server provides automation tooling for building and documenting Python command-line interfaces (CLIs), offering four core capabilities:
generate_argparse: Generate PythonargparseCLI boilerplate code with support for arguments, types, defaults, choices, and subcommands.generate_click: Generate PythonClickCLI boilerplate code with commands and options.parse_help_text: Parse raw CLI--helpoutput into structured command/option data for further processing or analysis.generate_manpage: Generate Unix man pages in troff format, including program metadata, options, examples, and author information.
All tools are stateless, idempotent, and process data locally with no external side effects. A free tier allows 10 calls/day per tool; Pro/Enterprise tiers offer expanded usage and support.
Cli Builder Ai MCP
Cli Builder MCP ā automation tooling for cli builder
Cli Builder MCP ā automation tooling for cli builder. MIT.
š Quick Start
# Install via pip
pip install cli_builder_ai_mcp
# Or install via Smithery
npx -y @smithery/cli@latest install cli-builder-ai-mcp --client claudeRelated MCP server: Sql Builder AI MCP
⨠Features
MCP protocol compliant
Easy installation
Well-documented API
Production-ready
Active maintenance
š Documentation
š”ļø Compliance
This MCP server is built with EU AI Act compliance built-in:
ā Article 9 ā Risk Management System
ā Article 13 ā Transparency & Instructions for Use
ā Article 15 ā Bias Detection & Testing
ā Article 26 ā FRIA Support (where applicable)
ā Article 50 ā AI Content Watermarking (where applicable)
Need help getting compliant? Book a free 15-min diagnostic ā
š¢ Enterprise
Need custom development, SLA guarantees, or white-label deployment?
Pro: $99/mo ā Full MCP suite + EU AI Act tracking
Enterprise: $499/mo ā Custom dev + SLA + Dedicated support
View Pricing ā | Contact Sales ā
š¤ Part of the MEOK Ecosystem
This server is part of the MEOK AI Labs ecosystem ā 300+ MCP servers for sovereign AI governance.
Domain | Purpose |
EU AI Act compliance marketplace | |
AI safety & monitoring | |
Sovereign AI platform | |
Legacy modernization |
š License
MIT Ā© CSOAI-ORG
Pairs with MEOK Governance Suite
Build something that touches users? You need compliance. MEOK ships 38 governance MCPs that drop in alongside this tool ā EU AI Act, DORA, NIS2, CRA, GDPR, ISO 42001, FDA SaMD, MDR, Basel, MiFID II, MiCA, COPPA, and more.
# One-shot install of the governance pack
npx meok-setup --pack governanceFree tier: 10 calls/day per MCP. Pro tier (Ā£79/mo): unlimited + cryptographically signed compliance attestations your auditor verifies independently.
ā Full catalogue: councilof.ai/catalogue ā MEOK AI Labs: meok.ai
šø Try MEOK in 30 seconds ā instant buy ladder
Tier | Price | What you get | Stripe |
Smoke test | £1 | Signed sample MCP-Hardening report + Article 50 PDF | |
Quick Kit | £9 | EU AI Act Article 50 implementation guide (C2PA + EU-Icon) | |
Founder Call | £29 | 30-min 1-on-1 with the founder |
Refundable. UK Stripe ā VAT-clean. Builds on the 81-MCP MEOK fleet. Verify any signed report at https://meok.ai/verify.
Configuration
Add to your claude_desktop_config.json (Claude Desktop) or your MCP client config:
{
"mcpServers": {
"cli-builder-ai-mcp": {
"command": "uvx",
"args": ["cli-builder-ai-mcp"]
}
}
}Or: pip install cli-builder-ai-mcp then run the cli-builder-ai-mcp command (stdio transport).
Examples
Once configured, ask your assistant, for example:
"Use
generate_argparseto ā¦""Use
generate_clickto ā¦""Use
parse_help_textto ā¦"
See also
MEOK compliance MCP fleet:
ci-cd-generator-ai-mcp, linkedin-outreach-mcp, lorem-ipsum-ai-mcp, otp-ai-mcp, recruitment-ai-mcp
Available Tools
4 toolsgenerate_argparseA
Generate Python argparse CLI boilerplate code.
Args: program_name: CLI program name description: Program description arguments: List of argument dicts with keys: name, type (str/int/float/bool), help, required (bool), default (optional), choices (list, optional) subcommands: Optional list of subcommand dicts with keys: name, help, arguments (same format)
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| program_name | Yes | ||
| description | Yes | ||
| arguments | Yes | ||
| subcommands | No | ||
| api_key | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations provided, so the description fully covers behavioral traits: read-only, no side effects, authentication requirements (none basic / API key for pro), rate limits (10/day free), error handling (structured errors), idempotency, and data privacy. All key aspects are disclosed comprehensively.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is verbose with repeated information (e.g., side effects mentioned twice). Could be more concise by merging 'Behavior:' and 'Behavioral Transparency' sections. While structured into sections, the length warrants some trimming for efficiency.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Covers behavior, parameters, usage guidelines, and limitations well. However, lacks description of the output format (what generated code looks like) and does not explicitly differentiate from sibling tool generate_click. Slight gaps but overall sufficient for a 5-parameter tool with no output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, but the description adds meaning by specifying the structure for 'arguments' (list of dicts with keys: name, type, help, required, default, choices) and 'subcommands' (similar format). However, the 'api_key' parameter is not described in the description, leaving the agent unaware of that optional input.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
Clearly identifies the tool as generating Python argparse CLI boilerplate code. Distinguishes from siblings: generate_click is another CLI generator, generate_manpage generates documentation, parse_help_text parses help text. The verb 'generate' and resource 'argparse CLI code' are specific.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
'When to use' section is vague and misaligned, referring to structured analysis/classification rather than code generation. 'When NOT to use' is overly generic (not for production without human review). No explicit comparison to sibling tool generate_click, leaving the agent unclear on which CLI generator to choose.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_clickA
Generate Python Click CLI boilerplate code.
Args: program_name: CLI program name description: Program description commands: List of command dicts with keys: name, help, options (list of dicts with: name, type, help, required, default)
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| program_name | Yes | ||
| description | Yes | ||
| commands | Yes | ||
| api_key | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
The description thoroughly covers side effects (read-only, no modifications), authentication (none for basic, API key for pro), rate limits (10/day free), error handling, idempotency, and data privacy. No annotations exist, so the description fully compensates.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured but contains a verbose 'When to use' section that is irrelevant and misleading. This wastes space that could be used for more relevant guidance.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers parameters, behavior, and error handling, but fails to specify the format of the successful return value (the generated code). Given no output schema, this is a notable omission.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is 0%, but the description explains all four parameters in detail, including the structure of 'commands' as dicts with specific keys. This adds meaning well beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states 'Generate Python Click CLI boilerplate code' with a specific verb and resource. It distinguishes from siblings like generate_argparse and generate_manpage.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The 'When to use' section incorrectly describes the tool as performing 'structured analysis or classification', which directly contradicts its actual purpose of generating Click boilerplate. The 'When NOT to use' is similarly irrelevant. This is misleading and harms usability.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
generate_manpageA
Generate a man page in troff format.
Args: program_name: Program name description: Program description version: Version string synopsis: Usage synopsis line options: List of option dicts with keys: flag, description examples: List of example dicts with keys: command, description author: Author name
Behavior: This tool generates structured output without modifying external systems. Output is deterministic for identical inputs. No side effects. Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| program_name | Yes | ||
| description | Yes | ||
| version | No | 1.0.0 | |
| synopsis | No | ||
| options | No | ||
| examples | No | ||
| author | No | ||
| api_key | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations, the description carries full burden. It includes a detailed 'Behavioral Transparency' section covering side effects (read-only, no side effects), authentication, rate limits, error handling, idempotency, and data privacy. However, some parts appear generic (e.g., 'MEOK API key') and may not be perfectly tailored to this tool, but overall it provides extensive behavioral context.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is front-loaded with the purpose and well-organized into sections (Args, Behavior, When to use/not, Behavioral Transparency). However, it is somewhat verbose, particularly the generic 'When to use' and 'Behavioral Transparency' sections which contain text that seems templated rather than tool-specific.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
The description covers the tool's purpose, parameters, and behavioral traits, but it does not explicitly describe the output format beyond 'troff format.' It lacks details on the return value structure (e.g., a string containing the man page) and the 'When to use' section is misleading. For a tool with 8 parameters and no output schema, it is incomplete.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It lists all parameters and describes nested keys for 'options' and 'examples' (e.g., 'keys: flag, description'). However, it lacks deeper explanations for most parameters (e.g., no format or constraints for program_name). It adds some meaning beyond the schema but not enough for full coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: 'Generate a man page in troff format.' This specific verb+resource combination distinguishes it from siblings (generate_argparse, generate_click, parse_help_text), which focus on other aspects like argument parser generation or help text parsing.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The 'When to use' section is generic and misaligned: 'Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.' This does not describe when to generate a man page. The 'When NOT to use' is also generic. No explicit guidance on when to choose this tool over siblings is provided.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
parse_help_textA
Parse CLI help text output into structured command/option data.
Args: help_text: CLI help text output (e.g., from --help)
Behavior: This tool is read-only and stateless ā it produces analysis output without modifying any external systems, databases, or files. Safe to call repeatedly with identical inputs (idempotent). Free tier: 10/day rate limit. Pro tier: unlimited. No authentication required for basic usage.
When to use: Use this tool when you need structured analysis or classification of inputs against established frameworks or standards.
When NOT to use: Not suitable for real-time production decision-making without human review of results. Behavioral Transparency: - Side Effects: This tool is read-only and produces no side effects. It does not modify any external state, databases, or files. All output is computed in-memory and returned directly to the caller. - Authentication: No authentication required for basic usage. Pro/Enterprise tiers require a valid MEOK API key passed via the MEOK_API_KEY environment variable. - Rate Limits: Free tier: 10 calls/day. Pro tier: unlimited. Rate limit headers are included in responses (X-RateLimit-Remaining, X-RateLimit-Reset). - Error Handling: Returns structured error objects with 'error' key on failure. Never raises unhandled exceptions. Invalid inputs return descriptive validation errors. - Idempotency: Fully idempotent ā calling with the same inputs always produces the same output. Safe to retry on timeout or transient failure. - Data Privacy: No input data is stored, logged, or transmitted to external services. All processing happens locally within the MCP server process.
| Name | Required | Description | Default |
|---|---|---|---|
| help_text | Yes | ||
| api_key | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description fully carries the burden of behavioral disclosure. It includes a comprehensive 'Behavioral Transparency' section covering side effects (read-only, no side effects), authentication (none for basic, API key for higher tiers), rate limits (10/day free, unlimited pro), error handling (structured errors), idempotency, and data privacy. This exceeds expectations.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is well-structured with sections (Args, Behavior, When to use, When NOT to use, Behavioral Transparency) and a clear opening line. It is somewhat verbose but each section adds useful information. The front-loading of purpose is effective. A slightly more concise version could retain the same value.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 2 parameters, no output schema, and no annotations, the description covers usage, behavioral context, and parameter hints reasonably well. Missing is a description of the output structure beyond 'structured command/option data'. However, for a parse tool, this is acceptable. Overall, it provides sufficient context for an AI agent to use the tool effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The input schema has 0% description coverage (no property descriptions). The description partially compensates by documenting 'help_text' as 'CLI help text output (e.g., from --help)' in the Args section. However, the 'api_key' parameter is not explained in the description; the behavioral transparency mentions an environment variable (MEOK_API_KEY), but it's unclear if that maps to the param. Thus, the description adds some value but leaves ambiguity.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description explicitly states 'Parse CLI help text output into structured command/option data', which specifies the verb (Parse), resource (CLI help text output), and outcome (structured data). This clearly distinguishes it from sibling tools like generate_argparse or generate_click, which focus on generating help text rather than parsing it.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description includes dedicated 'When to use' and 'When NOT to use' sections. It advises using the tool for structured analysis and cautions against real-time production decision-making without human review. However, the 'When to use' statement is somewhat generic and could be tighter to the tool's specific function.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
Each tool has a distinct purpose: generating argparse boilerplate, generating click boilerplate, generating man pages, or parsing help text. There is no overlap or ambiguity between them.
All tool names follow a consistent verb_noun pattern (generate_argparse, generate_click, generate_manpage, parse_help_text), making it easy to predict tool behavior from the name.
With 4 tools, the server is well-scoped for a CLI builder. Each tool adds clear value without redundancy, and the count is neither too sparse nor overwhelming.
The set covers generation for two major CLI libraries (argparse, click) and man pages, plus parsing existing help text. Minor gaps exist (e.g., no setup.py generation), but the core workflow is well-covered.
Maintenance
Related MCP Connectors
MCP server for progressive tool usage at any scale (see https://klavis.ai)
MCP server for Qwen Image 3 AI image generation
MCP server for AI dialogue using various LLM models via AceDataCloud
MCP Server for Slima - AI Writing IDE for Novel Authors with AI Beta Reader.
Related MCP Servers
- AlicenseAqualityBmaintenanceCron AI - MCP server providing AI-powered tools and automation by MEOK AI Labs415MIT
- AlicenseNot gradedqualityBmaintenanceSql Builder AI - MCP server providing AI-powered tools and automation by MEOK AI Labs151MIT
- AlicenseNot gradedqualityBmaintenanceCI CD Generator AI - MCP server providing AI-powered tools and automation by MEOK AI Labs14MIT
- AlicenseNot gradedqualityBmaintenanceDevops AI - MCP server providing AI-powered tools and automation by MEOK AI Labs15MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/CSOAI-ORG/cli-builder-ai-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server