idiolect-mcp 0.3.0 → 0.4.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/README.md +51 -57
- package/package.json +35 -9
- package/server.mjs +303 -15581
package/README.md
CHANGED
|
@@ -1,61 +1,55 @@
|
|
|
1
|
-
#
|
|
1
|
+
# idiolect-mcp
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
notes, replies) into your own writing voice, and scores how close it got on a
|
|
6
|
-
validated voice‑fidelity metric. Works in **Claude Code** and **Codex**.
|
|
3
|
+
MCP server that makes any MCP-compatible AI (Claude Desktop, Claude Code, …)
|
|
4
|
+
write in **your** voice, using your [Idiolect AI](https://idiolect.app) Voice Card.
|
|
7
5
|
|
|
8
6
|
## Setup
|
|
9
7
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
Built from the Idiolect monorepo. To regenerate `server.mjs`, run `plugin/build.sh`.
|
|
8
|
+
### Account mode
|
|
9
|
+
|
|
10
|
+
For account-resolved voice and Pro rewrite/draft tools, set `IDIOLECT_API_KEY`:
|
|
11
|
+
|
|
12
|
+
```json
|
|
13
|
+
{
|
|
14
|
+
"mcpServers": {
|
|
15
|
+
"idiolect": {
|
|
16
|
+
"command": "npx",
|
|
17
|
+
"args": ["-y", "idiolect-mcp"],
|
|
18
|
+
"env": { "IDIOLECT_API_KEY": "idiolect_..." }
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Slug mode
|
|
25
|
+
|
|
26
|
+
1. Get your voice at **https://idiolect.app** — note the slug in your result URL
|
|
27
|
+
(`idiolect.app/v/<slug>`).
|
|
28
|
+
2. Add to your MCP config:
|
|
29
|
+
|
|
30
|
+
```json
|
|
31
|
+
{
|
|
32
|
+
"mcpServers": {
|
|
33
|
+
"idiolect": {
|
|
34
|
+
"command": "npx",
|
|
35
|
+
"args": ["-y", "idiolect-mcp"],
|
|
36
|
+
"env": { "IDIOLECT_SLUG": "your-slug" }
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Tool
|
|
43
|
+
|
|
44
|
+
- **`get_my_voice`** — returns your Voice Card. The model calls it before writing
|
|
45
|
+
on your behalf, then writes as you. Pass `slug` per-call or set `IDIOLECT_SLUG`.
|
|
46
|
+
- **`score_voice`** — scores text against your voice. In account mode this uses
|
|
47
|
+
your API key; in slug mode it uses your local writing samples.
|
|
48
|
+
- **`rewrite_in_voice`** — account mode only. Rewrites drafted prose in your
|
|
49
|
+
actual voice.
|
|
50
|
+
- **`draft_in_voice`** — account mode only. Drafts from a brief in your voice.
|
|
51
|
+
|
|
52
|
+
Set `IDIOLECT_BASE` to point at a self-hosted instance (defaults to
|
|
53
|
+
`https://idiolect.app`).
|
|
54
|
+
|
|
55
|
+
MIT licensed.
|
package/package.json
CHANGED
|
@@ -1,13 +1,39 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "idiolect-mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
3
|
+
"version": "0.4.0",
|
|
4
|
+
"mcpName": "app.idiolect/idiolect-ai",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"bin": {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"
|
|
10
|
-
"keywords": [
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
"bin": {
|
|
7
|
+
"idiolect-mcp": "server.mjs"
|
|
8
|
+
},
|
|
9
|
+
"description": "MCP server that gives any MCP-compatible AI (Claude, etc.) your Idiolect AI voice — make AI write as you. https://idiolect.app",
|
|
10
|
+
"keywords": [
|
|
11
|
+
"mcp",
|
|
12
|
+
"model-context-protocol",
|
|
13
|
+
"claude",
|
|
14
|
+
"ai",
|
|
15
|
+
"writing",
|
|
16
|
+
"voice",
|
|
17
|
+
"idiolect"
|
|
18
|
+
],
|
|
19
|
+
"homepage": "https://idiolect.app",
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/111mihir/idiolect.git",
|
|
23
|
+
"directory": "mcp"
|
|
24
|
+
},
|
|
25
|
+
"license": "MIT",
|
|
26
|
+
"files": [
|
|
27
|
+
"server.mjs",
|
|
28
|
+
"README.md"
|
|
29
|
+
],
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": ">=18"
|
|
32
|
+
},
|
|
33
|
+
"publishConfig": {
|
|
34
|
+
"access": "public"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@modelcontextprotocol/sdk": "^1.0.4"
|
|
38
|
+
}
|
|
13
39
|
}
|