mcpField
G
GenAIScript MCP Demo 🚀

GenAIScript MCP Demo 🚀

Local
github.com/rajyramanDeveloper Tools5Updated 83w ago

About GenAIScript MCP Demo 🚀

A demonstration of GenAIScript operating as an MCP server. GenAIScript is a framework for communicating with AI models and using MCP tools, and it can also act as an MCP server.

Key features

  1. 01Demonstrates GenAIScript MCP server capabilities
  2. 02Communicates with AI models
  3. 03Uses MCP tools
  4. 04Can run as an MCP server

Use cases

  1. 01Explore GenAIScript as an MCP server
  2. 02Start a local server in VSCode Insiders
  3. 03Use the demo tools through MCP configuration

MCP support

The project demonstrates GenAIScript running as an MCP server; GenAIScript can also use MCP tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

GenAIScript MCP Demo 🚀

This repository demonstrates the MCP Server capabilities of GenAIScript. The minimum version you need is 1.119.4

What is GenAIScript? 🤖

GenAIScript is a framework that enables you to communicate with AI models (even local models). GenAIScript can use MCP tools, and can also act as the MCP server.

Model Context Protocol (MCP) 📋

This is how Anthropic, the creators of MCP specification, defines Model Context Protocol

MCP is an open protocol that standardizes how applications provide context to LLMs. Think of MCP like a USB-C port for AI applications. Just as USB-C provides a standardized way to connect your devices to various peripherals and accessories, MCP provides a standardized way to connect AI models to different data sources and tools.

Installation of GenAIScript 🛠️

Install the VSCode extension. You need at least Node.js v20. Refer to https://microsoft.github.io/genaiscript/getting-started/installation/ additional instructions.

Usage 💻

If you install the March 2025 version of VSCode Insiders, you should be able to run the GenAIScript MCP server locally, to get the tool versions installed on your local machine.

mcp.json is where you would configure the MCP servers. Below is the sample configuration on Windows. You don't even need to clone this repo with this approach, as GenAIScript can clone the repo in the background for you to just use the tools. If you are using the --remote flag, you don't need to install the GenAIScript extension at all.

{
    "servers": {
        "genaiscript-mcp-remote": {
            "type": "stdio",
            "command": "cmd",//Have run like this in Windows. Otherwise ENOENT for npx, atleast in my machine.
            "args": [
                "/c",
                "npx",
                "-y",
                "genaiscript",
                "mcp",
                "--remote",
                "https://github.com/rajyraman/genai-mcp/",
                "--remote-branch",
                "main",
                "--groups",
                "mcp"
            ],
            "env": {
                "DEBUG": "*"
            }
            // "envFile": "${workspaceFolder}/.env"
        }        
    }
}

You can start the MCP Server by clicking the Start link. If it is already running, you would see a Running indicator.

MCP Server Start

MCP Tools

Below is how you can use it in the GitHub Copilot chat.

Copilot

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.