specforge
Runs ESLint lint checks and can apply fixes with --fix.
Creates a new Git branch in the workspace by running git checkout -b.
Runs npm test (optionally with coverage) and npm audit (optionally npm audit fix) for test and security checks.
Runs Prettier formatting checks and can apply formatting fixes with --write.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
specforge
specforge is a local tool for spec-driven development. It keeps a
specs/ tree in a workspace: every feature gets a numbered
directory holding its spec, constitution, plan, task list,
research notes, clarifications and contracts, and specforge
creates and maintains those files. It can also create a git
branch and run format, lint, test and security-audit checks.
One binary serves a command-line interface and a stdio MCP
server; nothing here talks to a network service.
The workspace root is taken from the SPECFORGE_ROOT
environment variable, defaulting to the current working
directory. The "current feature" that most tools operate on is
the highest-numbered directory under specs/; tools that need
one fail with an error when no feature exists yet.
Install
npx @reneturcios/specforge specify_start --project-name "My Feature"Or run the container image:
docker run -i ghcr.io/cloudcorprecords/specforgeThe container defaults to the MCP server (see below). Pass CLI arguments to use it as a CLI instead.
Related MCP server: speclaw
CLI
The subcommands mirror the MCP tool names:
export SPECFORGE_ROOT=/path/to/workspace
specforge specify_start --project-name "Widget API" --agent claude
specforge specify_describe --description "As a user I can create widgets."
specforge constitution_create --principles "Ship small,Test first" --constraints "Node 20"
specforge clarify_add --question "Which database?" --context storage
specforge clarify_resolve --clarification-id CLARIFY-001 --resolution Postgres
specforge spec_validate
specforge research_append --content "Evaluated two libraries; picked the smaller one."
specforge plan_create --constraints-text "Must ship by Friday."
specforge spec_refine --section Requirements --changes "- Must be fast"
specforge artifacts_analyze --artifacts spec,plan,tasks,contracts
specforge tasks_generate --scope backend
specforge tasks_tick --task-id T-001
specforge tasks_tick_range --task-ids T-002,T-003
specforge tasks_filter --preset actionable --limit 5
specforge tasks_search --query widget --fuzzy true
specforge tasks_visualize --format mermaid
specforge tasks_stats --include-charts true
specforge git_create_branch --branch-name feature/widgets
specforge quality_format
specforge quality_lint --fix true
specforge quality_test --coverage true
specforge quality_security_audit
specforge --versionResults print as JSON. Exit codes: 0 on success, 1 when a
tool fails (for example there is no current feature, or the
underlying git/quality command exits non-zero), 2 for usage
errors.
MCP server
One bin serves both faces. The mcp subcommand starts a stdio
MCP server:
npx -y @reneturcios/specforge mcpMCP client configuration:
{
"mcpServers": {
"specforge": {
"command": "npx",
"args": ["-y", "@reneturcios/specforge", "mcp"],
"env": { "SPECFORGE_ROOT": "/path/to/workspace" }
}
}
}Tools
Tool | Input | What it does |
|
| Create the next numbered feature directory with a spec template, |
|
| Write the description into the current feature's spec user-story section. |
|
| Write |
|
| Append a clarification ( |
|
| Set the resolution for a clarification. |
|
| Check the spec's presence and completeness; returns per-check results. |
|
| Append to |
|
| Write |
|
| Replace or add a named section in |
|
| Report presence and size of named artifacts. |
|
| Generate |
|
| Mark a task |
|
| Mark several tasks done; missing ids are reported. |
|
| List tasks; the default preset is the actionable (unchecked) ones. |
|
| Search task text; fuzzy matching also accepts subsequences. |
|
| Render the task list as |
|
| Count done and pending tasks, optionally with a text chart. |
|
| Run |
|
| Run the Prettier check, or |
|
| Run ESLint, or with |
|
| Run |
|
| Run |
The git and quality tools report an error result when the underlying command is unavailable or exits non-zero; they never report success for a command that did not run cleanly.
Note: the original project's prose also mentions clarify_list
and artifacts_read, but they do not appear in its documented
tools table, so they are not part of this rebuild.
Development
npm install
npm run build # tsc -> dist/
npm test # node test runner over test/*.test.ts, temp dirs and a fake executor, no network
npm run dev # run the CLI from source via tsxLicense
MIT — see LICENSE.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read and write Mission Control state via MCP — projects, tasks, subtasks, templates, status updates.
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
Roadmap, tasks, releases and user feedback your coding agent reads and writes over MCP.
327 dev tools via REST API and MCP. Generate Dockerfiles, schemas, K8s, APIs, and more.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables spec-driven development workflows with AI assistants, providing tools for managing specification lifecycles, task dependencies, code navigation, testing, and automated reviews through a unified CLI and MCP interface.4MIT
- AlicenseNot gradedqualityAmaintenanceLocal MCP server that gives AI agents a project constitution (LAWS.md), a code graph (Compass), and a spec-driven workflow — all 100% local with no LLM or cloud.124 npm3MIT
- AlicenseNot gradedqualityBmaintenanceProvides a local-first MCP server for AI-native software delivery, enabling structured specifications, human approval gates, controlled repository operations, verification evidence, review, and traceability.Apache 2.0
- AlicenseAqualityBmaintenanceEnables MCP clients to safely read, write, edit, search, and optionally run commands within one or more named project workspaces, while maintaining a work journal and tracking changes.19MIT