Token导航 LogoToken导航TokenDH.com
dabouelhassan MCP-server-example-v2 logo
开发工具未说明官方级别未说明来源级核验

dabouelhassan MCP-server-example-v2

MCP Server

Simple MCP Server Example\ \ This is a basic implementation of a Model Context Protocol (MCP) server using FastAPI. The server demonstrates the core concepts of MCP by providing a simple context service.\ \ Features\ \ Basic health check endpoint\ Context endpoint that processes prompt templates\ Support for parameterized prompts\ \ Setup\ \ 1. Install dependencies:\ \ \ 2. Run the server:\ \ \ Usage\ \ The server provides two endpoints:\ \ 1. GET / Health check\ 2. POST /context Get context for a prompt\ \ Example request:\

工具数

公开资料未说明
FastAPI开发工具命令行工具

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

MCP-Mirror

提供方

MCP-Mirror

最后核验

2026/5/18 02:14

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

详细介绍

Simple MCP Server Example\

\ This is a basic implementation of a Model Context Protocol (MCP) server using FastAPI. The server demonstrates the core concepts of MCP by providing a simple context service.\ \

Features\

\

  • Basic health check endpoint\
  • Context endpoint that processes prompt templates\
  • Support for parameterized prompts\

\

Setup\

\

  1. Install dependencies:\
   pip install -r requirements.txt\

\

  1. Run the server:\
   uvicorn src.main:app --reload\

\

Usage\

\ The server provides two endpoints:\ \

  1. GET / - Health check\
  2. POST /context - Get context for a prompt\

\ Example request:\

curl -X POST http://localhost:8000/context \\\\\
  -H "Content-Type: application/json" \\\\\
  -d '{"prompt_id": "greeting", "parameters": {"time": "12:00 PM"}}'\

目录标签

目录标签

FastAPI开发工具命令行工具developer-toolsmcpserver

接入字段

传输方式(transport,传输协议)

未说明

鉴权方式(authType,认证方式)

none

权限和风险

未说明none部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

仍需确认:installCommand

来源信息

继续浏览同类 MCP