mcp-playground
0
MCP Playground is a project aimed at implementing a Model Context Protocol server that integrates with AI agents. It consists of a FastAPI-based backend and plans for a React frontend dashboard.
MCP Playground
This project demonstrates a hands-on implementation of a Model Context Protocol (MCP) server integrated with AI agents.
Structure
backend
: FastAPI-based MCP serverfrontend
: Placeholder for React frontend dashboard
Quickstart
1. Start the backend server
cd backend
pip install -r requirements.txt
uvicorn app.main:app --reload
2. Access context API
POST /get_context
with JSON{ "agent_id": "agent1" }
POST /update_context
with JSON{ "agent_id": "agent1", "context": {"key": "value"} }
3. Frontend setup (TBD)
- Scaffold React app inside
frontend/
using Vite or Create React App.