@doquflow/server 0.1.0 → 0.1.1

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.
Files changed (2) hide show
  1. package/README.md +50 -0
  2. package/package.json +2 -2
package/README.md ADDED
@@ -0,0 +1,50 @@
1
+ # @doquflow/server
2
+
3
+ MCP server that lets AI agents read any codebase and write persistent specs. Zero AI inside — the agent does all the thinking.
4
+
5
+ ```
6
+ AI Agent (Claude Code)
7
+ │ calls MCP tools
8
+ @doquflow/server ← reads files, extracts, writes markdown
9
+ │ filesystem only
10
+ Any project on disk ← any language, any structure
11
+ ```
12
+
13
+ ## Install
14
+
15
+ ```bash
16
+ npx @doquflow/cli init
17
+ ```
18
+
19
+ The CLI registers this server automatically in your Claude Desktop config. You do not need to install `@doquflow/server` directly.
20
+
21
+ ## Tools
22
+
23
+ | Tool | Input | Output |
24
+ |------|-------|--------|
25
+ | `read_module` | `{ path }` | Classes, functions, deps, endpoints, tables, config refs, raw content |
26
+ | `list_modules` | `{ path, extensions? }` | All modules in a directory tree |
27
+ | `write_spec` | `{ project_path, filename, content }` | Writes a markdown spec to `.docuflow/specs/` |
28
+ | `read_specs` | `{ project_path, module_name? }` | Reads existing specs from `.docuflow/specs/` |
29
+
30
+ ## Extraction engine
31
+
32
+ Universal regex patterns applied to any file:
33
+
34
+ | Field | Detected from |
35
+ |-------|--------------|
36
+ | `classes` | `class`, `interface`, `struct`, `enum`, `record` |
37
+ | `functions` | Keyword-prefixed declarations + arrow functions |
38
+ | `dependencies` | `import`, `require()`, decorators, `new ClassName()` |
39
+ | `db_tables` | SQL `FROM/JOIN/INTO`, EF `DbSet<T>`, `[Table("…")]`, `_db.TableName` |
40
+ | `endpoints` | .NET attributes, `app.MapGet()`, Express router, NestJS, Angular routes |
41
+ | `config_refs` | `IConfiguration`, `appsettings`, `ConnectionStrings:*`, `process.env.*` |
42
+
43
+ ## Requirements
44
+
45
+ - Node.js 18+
46
+ - No API keys, no network calls, no AI dependencies
47
+
48
+ ## License
49
+
50
+ MIT — [github.com/doquflows/docuflow](https://github.com/doquflows/docuflow)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doquflow/server",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Docuflow MCP server — lets AI agents read codebases and persist living specs",
5
5
  "author": "Docuflow <hello@doquflows.dev>",
6
6
  "license": "MIT",
@@ -9,7 +9,7 @@
9
9
  "bugs": { "url": "https://github.com/doquflows/docuflow/issues" },
10
10
  "keywords": ["mcp", "ai-agents", "claude-code", "documentation", "codebase", "developer-tools"],
11
11
  "bin": { "docuflow-server": "./dist/index.js" },
12
- "files": ["dist/**"],
12
+ "files": ["dist/**", "README.md"],
13
13
  "scripts": { "build": "tsc" },
14
14
  "dependencies": { "@modelcontextprotocol/sdk": "^1.0.4" },
15
15
  "devDependencies": { "@types/node": "^22.0.0", "typescript": "^5.6.0" }