suparank 1.2.0 → 1.2.1
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/mcp-client.js +12 -5
- package/package.json +1 -1
package/mcp-client.js
CHANGED
|
@@ -3096,21 +3096,28 @@ async function executeSendWebhook(args) {
|
|
|
3096
3096
|
}
|
|
3097
3097
|
|
|
3098
3098
|
/**
|
|
3099
|
-
* Essential tools shown in the tool list
|
|
3100
|
-
*
|
|
3099
|
+
* Essential tools shown in the tool list
|
|
3100
|
+
* MCP protocol requires tools to be listed for clients to call them
|
|
3101
3101
|
*/
|
|
3102
3102
|
const VISIBLE_TOOLS = [
|
|
3103
|
+
// Essential (5) - Main workflow
|
|
3103
3104
|
'create_content', // Main entry point - creates & publishes automatically
|
|
3104
3105
|
'keyword_research', // Research keywords separately (on-demand)
|
|
3105
3106
|
'generate_image', // Generate/regenerate images (on-demand)
|
|
3106
3107
|
'publish_content', // Manual publish trigger (on-demand)
|
|
3107
|
-
'get_session'
|
|
3108
|
+
'get_session', // Check status (on-demand)
|
|
3109
|
+
|
|
3110
|
+
// Session Management (5) - Content lifecycle
|
|
3111
|
+
'save_content', // Save article to session
|
|
3112
|
+
'list_content', // List saved content
|
|
3113
|
+
'load_content', // Load past content into session
|
|
3114
|
+
'remove_article', // Remove article from session
|
|
3115
|
+
'clear_session' // Clear all session content
|
|
3108
3116
|
]
|
|
3109
3117
|
|
|
3110
3118
|
/**
|
|
3111
3119
|
* Get all available tools based on configured credentials
|
|
3112
|
-
*
|
|
3113
|
-
* Hidden tools still work when LLM calls them directly
|
|
3120
|
+
* Shows 10 essential tools (instead of 24) for cleaner UX
|
|
3114
3121
|
*/
|
|
3115
3122
|
function getAvailableTools() {
|
|
3116
3123
|
const tools = []
|
package/package.json
CHANGED