MCP-Demo
MCP-Demo
This repository contains a minimal version of an MCP demo. The project is designed to demonstrate the basic functionality of an MCP service and client using the qwen API interface.
Features
Lightweight and minimal implementation.
Dependency management using
uv.Integration with the
qwenAPI.
Prerequisites
Before using this repository, ensure you have the following installed:
Python 3.10 or higher
uvpackage manager
Setup Instructions
Clone the repository:
git clone https://github.com/tatocode/MCP-Demo.git cd MCP-DemoInstall dependencies using
uv:uv syncCreate a
.envfile in the root directory of the project and add your API key:API-KEY=xxxxReplace
xxxxwith your actual API key for theqwenAPI.Run the project:
uv run main.py mcp_server.py
Notes
The
.envfile is required to ensure the project runs correctly. Do not share your API key publicly.For more information about the
qwenAPI, refer to its official documentation.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Contributing
Contributions are welcome! Feel free to open issues or submit pull requests to improve this project.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tatocode/MCP-Demo'
If you have feedback or need assistance with the MCP directory API, please join our Discord server