Cover image
模型-Context-protocol-Templates
Public

模型-Context-protocol-Templates

Try Now
2025-04-05

每个人的MCP模板指南

3 years

Works with Finder

1

Github Watches

1

Github Forks

2

Github Stars

model-context-protocol-templates

👉 Introduction

Model Context Protocol (MCP) is an open source protocol released by Anthropic in November 2024. It is designed for large language models (LLM) and aims to solve the standardization problem of connecting AI with external data sources and systems. MCP provides a structural framework that enables models to integrate and leverage external context in conversations, thereby extending their capabilities and improving the accuracy of their responses.

MCP provides the following three capabilities to extend LLM:

  • Resources for knowledge expansion
  • Tools calls external tools
  • Prompts Pre-written prompts

Refer to the following:

👨‍💻 SDK 👩‍💻

🔘 Quickstart

🔍Debugging & Inspection

Debugging

  1. MCP Inspector

  2. Claude Desktop Developer Tools

  3. Server Logging

Inspector

npx @modelcontextprotocol/inspector <command> <arg1> <arg2>

Inspecting servers from NPM or PyPi

  • NPM package

    npx -y @modelcontextprotocol/inspector npx <package-name> <args>
    # For example
    npx -y @modelcontextprotocol/inspector npx server-postgres postgres://127.0.0.1/testdb
    
  • PyPi package

    npx @modelcontextprotocol/inspector uvx <package-name> <args>
    # For example
    npx @modelcontextprotocol/inspector uvx mcp-server-git --repository ~/code/mcp/servers.git
    

Inspecting locally developed servers

  • TypeScript

    npx @modelcontextprotocol/inspector node path/to/server/index.js args...
    
  • Python

    npx @modelcontextprotocol/inspector \
        uv \
        --directory path/to/server \
        run \
        package-name \
        args...
    

💻 MCP Servers

🧾 Templates

Python MCP Server Template

TypeScript MCP Server Template

Java MCP Server Template

Kotlin MCP Server Template

🚨 MCP Security

相关推荐

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

  • 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

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

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

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

  • Khalid kalib
  • Write professional emails

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

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

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    3 (1)
    Avatar
    user_Ru8VyFz7
    2025-04-15

    As a dedicated MCP application user, I find mcp_server by njk8 to be an exceptional tool for server management. Its ease of use, robust features, and seamless integration make it a top choice for developers. The well-designed interface and comprehensive support ensure a smooth experience. Highly recommend checking it out! You can explore more at [mcp_server](https://mcp.so/server/mcp_server/njk8).