sur950
MCP Serversur950public

mcp server examples

包含基于 Model Context Protocol (MCP) 的 TypeScript 示例服务器,用于实现各类工具和功能。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
TypeScript
Language
MIT License
License

About This Server

包含基于 Model Context Protocol (MCP) 的 TypeScript 示例服务器,用于实现各类工具和功能。

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

🤖 Model Context Protocol (MCP) Examples

This repository contains modular MCP agent servers built using the Model Context Protocol TypeScript SDK.
Each subdirectory in src/ is a self-contained MCP server with tools and prompts (e.g., code analysis, summarization, etc.).

✨ The root src/index.ts dynamically registers and launches all individual servers.


📦 Structure

src/
├── index.ts         # Main launcher to register all MCP servers
├── code-analysis/   # Analyzes local code repositories
│   ├── tools.ts     # Tool implementations
│   ├── server.ts    # Registers tools & prompts with MCP
│   ├── utils.ts     # Helper functions (file reading, structure)
│   ├── prompt.ts    # Prompt handler definitions
│   └── README.md    # Module-specific usage docs
...

🚀 Getting Started

1. Install dependencies

npm install

2. (Optional) Set up local .env

echo "PORT=3000" > .env

3. Start the MCP server

npm run dev

The server will run at: http://localhost:3000/mcp


🧪 Debugging / Manual Testing

You can test the server using MCP Inspector, a UI debugger for MCP-based servers.

Start the MCP Inspector (in another terminal)

npm run debug

Then open: 👉 http://127.0.0.1:6274 and connect to http://localhost:3000/mcp using Streamable HTTP.


🧩 Supported MCP Modules

FolderDescriptionTransport
code-analysisAnalyze and explore local code repositoriesStreamable HTTP
boilerplate-genGenerate starter codebases and incrementally add featuresSTDIO
(more coming soon)......

📜 License

MIT License Copyright (c) 2025 suresh konakanchi

Permission is hereby granted,
free of charge, to any person obtaining a copy of this software and associated
documentation files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to the
following conditions:

The above copyright notice and this permission notice
(including the next paragraph) shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF
ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO
EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

Quick Start

1

Clone the repository

git clone https://github.com/sur950/mcp-server-examples
2

Install dependencies

cd mcp-server-examples
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownersur950
Repomcp-server-examples
LanguageTypeScript
LicenseMIT License
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation