Cover image
Try Now
2025-04-14

3 years

Works with Finder

0

Github Watches

0

Github Forks

0

Github Stars

MCP Assistant

This is a simple demo application showcasing the use of the Model Context Protocol (MCP) with tools and a web-based UI.

🧠 Features

  • MCP-style tool interface via FastAPI
  • Calculator tool (/tool/calculate)
  • Knowledge base tool (/tool/knowledge)
  • Simple HTML + JavaScript frontend

🚀 How to Run

1. Install dependencies

pip install fastapi uvicorn

2. Run the MCP server

uvicorn mcp_server:app --reload

3. Open the app

Visit: http://localhost:8000

4. Try it out

Ask:

  • calculate 25 * 4
  • what is mcp

🧱 Folder Structure

mcp_assistant_simple/
├── main.py
├── mcp_server.py
├── tools/
│   ├── calculator.py
│   └── kb_tool.py
├── static/
│   └── index.html
└── README.md

📚 Credits

Built for the CodeCrunch Event — LLM + MCP Exploration 🚀

相关推荐

  • 1Panel-dev
  • 🔥 1Panel provides an intuitive web interface and MCP Server to manage websites, files, containers, databases, and LLMs on a Linux server.

  • n8n-io
  • Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

  • Byaidu
  • PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero

  • sigoden
  • Easily create LLM tools and agents using plain Bash/JavaScript/Python functions.

  • tommyming
  • Just getting some fun to build a mcp version using swift.

  • paulwing
  • A test repository created using MCP service

  • ragu6963
  • tawago
  • Artifact2MCP Generator allows generation of MCP server automatically & dynamically given smart contract's compiled artifact (chain‑agnostic)

    Reviews

    5 (0)