@context-forge/mcp 0.13.1 → 0.13.2
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@context-forge/mcp",
|
|
3
|
-
"version": "0.13.
|
|
3
|
+
"version": "0.13.2",
|
|
4
4
|
"description": "MCP server for Context Forge — generates structured AI context prompts from project configuration and templates",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@modelcontextprotocol/sdk": "^1.26.0",
|
|
36
36
|
"zod": "^4.1.5",
|
|
37
|
-
"@context-forge/core": "0.13.
|
|
37
|
+
"@context-forge/core": "0.13.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@types/node": "^25.3.0",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agentGuideTool.d.ts","sourceRoot":"","sources":["../../src/tools/agentGuideTool.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yCAAyC,CAAC;AA2EpE,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,SAAS,GAAG,IAAI,CAc9D"}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
const AGENT_GUIDE = `# Context Forge — Agent Guide
|
|
2
|
-
|
|
3
|
-
Context Forge manages AI-assisted development projects through structured phases:
|
|
4
|
-
Concept → Architecture → Slice Planning → Slice Design → Task Breakdown → Implementation
|
|
5
|
-
|
|
6
|
-
Call this tool first to understand what's available and how to use it.
|
|
7
|
-
|
|
8
|
-
## Quick Start
|
|
9
|
-
|
|
10
|
-
- **New user / no project yet?** Call **agent_onboard** — it returns step-by-step instructions to create a project and start working.
|
|
11
|
-
- **Existing project?** Follow this sequence:
|
|
12
|
-
|
|
13
|
-
1. **project_list** — See all registered projects. Find the one matching the user's current directory.
|
|
14
|
-
2. **project_get** — Get full details for a project (phase, active slice, task file, etc.).
|
|
15
|
-
3. **workflow_next** — Get the recommended next action with rationale and suggested command.
|
|
16
|
-
4. **context_build** — Generate a structured context prompt for the current project state.
|
|
17
|
-
|
|
18
|
-
## Tool Categories
|
|
19
|
-
|
|
20
|
-
### Project (start here)
|
|
21
|
-
- **project_list** — List all projects (use to find project by path)
|
|
22
|
-
- **project_get** — Full project details with introspection
|
|
23
|
-
- **project_create** — Create a new project (name + path required)
|
|
24
|
-
- **project_update** — Update project fields
|
|
25
|
-
- **project_schema** — Show all available project fields and valid values
|
|
26
|
-
- **project_structure** — Show project directory structure
|
|
27
|
-
|
|
28
|
-
### Workflow (what to do next)
|
|
29
|
-
- **workflow_next** — Recommended next action based on project state
|
|
30
|
-
- **workflow_status** — Current phase, slice, and task progress
|
|
31
|
-
- **workflow_check** — Run consistency checks on project artifacts
|
|
32
|
-
- **workflow_future** — Consolidated future work across slice plans
|
|
33
|
-
|
|
34
|
-
### Context (build prompts)
|
|
35
|
-
- **context_build** — Assemble a full context prompt for an AI session
|
|
36
|
-
- **context_summarize** — Summarize project context
|
|
37
|
-
- **template_preview** — Preview a prompt template with variables
|
|
38
|
-
- **prompt_list** — List available prompt templates
|
|
39
|
-
- **prompt_get** — Get a specific prompt template
|
|
40
|
-
|
|
41
|
-
### Introspection (read project artifacts)
|
|
42
|
-
- **introspection_documents** — Detect documents for a slice index
|
|
43
|
-
- **introspection_frontmatter** — Parse YAML frontmatter from a document
|
|
44
|
-
- **introspection_slice_plan** — Parse a slice plan file
|
|
45
|
-
- **introspection_tasks** — Parse task files with completion state
|
|
46
|
-
- **introspection_future_work** — Future work items across plans
|
|
47
|
-
|
|
48
|
-
### Guides
|
|
49
|
-
- **guide_status** — Check if the AI project guide is installed
|
|
50
|
-
- **guide_install** — Install the methodology guide
|
|
51
|
-
- **guide_update** — Update to latest guide version
|
|
52
|
-
|
|
53
|
-
### Worktrees (parallel work in git worktrees)
|
|
54
|
-
- **worktree_list**, **worktree_get**, **worktree_init**, **worktree_update**, **worktree_rm**
|
|
55
|
-
|
|
56
|
-
### Configuration
|
|
57
|
-
- **config_get** — Get a single config key, or omit key to list all settings (rarely needed)
|
|
58
|
-
- **config_set** — Set a config value at user or project scope
|
|
59
|
-
|
|
60
|
-
### Meta
|
|
61
|
-
- **agent_onboard** — Step-by-step onboarding recipe for new projects
|
|
62
|
-
- **server_version** — Server name and version
|
|
63
|
-
- **storage_backup** — Create a versioned backup of project data
|
|
64
|
-
|
|
65
|
-
## Common Mistakes
|
|
66
|
-
|
|
67
|
-
- Do NOT start with config_get — configuration is rarely relevant to the user's task.
|
|
68
|
-
- Do NOT call project_update without the user asking to change something.
|
|
69
|
-
- Do NOT guess project IDs — call project_list first to find the right one.
|
|
70
|
-
- If the user says "what's next" or "what should I do", call workflow_next.
|
|
71
|
-
- If the user wants to start a session, call context_build for a full context prompt.
|
|
72
|
-
`;
|
|
73
|
-
export function registerAgentGuideTool(server) {
|
|
74
|
-
server.registerTool('agent_guide', {
|
|
75
|
-
title: 'Agent Guide',
|
|
76
|
-
description: 'How to use Context Forge tools. Call this first to understand available tools, common workflows, and what to avoid.',
|
|
77
|
-
inputSchema: {},
|
|
78
|
-
annotations: { readOnlyHint: true, openWorldHint: false },
|
|
79
|
-
}, async () => ({
|
|
80
|
-
content: [{ type: 'text', text: AGENT_GUIDE }],
|
|
81
|
-
}));
|
|
82
|
-
}
|
|
83
|
-
//# sourceMappingURL=agentGuideTool.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"agentGuideTool.js","sourceRoot":"","sources":["../../src/tools/agentGuideTool.ts"],"names":[],"mappings":"AAEA,MAAM,WAAW,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuEnB,CAAC;AAEF,MAAM,UAAU,sBAAsB,CAAC,MAAiB;IACtD,MAAM,CAAC,YAAY,CACjB,aAAa,EACb;QACE,KAAK,EAAE,aAAa;QACpB,WAAW,EACT,qHAAqH;QACvH,WAAW,EAAE,EAAE;QACf,WAAW,EAAE,EAAE,YAAY,EAAE,IAAI,EAAE,aAAa,EAAE,KAAK,EAAE;KAC1D,EACD,KAAK,IAAI,EAAE,CAAC,CAAC;QACX,OAAO,EAAE,CAAC,EAAE,IAAI,EAAE,MAAe,EAAE,IAAI,EAAE,WAAW,EAAE,CAAC;KACxD,CAAC,CACH,CAAC;AACJ,CAAC"}
|