sosoapi 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.
@@ -0,0 +1,14 @@
1
+ {
2
+ "name": "sosoapi",
3
+ "description": "Use the bundled SosoAPI MCP server with browser OAuth and explicit delegated consent. No SosoAPI API key belongs in this plugin configuration.",
4
+ "version": "0.4.0",
5
+ "author": {
6
+ "name": "SosoAPI"
7
+ },
8
+ "mcpServers": {
9
+ "sosoapi": {
10
+ "command": "node",
11
+ "args": ["${CLAUDE_PLUGIN_ROOT}/dist/index.js"]
12
+ }
13
+ }
14
+ }
package/README.md ADDED
@@ -0,0 +1,89 @@
1
+ # SosoAPI
2
+
3
+ **Let your coding agent run your social accounts. You approve what goes out.**
4
+
5
+ SosoAPI gives Claude Code, Codex, Cursor and other MCP agents one safe way to
6
+ draft, schedule, publish and measure posts on Threads, Instagram, Facebook
7
+ Pages and YouTube.
8
+
9
+ > SosoAPI is in early access. [Join the waitlist](https://sosoapi.ai/#waitlist);
10
+ > invited accounts can start right away.
11
+
12
+ ## Start in about a minute
13
+
14
+ **1. Add SosoAPI to your agent** (Node.js 20 or later)
15
+
16
+ ```bash
17
+ # Claude Code
18
+ claude mcp add sosoapi -- npx -y sosoapi
19
+
20
+ # Codex
21
+ codex mcp add sosoapi -- npx -y sosoapi
22
+ ```
23
+
24
+ Claude Desktop, Cursor and other clients take the same command in their MCP
25
+ settings:
26
+
27
+ ```json
28
+ { "mcpServers": { "sosoapi": { "command": "npx", "args": ["-y", "sosoapi"] } } }
29
+ ```
30
+
31
+ **2. Ask your agent**
32
+
33
+ > Connect my Threads account and draft my first post about what I shipped this week.
34
+
35
+ **3. Approve in your browser**
36
+
37
+ - The first request opens SosoAPI to sign in and choose what this agent may do.
38
+ - Connecting an account opens that platform's own consent screen.
39
+ - Your agent shows you the exact account and draft before anything is posted.
40
+
41
+ No API key goes into any config file.
42
+
43
+ ## What you can ask
44
+
45
+ - "Turn my latest commit message into a Threads post and schedule it for 9 am tomorrow."
46
+ - "Upload `demo.mp4` to YouTube as a private video titled Launch demo."
47
+ - "Which of my last ten Instagram posts got the most saves?"
48
+ - "Reply to the new comments on my latest Threads post; show me each reply first."
49
+ - "Reschedule everything planned for Friday to Monday."
50
+
51
+ ## You stay in control
52
+
53
+ - **You choose the access.** At sign-in you pick the workspaces and whether the
54
+ agent may only draft or may also schedule and publish.
55
+ - **Every device is separate.** Revoke one any time in **Settings → Agents & API
56
+ Access** or with `npx sosoapi auth logout`.
57
+ - **Credentials stay in your OS keychain.** Access tokens last one hour and are
58
+ never printed.
59
+ - **A post counts as published only when the platform confirms it.**
60
+
61
+ ## Commands
62
+
63
+ ```bash
64
+ npx sosoapi auth login | status | logout # browser sign-in and device status
65
+ npx sosoapi connect threads # connect or manage an account
66
+ npx sosoapi api contract # every route an agent can call
67
+ ```
68
+
69
+ Supported platforms: `threads`, `instagram`, `facebook`, `youtube`.
70
+
71
+ ## Troubleshooting
72
+
73
+ - **The wrong browser profile opened.** The sign-in link is also printed;
74
+ paste it into the right profile.
75
+ - **"Account access is not available".** Your account has not been invited yet;
76
+ [join the waitlist](https://sosoapi.ai/#waitlist).
77
+ - **No OS keychain** (some Linux servers). Credentials fall back to
78
+ `~/.config/vicky/credentials.json`, readable only by you.
79
+
80
+ ## Coming soon
81
+
82
+ A hosted MCP server at `https://mcp.sosoapi.ai`, so web apps such as
83
+ claude.ai and ChatGPT can connect with a URL and nothing to install.
84
+
85
+ ---
86
+
87
+ [Docs](https://sosoapi.ai/docs) · [Privacy](https://app.sosoapi.ai/legal/privacy/) ·
88
+ [Terms](https://app.sosoapi.ai/legal/terms/) · Support: vickyai.tech@gmail.com ·
89
+ MIT license
@@ -0,0 +1,245 @@
1
+ The sosoapi bundle includes the following third-party packages.
2
+
3
+ @modelcontextprotocol/sdk@1.29.0
4
+ License: MIT
5
+
6
+ MIT License
7
+
8
+ Copyright (c) 2024 Anthropic, PBC
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+
28
+ ------------------------------------------------------------------------
29
+
30
+ ajv-formats@3.0.1
31
+ License: MIT
32
+
33
+ MIT License
34
+
35
+ Copyright (c) 2020 Evgeny Poberezkin
36
+
37
+ Permission is hereby granted, free of charge, to any person obtaining a copy
38
+ of this software and associated documentation files (the "Software"), to deal
39
+ in the Software without restriction, including without limitation the rights
40
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
41
+ copies of the Software, and to permit persons to whom the Software is
42
+ furnished to do so, subject to the following conditions:
43
+
44
+ The above copyright notice and this permission notice shall be included in all
45
+ copies or substantial portions of the Software.
46
+
47
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
48
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
49
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
50
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
51
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
52
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
53
+ SOFTWARE.
54
+
55
+ ------------------------------------------------------------------------
56
+
57
+ ajv@8.20.0
58
+ License: MIT
59
+
60
+ The MIT License (MIT)
61
+
62
+ Copyright (c) 2015-2021 Evgeny Poberezkin
63
+
64
+ Permission is hereby granted, free of charge, to any person obtaining a copy
65
+ of this software and associated documentation files (the "Software"), to deal
66
+ in the Software without restriction, including without limitation the rights
67
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
68
+ copies of the Software, and to permit persons to whom the Software is
69
+ furnished to do so, subject to the following conditions:
70
+
71
+ The above copyright notice and this permission notice shall be included in all
72
+ copies or substantial portions of the Software.
73
+
74
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
75
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
76
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
77
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
78
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
79
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
80
+ SOFTWARE.
81
+
82
+ ------------------------------------------------------------------------
83
+
84
+ fast-deep-equal@3.1.3
85
+ License: MIT
86
+
87
+ MIT License
88
+
89
+ Copyright (c) 2017 Evgeny Poberezkin
90
+
91
+ Permission is hereby granted, free of charge, to any person obtaining a copy
92
+ of this software and associated documentation files (the "Software"), to deal
93
+ in the Software without restriction, including without limitation the rights
94
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
95
+ copies of the Software, and to permit persons to whom the Software is
96
+ furnished to do so, subject to the following conditions:
97
+
98
+ The above copyright notice and this permission notice shall be included in all
99
+ copies or substantial portions of the Software.
100
+
101
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
102
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
103
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
104
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
105
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
106
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
107
+ SOFTWARE.
108
+
109
+ ------------------------------------------------------------------------
110
+
111
+ fast-uri@3.1.2
112
+ License: BSD-3-Clause
113
+
114
+ Copyright (c) 2011-2021, Gary Court until https://github.com/garycourt/uri-js/commit/a1acf730b4bba3f1097c9f52e7d9d3aba8cdcaae
115
+ Copyright (c) 2021-present The Fastify team <https://github.com/fastify/fastify#team>
116
+ All rights reserved.
117
+
118
+ Redistribution and use in source and binary forms, with or without
119
+ modification, are permitted provided that the following conditions are met:
120
+ * Redistributions of source code must retain the above copyright
121
+ notice, this list of conditions and the following disclaimer.
122
+ * Redistributions in binary form must reproduce the above copyright
123
+ notice, this list of conditions and the following disclaimer in the
124
+ documentation and/or other materials provided with the distribution.
125
+ * The names of any contributors may not be used to endorse or promote
126
+ products derived from this software without specific prior written
127
+ permission.
128
+
129
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
130
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
131
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
132
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS AND CONTRIBUTORS BE LIABLE FOR ANY
133
+ DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
134
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
135
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
136
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
137
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
138
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
139
+
140
+ * * *
141
+
142
+ The complete list of contributors can be found at:
143
+ - https://github.com/garycourt/uri-js/graphs/contributors
144
+
145
+ ------------------------------------------------------------------------
146
+
147
+ hono@4.12.34
148
+ License: MIT
149
+
150
+ MIT License
151
+
152
+ Copyright (c) 2021 - present, Yusuke Wada and Hono contributors
153
+
154
+ Permission is hereby granted, free of charge, to any person obtaining a copy
155
+ of this software and associated documentation files (the "Software"), to deal
156
+ in the Software without restriction, including without limitation the rights
157
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
158
+ copies of the Software, and to permit persons to whom the Software is
159
+ furnished to do so, subject to the following conditions:
160
+
161
+ The above copyright notice and this permission notice shall be included in all
162
+ copies or substantial portions of the Software.
163
+
164
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
165
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
166
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
167
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
168
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
169
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
170
+ SOFTWARE.
171
+
172
+ ------------------------------------------------------------------------
173
+
174
+ json-schema-traverse@1.0.0
175
+ License: MIT
176
+
177
+ MIT License
178
+
179
+ Copyright (c) 2017 Evgeny Poberezkin
180
+
181
+ Permission is hereby granted, free of charge, to any person obtaining a copy
182
+ of this software and associated documentation files (the "Software"), to deal
183
+ in the Software without restriction, including without limitation the rights
184
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
185
+ copies of the Software, and to permit persons to whom the Software is
186
+ furnished to do so, subject to the following conditions:
187
+
188
+ The above copyright notice and this permission notice shall be included in all
189
+ copies or substantial portions of the Software.
190
+
191
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
192
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
193
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
194
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
195
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
196
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
197
+ SOFTWARE.
198
+
199
+ ------------------------------------------------------------------------
200
+
201
+ zod-to-json-schema@3.25.2
202
+ License: ISC
203
+
204
+ ISC License
205
+
206
+ Copyright (c) 2020, Stefan Terdell
207
+
208
+ Permission to use, copy, modify, and/or distribute this software for any
209
+ purpose with or without fee is hereby granted, provided that the above
210
+ copyright notice and this permission notice appear in all copies.
211
+
212
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
213
+ WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
214
+ MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
215
+ ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
216
+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
217
+ ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
218
+ OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
219
+
220
+ ------------------------------------------------------------------------
221
+
222
+ zod@4.4.1
223
+ License: MIT
224
+
225
+ MIT License
226
+
227
+ Copyright (c) 2025 Colin McDonnell
228
+
229
+ Permission is hereby granted, free of charge, to any person obtaining a copy
230
+ of this software and associated documentation files (the "Software"), to deal
231
+ in the Software without restriction, including without limitation the rights
232
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
233
+ copies of the Software, and to permit persons to whom the Software is
234
+ furnished to do so, subject to the following conditions:
235
+
236
+ The above copyright notice and this permission notice shall be included in all
237
+ copies or substantial portions of the Software.
238
+
239
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
240
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
241
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
242
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
243
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
244
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
245
+ SOFTWARE.