scripts-api-mcp

Manage Gist-based MagickMonkey scripts via REST and MCP endpoints.

Updated Feb 4, 2025
One-click install
npx skills add https://github.com/DavidKk/vercel-web-scripts --skill scripts-api-mcp
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scripts-api-mcp
Source: https://github.com/DavidKk/vercel-web-scripts/tree/main/.cursor/skills/scripts-api-mcp
Command: npx skills add https://github.com/DavidKk/vercel-web-scripts --skill scripts-api-mcp

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The APIs and MCP workflow enable seamless integration between MagickMonkey's Gist-based scripts and REST endpoints, making automation and tool invocation straightforward for teams.

Core Features & Use Cases

  • Manage Gist-based scripts via REST v1: initialize, list, get, upsert, rename, delete.
  • Expose an MCP interface to drive script operations and function calling in automation pipelines.
  • Use cases include building AI-assisted automation, workflow orchestration, and runtime scripting for private Gists.

Quick Start

Configure the server with SCRIPTS_MCP_HEADERS and use the /api/mcp and /api/v1 endpoints to initialize and call tools.

Frequently Asked Questions about scripts-api-mcp

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I use MCP and REST APIs to manage private Gist scripts?

You can manage private Gist scripts by using REST v1 endpoints to initialize, list, get, upsert, rename, and delete them. The MCP interface drives these script operations and function calling for automation pipelines.

What is the MCP interface used for in Gist-based script automation?

The MCP interface exposes script operations and function calling to drive automation pipelines. It integrates Gist-based scripts with REST endpoints to enable AI-assisted automation and workflow orchestration.

Do I need specific authentication headers to access the MCP and REST endpoints?

Yes, you must configure SCRIPTS_MCP_HEADERS to meet authentication requirements and control access. This setup is required before using the /api/mcp and /api/v1 endpoints to initialize and call tools.

Can I expose an OpenAPI specification for my Gist-based script APIs?

Yes, the integration exposes a REST endpoint at /api/v1/openapi.json to provide an OpenAPI specification. This allows you to document and interact with your Gist-based script APIs programmatically.

What's the best way to integrate MagickMonkey scripts into an automation workflow?

The best way to integrate MagickMonkey scripts is by using the provided MCP and REST APIs. This combination allows you to retrieve manifests, perform script CRUD operations, and invoke function calling within your automation pipelines.

Why does my script CRUD operation fail when calling the REST v1 endpoint?

Script CRUD operations via the REST v1 endpoint fail if authentication requirements are not met. Ensure your SCRIPTS_MCP_HEADERS are correctly configured to authorize access to the private Gists storing your scripts.