Sponsored by Deepsite.site

MCP Servers

Created By
esh2n9 months ago
type safety mcp servers with deno.
Content

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

Recommend Servers
TraeBuild with Free GPT-4.1 & Claude 3.7. Fully MCP-Ready.
Playwright McpPlaywright MCP server
Amap Maps高德地图官方 MCP Server
Zhipu Web SearchZhipu Web Search MCP Server is a search engine specifically designed for large models. It integrates four search engines, allowing users to flexibly compare and switch between them. Building upon the web crawling and ranking capabilities of traditional search engines, it enhances intent recognition capabilities, returning results more suitable for large model processing (such as webpage titles, URLs, summaries, site names, site icons, etc.). This helps AI applications achieve "dynamic knowledge acquisition" and "precise scenario adaptation" capabilities.
CursorThe AI Code Editor
TimeA Model Context Protocol server that provides time and timezone conversion capabilities. This server enables LLMs to get current time information and perform timezone conversions using IANA timezone names, with automatic system timezone detection.
Tavily Mcp
EdgeOne Pages MCPAn MCP service designed for deploying HTML content to EdgeOne Pages and obtaining an accessible public URL.
ChatWiseThe second fastest AI chatbot™
MCP AdvisorMCP Advisor & Installation - Use the right MCP server for your needs
MiniMax MCPOfficial MiniMax Model Context Protocol (MCP) server that enables interaction with powerful Text to Speech, image generation and video generation APIs.
AiimagemultistyleA Model Context Protocol (MCP) server for image generation and manipulation using fal.ai's Stable Diffusion model.
Serper MCP ServerA Serper MCP Server
BlenderBlenderMCP connects Blender to Claude AI through the Model Context Protocol (MCP), allowing Claude to directly interact with and control Blender. This integration enables prompt assisted 3D modeling, scene creation, and manipulation.
Visual Studio Code - Open Source ("Code - OSS")Visual Studio Code
DeepChatYour AI Partner on Desktop
Baidu Map百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Howtocook Mcp基于Anduin2017 / HowToCook (程序员在家做饭指南)的mcp server,帮你推荐菜谱、规划膳食,解决“今天吃什么“的世纪难题; Based on Anduin2017/HowToCook (Programmer's Guide to Cooking at Home), MCP Server helps you recommend recipes, plan meals, and solve the century old problem of "what to eat today"
Jina AI MCP ToolsA Model Context Protocol (MCP) server that integrates with Jina AI Search Foundation APIs.
Context7Context7 MCP Server -- Up-to-date code documentation for LLMs and AI code editors
WindsurfThe new purpose-built IDE to harness magic