meegle-cli-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| prompts | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| auth_statusA | Check whether the local meegle CLI is already authenticated. Call this first when any business tool unexpectedly fails, or when you need to confirm the server can reuse the user's local login state. |
| project_searchA | Search Meegle projects by keyword, project key, simple name, or exact project name. In multi-project scenarios this is the primary entry tool: call it first when project context is missing, ambiguous, or expressed only as a human name, then pass the resolved project_key into later project-scoped tools. |
| workitem_meta_typesA | List available work item types in a project. Use this before querying, creating, or filtering work items when the type key is unknown. Defaults to the configured test project. |
| workitem_meta_fieldsA | List field configuration for a work item type in a project. Use this before workitem_create or workitem_update to discover valid field_key values, field types, and options. |
| workitem_createA | Create a work item in Meegle. Use workitem_meta_fields first to discover valid field_key values. Complex array or object field values are automatically JSON-stringified to match meegle CLI expectations. This tool defaults to dry_run=true for safety. |
| workitem_queryA | Run an MQL query against a project. Use this for listing or searching work items across a project. The mql argument must be a complete SQL-like MQL string, not just filters or fragments. For select or status filters, use the project actual display labels or configured values instead of assuming generic English constants like OPEN or IN_PROGRESS. |
| workitem_discover_status_valuesA | Sample actual status values for a work item type and return both backend keys and display labels. Use this before filtering workitem_query by status so the model does not guess generic constants like OPEN or IN_PROGRESS. |
| workitem_getA | Get a single work item by ID or name. Use this for detail reads after resolving a work_item_id from workitem_query or workitem_batch_get. Defaults to the configured test project. |
| workitem_updateA | Update work item fields or role operations. Use workitem_meta_fields or role metadata first when field keys or role keys are unknown. Arrays and objects in field_value are automatically stringified for meegle CLI compatibility. This tool defaults to dry_run=true for safety. |
| workitem_batch_getA | Get multiple work items by ID in one request fan-out. Use this when you already have a set of work_item_ids and need multiple detail reads with one tool call. |
| comment_addA | Add a comment to a work item. Use file_token only when an attachment was uploaded separately. This tool defaults to dry_run=true for safety. |
| comment_listB | List comments on a work item. Use optional start_time and end_time to narrow the time window. |
| relation_meta_definitionsA | List relation definitions in a project. Use this before relation_list when you need to discover relation IDs or relation field keys. |
| relation_listA | List work items linked by a relation field. Call relation_meta_definitions first when relation_id or relation_field_key is unknown. |
| view_getA | List work items under a view by view ID. Use view_search first when you only know the view name. |
| view_searchA | Search views by title and resolve view IDs. Use this before view_get or chart_list when the user only knows a view name. |
| chart_listA | List charts under a view. Use this after resolving a view_id through view_search or direct user input. |
| chart_getA | Get chart details by chart ID. Use this after resolving chart_id from chart_list. |
| team_listA | List teams in a project. Use this before team_list_members when only a team name is known. |
| team_list_membersA | List members of a team by team ID. Call team_list first when you need to resolve the team_id from a team name. |
| workhour_list_scheduleA | List schedule and workload details for up to 20 users within a 3-month span. Use user_resolve_keys first when you need to resolve names or emails into canonical user_key values. |
| attachment_prepare_downloadA | Preprocess an attachment download and return the signed URL plan. Use this when you already have a file_url from workitem_get or comment_list and need the backend-generated download plan. |
| attachment_prepare_uploadA | Preprocess an attachment upload and return the signed upload plan. Use this when a caller wants to manage the upload bytes outside meegle CLI but still needs backend-generated signed upload metadata. |
| mywork_todoA | List the current user's Meegle to-dos or completed items. Use this for personal work queues instead of project-wide query logic. |
| workflow_get_nodeA | Get workflow node details for a work item. Use this before workflow_transition or subtask_update when node IDs or node-specific fields are unknown. |
| subtask_updateA | Create, update, confirm, or rollback a subtask. Use workflow_get_node first when node_id or existing subtask context is unknown. This tool defaults to dry_run=true for safety. |
| workflow_transitionB | Transition or rollback a workflow node. Defaults to dry-run for safety. |
| workflow_transition_stateB | Transition a state-flow status. Defaults to dry-run for safety. |
| workflow_list_state_transitionsC | List available state transitions for a work item. |
| workflow_smart_transitionA | Automatically detect node-driven vs status-driven workflow and execute the correct transition command. In auto mode it probes workflow_get_node first, then falls back to list-state-transitions when needed. |
| user_searchA | Resolve user identifiers (user_key, email, or display name) into Meegle user records. For normalized mapping output, use user_resolve_keys. |
| user_resolve_keysA | Resolve names/emails/aliases into canonical user_key values, so write tools can safely fill user fields and role assignments. |
| inspect_commandA | Inspect the latest meegle CLI command schema. |
| meegle_commandA | Run a raw meegle CLI command as an argv array. Uses spawn without a shell. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
| resolve_project_context | Guide the model to list or resolve projects first, and only then continue with project-scoped tools. |
| query_project_workitems | Guide the model to resolve project context and query work items safely with meta discovery first. |
| safe_workitem_update | Guide the model through a safe field update workflow with schema discovery and dry-run first. |
| inspect_view_and_chart | Guide the model through resolving view IDs and then inspecting view items or charts. |
| personal_work_queue | Guide the model through reading the user personal queue, mywork, comments, and detail follow-ups. |
| workflow_and_subtask_action | Guide the model through workflow transitions and subtask operations with node discovery first. |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
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/yingcaihuang/meegle-cli-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server