MCP cover image
See in Github
2025-02-25

type safety mcp servers with deno.

1

Github Watches

0

Github Forks

0

Github Stars

MCP Servers

A collection of Model Context Protocol (MCP) servers that extend AI model capabilities with various tools and resources.

Overview

This project implements several MCP servers that provide additional functionality to AI models through the Model Context Protocol. The servers are built using Deno and TypeScript, with a focus on type safety and functional programming principles.

Tool Sets

The project includes the following tool sets:

1. Text Processing Tools

Tools for manipulating and transforming text:

  • convertCase: Convert text case (upper, lower, title, camel, snake, kebab)
  • trimText: Trim whitespace or specific characters from text
  • searchReplace: Search and replace text with support for regex
  • splitText: Split text into parts based on a delimiter
  • joinText: Join text parts with a delimiter
  • encodeDecode: Encode/decode text (base64, URL, HTML)

2. Data Conversion Tools

Tools for converting between different data formats:

  • convertJsonYaml: Convert between JSON and YAML
  • convertCsvJson: Convert between CSV and JSON
  • convertXmlJson: Convert between XML and JSON
  • convertUnit: Convert between different units (temperature, length, weight)
  • convertDateFormat: Convert between different date formats
  • convertBase64: Encode/decode Base64

3. API Integration Tools

Tools for interacting with external APIs and services:

  • executeHttpRequest: Execute HTTP requests (GET, POST, PUT, DELETE)
  • getWeatherInfo: Get weather information for a location
  • translateText: Translate text between languages
  • getGeocoding: Get geographic information for a location
  • getNews: Get news articles

4. Development Tools

Utility tools for development:

  • getStringLength: Get the length of a string
  • formatJson: Format JSON data
  • generateUuid: Generate a UUID
  • findFiles: Find files matching a pattern

Getting Started

Prerequisites

  • Deno 1.40.0 or higher
  • VSCode with Deno extension (recommended)

Installation

  1. Clone the repository:

    git clone <repository-url>
    cd mcp-servers
    
  2. Install dependencies:

    deno cache server.ts
    

Running the Server

Run the server with the following command:

deno run -A server.ts

This will start the MCP server with all tool sets integrated.

Project Structure

mcp-servers/
├── server.ts                  # Main entry point
├── tools/                     # Tool sets
│   ├── dev-tools/             # Development tools
│   │   ├── deps.ts            # Dependencies
│   │   ├── lib.ts             # Implementation
│   │   ├── mod.ts             # Module entry point
│   │   ├── mod.test.ts        # Tests
│   │   └── types.ts           # Type definitions
│   ├── text-tools/            # Text processing tools
│   │   ├── deps.ts
│   │   ├── lib.ts
│   │   ├── mod.ts
│   │   └── types.ts
│   ├── data-conversion-tools/ # Data conversion tools
│   │   ├── deps.ts
│   │   ├── lib.ts
│   │   ├── mod.ts
│   │   └── types.ts
│   └── api-integration-tools/ # API integration tools
│       ├── deps.ts
│       ├── lib.ts
│       ├── mod.ts
│       └── types.ts
└── memory-bank/               # Project documentation

Development

Module Structure

Each tool set follows a modular structure:

  • mod.ts: Module entry point (re-exports)
  • deps.ts: Dependencies
  • lib.ts: Implementation
  • types.ts: Type definitions
  • mod.test.ts: Tests

Adding New Tools

To add a new tool:

  1. Define the tool's input and output types in the appropriate types.ts file
  2. Implement the tool in the corresponding lib.ts file
  3. Export the tool in the mod.ts file
  4. Register the tool in the main server.ts file

License

MIT License

Acknowledgements

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • rustassistant.com
  • Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • apappascs
  • Discover the most comprehensive and up-to-date collection of MCP servers in the market. This repository serves as a centralized hub, offering an extensive catalog of open-source and proprietary MCP servers, complete with features, documentation links, and contributors.

  • Mintplex-Labs
  • The all-in-one Desktop & Docker AI application with built-in RAG, AI agents, No-code agent builder, MCP compatibility, and more.

  • modelcontextprotocol
  • Model Context Protocol Servers

  • ShrimpingIt
  • Micropython I2C-based manipulation of the MCP series GPIO expander, derived from Adafruit_MCP230xx

  • n8n-io
  • Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

  • OffchainLabs
  • Go implementation of Ethereum proof of stake

  • WangRongsheng
  • 🧑‍🚀 全世界最好的LLM资料总结(Agent框架、辅助编程、数据处理、模型训练、模型推理、o1 模型、MCP、小语言模型、视觉语言模型) | Summary of the world's best LLM resources.

    Reviews

    3 (1)
    Avatar
    user_dUi6MHJM
    2025-04-16

    I've been using mcp-servers by esh2n and it has significantly improved my server management. The documentation is clear, and it's incredibly easy to set up and use. The community support on GitHub is fantastic, and the features are robust and reliable. Highly recommended for anyone looking to streamline their server operations! Check it out at https://github.com/esh2n/mcp-servers.