suparank 1.0.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 ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Suparank
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,224 @@
1
+ # Suparank MCP
2
+
3
+ AI-powered SEO content creation for your blog. Works with Claude Desktop, Cursor, and ChatGPT via the Model Context Protocol (MCP).
4
+
5
+ ## Quick Start
6
+
7
+ ```bash
8
+ npx suparank
9
+ ```
10
+
11
+ Follow the setup wizard to connect your Suparank account.
12
+
13
+ ## What is Suparank?
14
+
15
+ Suparank is a SaaS platform that helps you create SEO-optimized blog content using AI. This MCP (Model Context Protocol) client connects your AI assistant (Claude, Cursor, ChatGPT) to the Suparank platform.
16
+
17
+ **Features:**
18
+ - Keyword research and SEO strategy
19
+ - AI-powered content writing with your brand voice
20
+ - Automatic image generation (fal.ai, wiro.ai, Gemini)
21
+ - One-click publishing to WordPress and Ghost
22
+ - Webhook integrations (Make, n8n, Zapier, Slack)
23
+
24
+ ## Installation
25
+
26
+ ### Option 1: npx (Recommended)
27
+
28
+ No installation needed. Just run:
29
+
30
+ ```bash
31
+ npx suparank
32
+ ```
33
+
34
+ ### Option 2: Global Install
35
+
36
+ ```bash
37
+ npm install -g suparank
38
+ suparank
39
+ ```
40
+
41
+ ## Setup
42
+
43
+ 1. **Create a Suparank account** at [suparank.io](https://suparank.io)
44
+
45
+ 2. **Create a project** in the dashboard
46
+
47
+ 3. **Get your API key** from Settings > API Keys
48
+
49
+ 4. **Run setup:**
50
+ ```bash
51
+ npx suparank setup
52
+ ```
53
+
54
+ 5. **Add to your AI client:**
55
+
56
+ **Claude Desktop** (`~/.config/claude/claude_desktop_config.json`):
57
+ ```json
58
+ {
59
+ "mcpServers": {
60
+ "suparank": {
61
+ "command": "npx",
62
+ "args": ["suparank"]
63
+ }
64
+ }
65
+ }
66
+ ```
67
+
68
+ **Cursor** (MCP settings):
69
+ ```json
70
+ {
71
+ "mcpServers": {
72
+ "suparank": {
73
+ "command": "npx",
74
+ "args": ["suparank"]
75
+ }
76
+ }
77
+ }
78
+ ```
79
+
80
+ 6. **Start creating content!**
81
+
82
+ Just tell your AI: "Create a blog post about [your topic]"
83
+
84
+ ## Commands
85
+
86
+ | Command | Description |
87
+ |---------|-------------|
88
+ | `npx suparank` | Run MCP server (or setup if first time) |
89
+ | `npx suparank setup` | Run setup wizard |
90
+ | `npx suparank credentials` | Configure local integrations |
91
+ | `npx suparank test` | Test API connection |
92
+ | `npx suparank session` | View current session state |
93
+ | `npx suparank clear` | Clear session state |
94
+ | `npx suparank help` | Show help |
95
+
96
+ ## Local Integrations
97
+
98
+ Configure local credentials for additional features:
99
+
100
+ ```bash
101
+ npx suparank credentials
102
+ ```
103
+
104
+ ### Image Generation
105
+
106
+ Generate AI images for your blog posts:
107
+
108
+ - **fal.ai** - Fast, high quality (recommended)
109
+ - **wiro.ai** - Google Imagen via API
110
+ - **Gemini** - Google AI directly
111
+
112
+ ### WordPress Publishing
113
+
114
+ Publish directly to your WordPress site:
115
+
116
+ 1. Install the [Suparank Connector plugin](https://suparank.io/wordpress-plugin)
117
+ 2. Get the secret key from plugin settings
118
+ 3. Add to credentials
119
+
120
+ ### Ghost CMS Publishing
121
+
122
+ Publish directly to your Ghost blog:
123
+
124
+ 1. Go to Ghost Admin > Settings > Integrations
125
+ 2. Create a custom integration
126
+ 3. Copy the Admin API key
127
+ 4. Add to credentials
128
+
129
+ ### Webhooks
130
+
131
+ Send notifications when content is published:
132
+
133
+ - Slack
134
+ - Make.com
135
+ - n8n
136
+ - Zapier
137
+
138
+ ## Configuration Files
139
+
140
+ All configuration is stored in `~/.suparank/`:
141
+
142
+ ```
143
+ ~/.suparank/
144
+ ├── config.json # API key and project settings
145
+ ├── credentials.json # Local integrations (WordPress, Ghost, etc.)
146
+ ├── session.json # Current workflow state
147
+ └── content/ # Saved articles
148
+ ```
149
+
150
+ ## Available Tools
151
+
152
+ When connected to your AI assistant, Suparank provides these tools:
153
+
154
+ ### SEO Research
155
+ - `keyword_research` - Keyword analysis and competitive research
156
+ - `seo_strategy` - Create SEO strategy and content briefs
157
+ - `topical_map` - Design pillar-cluster content architecture
158
+ - `content_calendar` - Plan editorial calendar
159
+
160
+ ### Content Creation
161
+ - `content_write` - Write SEO-optimized articles
162
+ - `image_prompt` - Create AI image generation prompts
163
+ - `generate_image` - Generate images (requires credentials)
164
+
165
+ ### SEO Optimization
166
+ - `internal_links` - Develop internal linking strategy
167
+ - `schema_generate` - Create JSON-LD structured data
168
+ - `geo_optimize` - Optimize for AI search engines (GEO)
169
+ - `quality_check` - Pre-publish quality assurance
170
+
171
+ ### Workflow
172
+ - `create_content` - Main entry point (orchestrates full workflow)
173
+ - `save_content` - Save content to session
174
+ - `publish_content` - Publish to configured CMS
175
+ - `get_session` - View current session state
176
+
177
+ ### Publishing
178
+ - `publish_wordpress` - Direct WordPress publishing
179
+ - `publish_ghost` - Direct Ghost CMS publishing
180
+ - `send_webhook` - Send to automation platforms
181
+
182
+ ## Example Workflow
183
+
184
+ 1. **Tell your AI what you want:**
185
+ ```
186
+ "Create a blog post about React hooks best practices"
187
+ ```
188
+
189
+ 2. **Suparank will:**
190
+ - Research keywords
191
+ - Create content outline
192
+ - Write the article (following your brand voice)
193
+ - Generate cover image
194
+ - Publish to your CMS
195
+
196
+ 3. **Review and publish** from your CMS dashboard
197
+
198
+ ## Troubleshooting
199
+
200
+ ### "Connection failed"
201
+
202
+ - Check your API key is valid
203
+ - Ensure your project slug is correct
204
+ - Verify internet connection
205
+
206
+ ### "No credentials configured"
207
+
208
+ Run `npx suparank credentials` to set up local integrations.
209
+
210
+ ### MCP not connecting
211
+
212
+ 1. Restart your AI client
213
+ 2. Check the MCP config path is correct
214
+ 3. Ensure Node.js 18+ is installed
215
+
216
+ ## Support
217
+
218
+ - **Documentation:** [suparank.io/docs](https://suparank.io/docs)
219
+ - **Issues:** [GitHub Issues](https://github.com/Suparank/Suparank-MCP/issues)
220
+ - **Email:** hello@suparank.io
221
+
222
+ ## License
223
+
224
+ MIT License - see [LICENSE](LICENSE) for details.