@ezmodo/mcp-server 0.13.4 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/handlers/auth.js +160 -0
- package/handlers/index.js +2 -0
- package/http.js +11 -3
- package/index.js +21 -52
- package/lib/auth-guidance.js +67 -0
- package/lib/cli-credential.js +3 -12
- package/lib/create-server.js +79 -7
- package/lib/credentials.js +106 -0
- package/lib/git-helpers.js +115 -52
- package/lib/http-client.js +19 -6
- package/lib/instructions.generated.js +14 -0
- package/lib/instructions.js +37 -0
- package/lib/oauth-config.js +98 -0
- package/lib/oauth.js +353 -0
- package/lib/remote-tools.js +157 -0
- package/lib/token-store.js +136 -0
- package/lib/user-paths.js +41 -0
- package/lib/version.js +1 -1
- package/package.json +9 -6
- package/prompts/commands.generated.js +52 -0
- package/prompts/index.js +62 -29
- package/scripts/build-instructions.mjs +76 -0
- package/scripts/build-prompts.mjs +144 -0
- package/tools/auth.js +34 -0
- package/tools/index.js +4 -0
- package/prompts/ai-workflow-automation.js +0 -96
- package/prompts/zephly-usage-guide.js +0 -119
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Zephly Usage Guide Prompt
|
|
3
|
-
* Guidelines for using Zephly MCP tools effectively
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
export const ZEPHLY_USAGE_GUIDE = `# Zephly MCP Integration Guide
|
|
7
|
-
|
|
8
|
-
You have access to Zephly's intelligent project management tools.
|
|
9
|
-
Zephly uses a **project-first** model where projects are the primary
|
|
10
|
-
work containers.
|
|
11
|
-
|
|
12
|
-
## Session Start - Discover Context
|
|
13
|
-
|
|
14
|
-
At the start of each session, discover the user's context:
|
|
15
|
-
|
|
16
|
-
\`\`\`
|
|
17
|
-
1. list_organizations() # Get user's workspaces (usually one)
|
|
18
|
-
2. list_projects({ organizationId }) # Get projects
|
|
19
|
-
\`\`\`
|
|
20
|
-
|
|
21
|
-
This gives you the organizationId and projects needed for all other operations.
|
|
22
|
-
|
|
23
|
-
## Project-First Hierarchy
|
|
24
|
-
|
|
25
|
-
\`\`\`
|
|
26
|
-
Organization
|
|
27
|
-
└── Projects (primary work containers)
|
|
28
|
-
└── Epics (milestones within projects)
|
|
29
|
-
└── Tasks (individual work items)
|
|
30
|
-
└── Goals (strategic alignment, links to epics)
|
|
31
|
-
\`\`\`
|
|
32
|
-
|
|
33
|
-
**Key points:**
|
|
34
|
-
- Tasks belong to **projects** (projectId is required)
|
|
35
|
-
- Epics are project-scoped milestones
|
|
36
|
-
- Goals provide strategic alignment and can link to epics
|
|
37
|
-
|
|
38
|
-
## When to Use Zephly Tools
|
|
39
|
-
|
|
40
|
-
**Proactively use these tools when:**
|
|
41
|
-
- User mentions tasks, projects, epics, sprints, or team coordination
|
|
42
|
-
- User asks about project status, health, or blockers
|
|
43
|
-
- User needs help prioritizing work or deciding what to work on next
|
|
44
|
-
- User is planning team assignments or workload distribution
|
|
45
|
-
- User is breaking down features into tasks
|
|
46
|
-
- User asks about timelines or estimates
|
|
47
|
-
- User mentions dependencies, blockers, or handoffs
|
|
48
|
-
|
|
49
|
-
## Core Tools
|
|
50
|
-
|
|
51
|
-
### Discovery
|
|
52
|
-
- \`list_organizations\` - List all workspaces
|
|
53
|
-
- \`list_projects\` - List projects for an organization
|
|
54
|
-
- \`search_projects\` - Search/filter projects
|
|
55
|
-
|
|
56
|
-
### Project Management
|
|
57
|
-
- \`create_project\` - Create new project
|
|
58
|
-
- \`get_project_context\` - Get project details with progress
|
|
59
|
-
|
|
60
|
-
### Task Operations
|
|
61
|
-
- \`create_task\` - Create task in a project (requires projectId)
|
|
62
|
-
- \`update_task\` - Update task properties and steps
|
|
63
|
-
- \`complete_task\` - Mark task completed
|
|
64
|
-
- \`search_tasks\` - Semantic search or filter tasks
|
|
65
|
-
- \`get_task\` - Get task by ID or number
|
|
66
|
-
|
|
67
|
-
### Epic Management
|
|
68
|
-
- \`create_epic\` - Create epic in project
|
|
69
|
-
- \`update_epic\` - Update epic
|
|
70
|
-
- \`list_epics\` - List epics for project
|
|
71
|
-
- \`get_epic\` - Get epic details
|
|
72
|
-
|
|
73
|
-
### Goal Management
|
|
74
|
-
- \`create_goal\` - Create strategic goal
|
|
75
|
-
- \`update_goal\` - Update goal
|
|
76
|
-
- \`list_goals\` - List goals for organization
|
|
77
|
-
- \`link_epic_to_goal\` - Link epic to goal for alignment
|
|
78
|
-
|
|
79
|
-
### AI Intelligence
|
|
80
|
-
- \`get_project_insights\` - Project health analysis
|
|
81
|
-
- \`suggest_next_actions\` - Task recommendations
|
|
82
|
-
- \`analyze_dependency_graph\` - Critical path analysis
|
|
83
|
-
- \`estimate_task_duration\` - AI time estimates
|
|
84
|
-
|
|
85
|
-
### Team Coordination
|
|
86
|
-
- \`analyze_team_capacity\` - Resource allocation
|
|
87
|
-
- \`suggest_task_assignments\` - Smart task matching
|
|
88
|
-
- \`bulk_task_operations\` - Batch operations
|
|
89
|
-
- \`identify_handoff_needs\` - Detect blocked tasks
|
|
90
|
-
- \`pull_ai_task_from_queue\` - AI agent task queue
|
|
91
|
-
|
|
92
|
-
## Example Workflow
|
|
93
|
-
|
|
94
|
-
\`\`\`javascript
|
|
95
|
-
// 1. Discover context
|
|
96
|
-
const orgs = await list_organizations();
|
|
97
|
-
const orgId = orgs.organizations[0].id;
|
|
98
|
-
|
|
99
|
-
const projects = await list_projects({ organizationId: orgId });
|
|
100
|
-
const projectId = projects.projects[0].id;
|
|
101
|
-
|
|
102
|
-
// 2. Create a task
|
|
103
|
-
await create_task({
|
|
104
|
-
projectId,
|
|
105
|
-
title: 'Implement user authentication',
|
|
106
|
-
description: 'Add login/logout functionality',
|
|
107
|
-
priority: 'high'
|
|
108
|
-
});
|
|
109
|
-
|
|
110
|
-
// 3. Search existing tasks
|
|
111
|
-
await search_tasks({ projectId, status: 'in_progress' });
|
|
112
|
-
\`\`\`
|
|
113
|
-
|
|
114
|
-
## Best Practices
|
|
115
|
-
|
|
116
|
-
1. **Discover context first** - Call list_organizations + list_projects at session start
|
|
117
|
-
2. **Project-first** - Always have a projectId before creating tasks
|
|
118
|
-
3. **Check health proactively** - Use get_project_insights to identify issues
|
|
119
|
-
4. **Track AI work** - Create tasks for significant work you're doing`;
|