
mcp servers
type safety mcp servers with deno.
Repository Info
About This Server
type safety mcp servers with deno.
Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.
Documentation
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 textsearchReplace: Search and replace text with support for regexsplitText: Split text into parts based on a delimiterjoinText: Join text parts with a delimiterencodeDecode: Encode/decode text (base64, URL, HTML)
2. Data Conversion Tools
Tools for converting between different data formats:
convertJsonYaml: Convert between JSON and YAMLconvertCsvJson: Convert between CSV and JSONconvertXmlJson: Convert between XML and JSONconvertUnit: Convert between different units (temperature, length, weight)convertDateFormat: Convert between different date formatsconvertBase64: 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 locationtranslateText: Translate text between languagesgetGeocoding: Get geographic information for a locationgetNews: Get news articles
4. Development Tools
Utility tools for development:
getStringLength: Get the length of a stringformatJson: Format JSON datagenerateUuid: Generate a UUIDfindFiles: Find files matching a pattern
Getting Started
Prerequisites
- Deno 1.40.0 or higher
- VSCode with Deno extension (recommended)
Installation
-
Clone the repository:
git clone <repository-url> cd mcp-servers -
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: Dependencieslib.ts: Implementationtypes.ts: Type definitionsmod.test.ts: Tests
Adding New Tools
To add a new tool:
- Define the tool's input and output types in the appropriate
types.tsfile - Implement the tool in the corresponding
lib.tsfile - Export the tool in the
mod.tsfile - Register the tool in the main
server.tsfile
License
MIT License
Acknowledgements
- Deno
- Effect
- Zod
- Model Context Protocol
Quick Start
Clone the repository
git clone https://github.com/esh2n/mcp-serversInstall dependencies
cd mcp-servers
npm installFollow the documentation
Check the repository's README.md file for specific installation and usage instructions.
Repository Details
Recommended MCP Servers
Discord MCP
Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.
Knit MCP
Connect AI agents to 200+ SaaS applications and automate workflows.
Apify MCP Server
Deploy and interact with Apify actors for web scraping and data extraction.
BrowserStack MCP
BrowserStack MCP Server for automated testing across multiple browsers.
Zapier MCP
A Zapier server that provides automation capabilities for various apps.