MCP ExplorerExplorer

Hyperchatmcp

@BigSweetPotatoStudioon 9 months ago
11 MIT
FreeCommunity
AI Systems
HyperChatMCP通过用户友好的JSON Schema表单简化MCP配置。

Overview

What is Hyperchatmcp

HyperChatMCP is an official list maintained by HyperChat, designed to be more user-friendly. It generates forms from jsonSchema to convert them into MCP configurations.

Use cases

Use cases include managing server filesystems, integrating with databases, and automating configuration setups for different environments.

How to use

To use HyperChatMCP, you need to define your MCP configuration using the provided schema. You can register your packages and resolve them using the specified commands and arguments.

Key features

Key features include user-friendly form generation from jsonSchema, easy registration of packages, and the ability to resolve configurations dynamically.

Where to use

HyperChatMCP can be used in various fields such as software development, server management, and any application requiring configuration management.

Content

这个是HyperChat的官方维护的列表,更加人性化,通过jsonSchema生成表单转成MCP配置

如下是一个简单的例子,欢迎提交代码,合并后会自动发布HyperChat MCP Extension列表

定义MCP src/@modelcontextprotocol/server-filesystem/index.ts

import { z } from "zod";
import { zodToJsonSchema } from "zod-to-json-schema";

import { Package, MCP } from "../../mcp";

// 参数
const config = z.object({
  path: z.string({
    required_error: "Path is required",
    description: "allow path",
  }),
});

type Config = z.infer<typeof config>;

const p: Package = {
  type: "npx",
  name: "@modelcontextprotocol/server-filesystem",
  github: "https://github.com/modelcontextprotocol/servers.git",
  description: "Server filesystem",
  keywords: ["server", "filesystem"],
  // 参数转 mcp 配置
  resolve: (config: Config) => {
    return {
      command: "npx",
      args: ["-y", "@modelcontextprotocol/server-filesystem", config.path],
      env: {},
    };
  },
  configSchema: zodToJsonSchema(config),
};

MCP.register(p);

注册 src/register.ts

import "./@modelcontextprotocol/server-filesystem";
import "./@modelcontextprotocol/sqlite";
import "./mcp-obsidian/index";

//ADD  import "./xxxxx";

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers