@asad120414/mcpcall 0.1.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.
Files changed (3) hide show
  1. package/README.md +36 -0
  2. package/dist/index.js +1396 -0
  3. package/package.json +35 -0
package/README.md ADDED
@@ -0,0 +1,36 @@
1
+ # mcpcall
2
+
3
+ MCP server that pulls personal AI-context files (CLAUDE.md, subagents, skills, slash commands) from the mcpcall platform into your local project — without leaking into the client's git repo.
4
+
5
+ ## Install
6
+
7
+ Add to your project's `.mcp.json`:
8
+
9
+ ```json
10
+ {
11
+ "mcpServers": {
12
+ "mcpcall": {
13
+ "command": "npx",
14
+ "args": ["-y", "mcpcall"],
15
+ "env": {
16
+ "MCPCALL_API_KEY": "${MCPCALL_API_KEY}"
17
+ }
18
+ }
19
+ }
20
+ }
21
+ ```
22
+
23
+ Get a key at <https://mcpcall.dev/settings/api-keys> and put it in your shell rc, not in `.mcp.json`.
24
+
25
+ ## Tools
26
+
27
+ - `list_workspaces` — list workspaces on your account
28
+ - `list_files {workspace}` — manifest with sizes + hashes
29
+ - `pull_workspace {workspace, [prefix], [target_dir]}` — write files into `./.claude/` + update `.git/info/exclude`. Optional `prefix` restricts to files whose path starts with that prefix (e.g. `agents` for the agents subtree).
30
+ - `pull_file {workspace, path, [target_dir]}` — pull a single file with the same conflict-safe + sentinel-block + manifest semantics as `pull_workspace`.
31
+ - `import_folder {workspace, source_dir, [include], [dest_prefix], [dry_run]}` — bulk-import a local directory tree into a workspace. Walks `source_dir`, filters by glob patterns (default `**/*.md`, `**/*.mdx`), uploads matched files. `dry_run: true` previews without uploading.
32
+ - `push_file {workspace, path, content}` — sync a local edit back to the platform
33
+ - `create_file {workspace, path, kind, content}` — new file on platform
34
+ - `delete_file {workspace, path}` — soft-delete
35
+ - `cleanup {workspace?}` — remove local files + de-register `.git/info/exclude` entries
36
+ - `status` — show last-pulled workspace + drift