mcp_server
Python MCP Agent Chatbot
Python으로 완전히 구축된 Agentic AI 교실 프로젝트입니다. Groq가 모델 추론을 처리하고 로컬 MCP 서버가 도구를 제공합니다.
아키텍처
Browser -> FastAPI (Python) -> Groq -> MCP Client -> MCP Server (Python) -> Tool
Related MCP server: mcp-datecalc
파일
app.py— FastAPI 웹 백엔드, Groq 에이전트 루프 및 MCP 클라이언트mcp_server.py— 세 가지 도구를 포함하는 Python MCP 서버test_mcp.py— MCP 발견 및 도구 호출 테스트index.html— 브라우저 채팅 인터페이스pyproject.toml— Python 의존성
Windows에서 실행
uv sync --cache-dir .uv-cache
uv run --cache-dir .uv-cache uvicorn app:app --reloadhttp://127.0.0.1:8000을 엽니다.
MCP를 Groq API 호출 없이 테스트하려면:
uv run --cache-dir .uv-cache python test_mcp.py다음 질문을 시도해 보세요:
25 * 8 + 10 calculate karoKarachi mein abhi kya time hai?Ahmed ki attendance kya hai?
MCP 흐름
mcp_server.py의 함수는@mcp.tool()로 등록됩니다.app.py는 stdio를 사용하여 해당 MCP 서버를 로컬 Python 하위 프로세스로 실행합니다.MCP 클라이언트는
list_tools()를 호출하여 Groq가 사용 가능한 도구를 볼 수 있게 합니다.Groq는 도구를 선택하고 해당 인수를 생성합니다.
MCP 클라이언트는
call_tool()을 호출하고 도구 결과를 Groq에 반환합니다.Groq는 결과를 자연어 답변으로 변환합니다.
.env 파일에는 Groq 키가 포함되어 있으며 의도적으로 Git에서 제외됩니다.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- FlicenseBqualityCmaintenanceProvides computational tools for systematic reasoning, including boolean evaluation, date arithmetic, object counting, state tracking, and format validation, to enhance agent capabilities and eliminate calculation errors in reasoning tasks.74
- AlicenseNot gradedqualityCmaintenanceEnables users to perform date arithmetic, compute differences, add durations, and retrieve calendar facts via natural language or direct tool calls.9MIT
- AlicenseNot gradedqualityCmaintenanceEnables LLMs to fetch real-time weather data for any city and perform basic arithmetic operations like addition.MIT
- FlicenseNot gradedqualityCmaintenanceEnables an AI assistant to help students by providing tools for math calculations, attendance tracking, marks analysis, reading PDF notes, searching lecture notes, and checking college regulations.
Related MCP Connectors
Wall-clock awareness for LLM agents. Two tools: elapsed-time-between-turns + day rollover detection.
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
500+ deterministic tools for AI agents: math, conversion, validation, hashing, encoding, date/time.
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/massssssssssna/MCP-tested'
If you have feedback or need assistance with the MCP directory API, please join our Discord server