plot-mcp-server
0
This project is a simple Model Context Protocol server built with Node.js and Express. It interacts with OpenAI's API to provide structured context-aware functionalities, particularly in story writing.
🧠Simple MCP Server with Node.js
This is a prototype of a Model Context Protocol (MCP) server using Node.js and Express, interacting with OpenAI's API for context-aware assistant functionalities like story writing.
🚀 What You Can Do
- Structure context with
system
,user
,steps
, andresources
- Use OpenAI API to generate story plots
- Add characters dynamically
- Explore context changes on LLM responses
📦 Requirements
- Node.js v18+
- npm
- OpenAI API key
🛠Setup
- Clone the repository
- Install dependencies
- Create
.env
andcontext.json
- Start the server to interact with the context and generate plots.
💡 What is MCP?
Model Context Protocol (MCP) structures contextual information for LLMs, defining system
, user
, steps
, and resources
to represent conversation or project states.