@tano.page/mcp 0.1.0-alpha.1 → 0.9.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/package.json CHANGED
@@ -1,35 +1,35 @@
1
1
  {
2
2
  "name": "@tano.page/mcp",
3
- "version": "0.1.0-alpha.1",
4
- "description": "Tano local Markdown workspace MCP server with conditional writes and activity records.",
5
- "author": "dramwig",
6
- "license": "UNLICENSED",
7
- "type": "commonjs",
8
- "bin": {
9
- "tano": "bin/tano.cjs",
10
- "tano-mcp": "bin/tano.cjs"
11
- },
12
- "files": [
13
- "bin/",
14
- "dist/",
15
- "README.md"
16
- ],
3
+ "version": "0.9.0",
4
+ "type": "module",
17
5
  "engines": {
18
6
  "node": ">=24.12.0"
19
7
  },
20
8
  "dependencies": {
21
9
  "@modelcontextprotocol/sdk": "^1.30.0",
10
+ "@tano/protocol": "npm:@tano.page/protocol@0.9.0",
22
11
  "zod": "^4.6.5"
23
12
  },
13
+ "license": "MIT",
14
+ "files": [
15
+ "dist/tano-mcp.cjs",
16
+ "LICENSE",
17
+ "THIRD_PARTY_NOTICES.txt"
18
+ ],
19
+ "bin": {
20
+ "tano-mcp": "dist/tano-mcp.cjs"
21
+ },
24
22
  "publishConfig": {
25
- "access": "public",
26
23
  "registry": "https://registry.npmjs.org/",
27
- "tag": "next"
24
+ "access": "public"
25
+ },
26
+ "repository": {
27
+ "type": "git",
28
+ "url": "git+https://github.com/Dramwig/Tano.git"
28
29
  },
29
- "keywords": [
30
- "tano",
31
- "markdown",
32
- "mcp",
33
- "workspace"
34
- ]
30
+ "tanoCore": {
31
+ "sourceCommit": "18c6d69c1b0c818a84519bd6e051259cd485410c",
32
+ "version": "0.9.0",
33
+ "importName": "@tano/mcp"
34
+ }
35
35
  }
package/README.md DELETED
@@ -1,48 +0,0 @@
1
- # Tano / 同页
2
-
3
- Tano - Humans and agents, on the same page.
4
- 同页 - 人与 Agent,在同一页工作。
5
-
6
- This preview package provides Tano's working local MCP server. It is not the desktop application.
7
- Requires Node.js 24.12 or later and a local workspace already opened in Tano.
8
-
9
- ## Run
10
-
11
- ```sh
12
- npx --package=@tano.page/mcp@0.1.0-alpha.1 tano mcp --workspace /path/to/notes --data-dir /path/to/tano-app-data
13
- ```
14
-
15
- Use the workspace and application data paths shown by Tano's MCP connection panel.
16
- The data directory must be outside the workspace. Keep the application data path
17
- consistent with the desktop application to share activity records.
18
-
19
- ## MCP Client Configuration
20
-
21
- ```json
22
- {
23
- "mcpServers": {
24
- "tano": {
25
- "command": "npx",
26
- "args": [
27
- "--yes",
28
- "--package=@tano.page/mcp@0.1.0-alpha.1",
29
- "tano",
30
- "mcp",
31
- "--workspace",
32
- "/path/to/notes",
33
- "--data-dir",
34
- "/path/to/tano-app-data"
35
- ]
36
- }
37
- }
38
- }
39
- ```
40
-
41
- Tools: `tano_list_documents`, `tano_read_document`, `tano_write_document`,
42
- and `tano_create_document`. Writes require the SHA-256 returned by the previous
43
- read; stale writes are rejected. Activity is stored in application data, while
44
- Markdown remains ordinary workspace files. Commands, file deletion, and network
45
- collaboration are not provided by this package.
46
-
47
- Copyright dramwig. All rights reserved. This package is not released under an open source license.
48
- Third-party dependencies retain their own licenses.
package/bin/tano.cjs DELETED
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env node
2
- const args = process.argv.slice(2);
3
- if (args[0] === 'mcp') process.argv.splice(2, 1);
4
- const options = process.argv.slice(2);
5
- if (options.includes('--help') || options.includes('-h')) {
6
- console.log('Tano local workspace MCP server\n\nUsage: tano [mcp] --workspace <folder> --data-dir <Tano app data>\n\nThe workspace must have been opened in Tano. The data directory must be outside the workspace.');
7
- } else if (options.includes('--version') || options.includes('-v')) {
8
- console.log(require('../package.json').version);
9
- } else {
10
- require('../dist/tano-mcp.cjs');
11
- }