Cover image
Try Now
2025-04-14

Sylph实验室模型上下文协议(MCP)工具和服务器的MonorePo。

3 years

Works with Finder

1

Github Watches

0

Github Forks

1

Github Stars

Sylph Lab - Model Context Protocol (MCP) Monorepo

This repository contains packages related to the Sylph Lab Model Context Protocol (MCP).

Overview

MCP defines a standard way for AI models and external tools/servers to communicate, enabling models to leverage external capabilities and resources. This monorepo provides core libraries defining MCP tools and example server implementations for various functionalities.

Packages

This monorepo uses a scoped naming convention (@sylphlab/mcp-<name>) and separates core tool logic (*-core) from the server implementations.

Core Libraries (packages/*-core)

These packages define the core logic, Zod schemas, and TypeScript types for specific MCP tools. They are designed to be potentially reusable outside the provided MCP servers.

  • @sylphlab/mcp-core: Provides base types, schemas, and utilities used across all MCP packages.
  • @sylphlab/mcp-filesystem-core: Core logic and schemas for filesystem tools (read, write, list, copy, delete, edit, etc.).
  • @sylphlab/mcp-wait-core: Core logic and schema for the wait tool.
  • @sylphlab/mcp-net-core: Core logic and schemas for network utility tools (getPublicIp, getInterfaces).
  • @sylphlab/mcp-fetch-core: Core logic and schema for the fetch tool (HTTP requests).
  • @sylphlab/mcp-json-core: Core logic and schema for JSON tools (parse, stringify).
  • @sylphlab/mcp-base64-core: Core logic and schemas for Base64 tools (encode, decode).
  • @sylphlab/mcp-hasher-core: Core logic and schema for hashing tools (hash).
  • @sylphlab/mcp-xml-core: Core logic and schema for XML tools (parse).
  • @sylphlab/mcp-pdf-core: Core logic and schema for PDF tools (getText).

Server Implementations (packages/<name>)

These packages implement runnable MCP servers using the @modelcontextprotocol/sdk and the tools defined in the corresponding core libraries.

  • @sylphlab/mcp-filesystem: MCP server providing filesystem tools.
  • @sylphlab/mcp-wait: MCP server providing the wait tool.
  • @sylphlab/mcp-net: MCP server providing network utility tools (getPublicIp, getInterfaces).
  • @sylphlab/mcp-fetch: MCP server providing the fetch tool.
  • @sylphlab/mcp-json: MCP server providing JSON tools.
  • @sylphlab/mcp-base64: MCP server providing Base64 tools.
  • @sylphlab/mcp-hasher: MCP server providing the hash tool.
  • @sylphlab/mcp-xml: MCP server providing the xml tool.
  • @sylphlab/mcp-pdf: MCP server providing PDF tools (getText).

Utilities

  • @sylphlab/mcp-utils: Internal shared utilities, primarily for registering tools with the MCP SDK server instance.

Development

This project uses pnpm for package management and Turborepo for managing tasks within the monorepo.

  • Install dependencies: pnpm install
  • Build all packages: pnpm run build
  • Run tests: pnpm run test
  • Run tests with coverage: pnpm run test:coverage

(More details on contribution, setup, and usage can be added later.)

相关推荐

  • av
  • 毫不费力地使用一个命令运行LLM后端,API,前端和服务。

  • WangRongsheng
  • 🧑‍🚀 llm 资料总结(数据处理、模型训练、模型部署、 o1 模型、mcp 、小语言模型、视觉语言模型)|摘要世界上最好的LLM资源。

  • 1Panel-dev
  • 🔥1Panel提供了直观的Web接口和MCP服务器,用于在Linux服务器上管理网站,文件,容器,数据库和LLMS。

  • rulego
  • ⛓️Rulego是一种轻巧,高性能,嵌入式,下一代组件编排规则引擎框架。

  • hkr04
  • 轻巧的C ++ MCP(模型上下文协议)SDK

  • sigoden
  • 使用普通的bash/javascript/python函数轻松创建LLM工具和代理。

  • RockChinQ
  • 😎简单易用、🧩丰富生态 -大模型原生即时通信机器人平台| 适配QQ / 微信(企业微信、个人微信) /飞书 /钉钉 / discord / telegram / slack等平台| 支持chatgpt,deepseek,dify,claude,基于LLM的即时消息机器人平台,支持Discord,Telegram,微信,Lark,Dingtalk,QQ,Slack

  • modelscope
  • 开始以更轻松的方式开始构建具有LLM授权的多代理应用程序。

  • dmayboroda
  • 带有可配置容器的本地对话抹布

    Reviews

    3.3 (4)
    Avatar
    user_kgRRljeA
    2025-04-26

    As a dedicated user of MCP, I can confidently say that this product by Sylphlab has greatly enhanced my workflow with its seamless integration and user-friendly interface. Whether you're a novice or a seasoned professional, MCP offers a robust set of features that cater to all your needs. The initial setup was straightforward, thanks to the clear starting URL and welcoming guidance provided. Highly recommend it!

    Avatar
    user_e1MP8rTs
    2025-04-26

    As a loyal user of MCP by sylphlab, I can confidently say that this tool has significantly streamlined my workflow. Its intuitive design and seamless integration make it indispensable for both beginners and advanced users. Every feature is thoughtfully crafted, reflecting the expertise of its creators. Highly recommended for anyone looking to enhance their productivity!

    Avatar
    user_WgbgEq9o
    2025-04-26

    As a dedicated user of MCP, I'm thoroughly impressed by the seamless integration and intuitive interface provided by sylphlab. This application streamlines my workflow effortlessly, ensuring all my needs are met efficiently. I highly recommend MCP to anyone looking for a reliable and user-friendly solution. It continually exceeds my expectations and proves to be an essential tool in my daily operations.

    Avatar
    user_JTe9puvO
    2025-04-26

    I have been an avid user of MCP by sylphlab, and I must say, it has revolutionized my workflow. The interface is user-friendly, and the features are incredibly powerful, making my tasks seamless. The welcome information is clear and helpful, ensuring a smooth start. Highly recommended for anyone seeking efficiency and reliability in their applications!