
mcp demo
一个用于演示 MCP 服务器配置和运行的示例项目。
Repository Info
About This Server
一个用于演示 MCP 服务器配置和运行的示例项目。
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
Prerequisites
Install uv (Python Package Manager)
Run the following command in PowerShell to install uv:
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
For more details, refer to the uv installation guide.
Clone the Repository
Clone the repository using the following command:
git clone https://github.com/davidhayesbc/mcp-demo.git
Open the Project in VS Code
Navigate to the project directory and open it in Visual Studio Code:
cd mcp-demo
code .
If you don't have Visual Studio Code installed, download it from the official website.
Synchronize Dependencies
Run the following command to synchronize dependencies:
uv sync
Refer to the uv documentation for more details on dependency management.
Update Configuration
Edit the .vscode/mcp.json file and update the path to point to the location of main.py. For guidance, see the MCP configuration documentation.
Run the MCP Server
- Use
Ctrl+Shift+Pto open the Command Palette in Visual Studio Code. - Search for
MCP: List Serversand select it. - Choose the
my-weatherserver. - Select
Start Server.
You can now enable Copilot's Agent Mode and ask it:
"Tell me about the weather this weekend."
It will ask you to confirm this is ok if this is the first time you've run the server
For more information, visit the MCP server documentation.
Quick Start
Clone the repository
git clone https://github.com/davidhayesbc/mcp-demoInstall dependencies
cd mcp-demo
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.