realtimeclipboard-mcp 0.7.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/LICENSE +21 -0
- package/README.md +51 -0
- package/package.json +28 -0
- package/server.json +27 -0
- package/server.mjs +1485 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CadNative
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# realtimeclipboard-mcp
|
|
2
|
+
|
|
3
|
+
An end-to-end encrypted clipboard, as tools for an AI agent. Drop a clip from Claude Code on one
|
|
4
|
+
machine and pick it up in a browser, an editor or a terminal on another — or the other way round.
|
|
5
|
+
|
|
6
|
+
Text is encrypted before it leaves the machine and routed by a hash of the key. The relay stores
|
|
7
|
+
nothing and can read nothing.
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"mcpServers": {
|
|
14
|
+
"realtimeclipboard": {
|
|
15
|
+
"command": "npx",
|
|
16
|
+
"args": ["-y", "realtimeclipboard-mcp"]
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
Set `REALTIMECLIPBOARD_RELAY` to point at your own relay. Needs Node 22+.
|
|
23
|
+
|
|
24
|
+
## Tools
|
|
25
|
+
|
|
26
|
+
| | |
|
|
27
|
+
|---|---|
|
|
28
|
+
| `new_session` | start a session and get a share link for your other device |
|
|
29
|
+
| `join_session` | join one by key or link, with a PIN if it is locked |
|
|
30
|
+
| `send_clip` | share text with every device in the session |
|
|
31
|
+
| `recent_clips` | what has arrived, newest first |
|
|
32
|
+
| `wait_for_clip` | block until the next clip lands — for "I'm about to copy something" |
|
|
33
|
+
|
|
34
|
+
## Read this before you wire it to an agent
|
|
35
|
+
|
|
36
|
+
**Clips are attacker-controlled.** Anyone holding the key can join the room and send anything, and
|
|
37
|
+
a model reading a clip may act on what it reads. That is a prompt-injection surface.
|
|
38
|
+
|
|
39
|
+
What this server does about it: every clip is stripped of invisible characters and trailing newlines
|
|
40
|
+
before you see it, one that reads like a shell command is labelled as such, and every tool that
|
|
41
|
+
returns clip text says in its own description that the content is data rather than instructions.
|
|
42
|
+
|
|
43
|
+
What it does **not** do: run anything. There is no shell, no file access and no `eval` in this
|
|
44
|
+
server. Treat the labelling as advice to the model and that as the actual control.
|
|
45
|
+
|
|
46
|
+
Share keys with people, not with rooms you do not control.
|
|
47
|
+
|
|
48
|
+
## Source
|
|
49
|
+
|
|
50
|
+
[github.com/akshaynikhare/RealtimeClipboard](https://github.com/akshaynikhare/RealtimeClipboard) ·
|
|
51
|
+
MIT · rules that govern edits here: [CLAUDE.md](CLAUDE.md)
|
package/package.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "realtimeclipboard-mcp",
|
|
3
|
+
"version": "0.7.0",
|
|
4
|
+
"description": "An end-to-end encrypted clipboard as an MCP tool surface — move text between an agent and your other machines.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/akshaynikhare/RealtimeClipboard.git",
|
|
9
|
+
"directory": "mcp"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://realtimeclipboard.com",
|
|
12
|
+
"bugs": "https://github.com/akshaynikhare/RealtimeClipboard/issues",
|
|
13
|
+
"keywords": [
|
|
14
|
+
"mcp",
|
|
15
|
+
"modelcontextprotocol",
|
|
16
|
+
"clipboard",
|
|
17
|
+
"clipboard-sync",
|
|
18
|
+
"end-to-end-encrypted"
|
|
19
|
+
],
|
|
20
|
+
"type": "module",
|
|
21
|
+
"bin": {
|
|
22
|
+
"realtimeclipboard-mcp": "server.mjs"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">=22"
|
|
26
|
+
},
|
|
27
|
+
"main": "server.mjs"
|
|
28
|
+
}
|
package/server.json
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-07-09/server.schema.json",
|
|
3
|
+
"name": "io.github.akshaynikhare/realtimeclipboard",
|
|
4
|
+
"description": "An end-to-end encrypted clipboard shared between your machines. Send text to your other devices, or pick up what you copied there. The relay stores nothing and can read nothing.",
|
|
5
|
+
"repository": {
|
|
6
|
+
"url": "https://github.com/akshaynikhare/RealtimeClipboard",
|
|
7
|
+
"source": "github"
|
|
8
|
+
},
|
|
9
|
+
"version": "0.7.0",
|
|
10
|
+
"packages": [
|
|
11
|
+
{
|
|
12
|
+
"registryType": "npm",
|
|
13
|
+
"identifier": "realtimeclipboard-mcp",
|
|
14
|
+
"version": "0.7.0",
|
|
15
|
+
"transport": {
|
|
16
|
+
"type": "stdio"
|
|
17
|
+
},
|
|
18
|
+
"environmentVariables": [
|
|
19
|
+
{
|
|
20
|
+
"name": "REALTIMECLIPBOARD_RELAY",
|
|
21
|
+
"description": "Relay to route through. Defaults to the hosted one; set this to self-host.",
|
|
22
|
+
"isRequired": false
|
|
23
|
+
}
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
]
|
|
27
|
+
}
|