Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

Gcore

БесплатноДавно не обновлялся (419д)

Gcore runtime adapter for MCP servers built with ModelFetch

GitHubEmbed

Описание

Gcore runtime adapter for MCP servers built with ModelFetch

README

ModelFetch

ModelFetch is a delightful TypeScript/JavaScript SDK for building and deploying MCP servers anywhere TypeScript/JavaScript runs.

Release License Documentation


🚀 Features

  • Multi-Runtime: Write once, run anywhere: Node.js, Next.js, Bun, Deno, Vercel, Cloudflare, Netlify, Fastly, Supabase, Gcore, AWS Lambda, and Azure Functions
  • Official SDK: Built on top of the official MCP TypeScript SDK to avoid lock-in, guarantee long-term support, and ensure up-to-date implementation
  • Hot Reload: Development server with automatic reloading
  • MCP Inspector: Built-in integration for testing and debugging
  • Modular Design: Platform-specific package for optimal performance

🏁 Quick Start

Get started in seconds using our create-modelfetch CLI:

npx -y create-modelfetch@latest

🔧 How It Works

ModelFetch works with any McpServer instance from the official MCP TypeScript SDK. Here's all it takes:

Create your McpServer with the official MCP TypeScript SDK

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { z } from "zod";

const server = new McpServer({
  title: "My MCP Server",
  name: "my-mcp-server",
  version: "1.0.0",
});

server.registerTool(
  "roll_dice",
  {
    title: "Roll Dice",
    description: "Rolls an N-sided dice",
    inputSchema: { sides: z.number().int().min(2) },
  },
  ({ sides }) => ({
    content: [
      {
        type: "text",
        text: `🎲 You rolled a ${1 + Math.floor(Math.random() * sides)}!`,
      },
    ],
  }),
);

export default server;

Run it anywhere with ModelFetch's handle() function

Node.js

import handle from "@modelfetch/node"; // Choose your runtime
import server from "./server"; // Import your server

handle(server); // That's it — ModelFetch handles all runtime-specific details

Next.js

import handle from "@modelfetch/next"; // Choose your runtime
import server from "./server"; // Import your server

const handler = handle(server); // That's it — ModelFetch handles all runtime-specific details

export const GET = handler;
export const POST = handler;
export const DELETE = handler;

Bun

import handle from "@modelfetch/bun"; // Choose your runtime
import server from "./server.ts"; // Import your server

handle(server); // That's it — ModelFetch handles all runtime-specific details

Deno

import handle from "@modelfetch/deno"; // Choose your runtime
import server from "./server.ts"; // Import your server

handle(server); // That's it — ModelFetch handles all runtime-specific details

Vercel

import handle from "@modelfetch/vercel"; // Choose your runtime
import server from "./server"; // Import your server

const handler = handle(server); // That's it — ModelFetch handles all runtime-specific details

export const GET = handler;
export const POST = handler;
export const DELETE = handler;

Cloudflare

import handle from "@modelfetch/cloudflare"; // Choose your runtime
import server from "./server"; // Import your server

export default {
  fetch: handle(server), // That's it — ModelFetch handles all runtime-specific details
} satisfies ExportedHandler<Env>;

Netlify

import handle from "@modelfetch/netlify"; // Choose your runtime
import server from "../server.ts"; // Import your server

export default handle(server); // That's it — ModelFetch handles all runtime-specific details

Fastly

import handle from "@modelfetch/fastly"; // Choose your runtime
import server from "./server"; // Import your server

handle(server); // That's it — ModelFetch handles all runtime-specific details

Supabase

import handle from "@modelfetch/supabase"; // Choose your runtime
import server from "./server.ts"; // Import your server

handle("mcp-server", server); // That's it — ModelFetch handles all runtime-specific details

Gcore

import handle from "@modelfetch/gcore"; // Choose your runtime
import server from "./server"; // Import your server

handle(server); // That's it — ModelFetch handles all runtime-specific details

AWS Lambda

import handle from "@modelfetch/aws-lambda"; // Choose your runtime
import server from "./server"; // Import your server

export const handler: AWSLambda.LambdaFunctionURLHandler = handle(server); // That's it — ModelFetch handles all runtime-specific details

Azure Functions

import handle from "@modelfetch/azure-functions"; // Choose your runtime
import server from "./server.js"; // Import your server

handle(server); // That's it — ModelFetch handles all runtime-specific details

That's just a few lines of code to make your McpServer work across all supported platforms.

⚡ The handle() Function

Every runtime package exports a default handle() function that takes an McpServer instance as its first parameter and handles all runtime-specific details:

import handle from "@modelfetch/node"; // Choose your runtime
import server from "./server"; // Import your server

handle(server); // That's it — ModelFetch handles all runtime-specific details

📦 Runtimes

ModelFetch provides runtime-specific packages that handle tedious platform differences while you focus on building your MCP server capabilities. Each package maintains a consistent API across different runtimes.

Package Description Status
@modelfetch/node Run simple MCP servers with Node.js ✅ Ready
@modelfetch/next Run flexible MCP servers with Next.js ✅ Ready
@modelfetch/bun Run fast MCP servers with Bun ✅ Ready
@modelfetch/deno Run secure MCP servers with Deno ✅ Ready
@modelfetch/vercel Deploy MCP servers to Vercel ✅ Ready
@modelfetch/cloudflare Deploy MCP servers to Cloudflare ✅ Ready
@modelfetch/netlify Deploy MCP servers to Netlify ✅ Ready
@modelfetch/fastly Deploy MCP servers to Fastly ✅ Ready
@modelfetch/supabase Deploy MCP servers to Supabase ✅ Ready
@modelfetch/gcore Deploy MCP servers to Gcore ✅ Ready
@modelfetch/aws-lambda Deploy MCP servers to AWS Lambda ✅ Ready
@modelfetch/azure-functions Deploy MCP servers to Azure Functions ✅ Ready

🛠️ Development

Prerequisites

  • Node.js 22+
  • pnpm 10+

Initial Steps

  1. Clone the repository:

    git clone https://github.com/phuctm97/modelfetch.git
    cd modelfetch
    
  2. Install dependencies:

    pnpm install
    
  3. Type check, lint, and build all projects

    pnpm exec nx run-many -t typecheck lint build
    

Common Commands

# Run development server for a project
pnpm exec nx dev modelfetch-website

# Type check all projects
pnpm exec nx run-many -t typecheck

# Lint and auto-fix all projects
pnpm exec nx run-many -t lint --args=--fix

# Build all projects
pnpm exec nx run-many -t build

# Format code
pnpm -w format

📚 Documentation

📄 License

ModelFetch is MIT licensed.


Built with ❤️ by Minh-Phuc Tran

from github.com/phuctm97/modelfetch

Установить Gcore в Claude Desktop, Claude Code, Cursor

Рекомендуется · одна команда, все IDE
unyly install gcore

Ставит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.

Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh

Или настроить вручную

Выполни в терминале:

claude mcp add gcore -- npx -y @modelfetch/gcore

Пошаговые гайды: как установить Gcore

FAQ

Gcore MCP бесплатный?

Да, Gcore MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для Gcore?

Нет, Gcore работает без API-ключей и переменных окружения.

Gcore — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить Gcore в Claude Desktop, Claude Code или Cursor?

Открой Gcore на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Изменения

Версии и запрашиваемые доступы со временем.

  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована
  • Новая версия опубликована

Похожие MCP

Opencode Omniroute Plugin

OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc

GitHub Actionsавтор: GitHub Actions
56

Roblox Studio

Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce

paralovавтор: paralov

Antigravity Drawio

MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.

S-SUJAN-Sавтор: S-SUJAN-S

Fetch

Web content fetching and conversion for efficient LLM usage.

автор: Community

AWS KB Retrieval

Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.

modelcontextprotocolавтор: modelcontextprotocol

Spring AI MCP Server

Provides auto-configuration for setting up an MCP server in Spring Boot applications.

автор: Community

llm-analysis-assistant

A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also

xuzexin-hzавтор: xuzexin-hz

MCP-Agent

A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)

lastmile-aiавтор: lastmile-ai

Spring AI MCP Client

Provides auto-configuration for MCP client functionality in Spring Boot applications.

автор: Community

mcp.natoma.ai

A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)

автор: Community

Compare Gcore with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории ai