LM Studio Creative Story Writer
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@LM Studio Creative Story WriterWrite a fantasy story about a dragon and save it as dragon.txt"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
š LM Studio Creative Story Writer
Model Context Protocol (MCP) Server for Local LLMs
š Key Features
š¤ LM Studio Integration: Uses LM Studio's local OpenAI-compatible API server (
http://localhost:1234/v1).āļø Creative Prompt Engineering: System prompts specifically optimized for rich sensory descriptions, immersive pacing, and engaging narratives.
š¾ Automatic File Saving: Generates formatted
.txtfiles complete with topic headers, genre, and generation timestamps.š Genre Customization: Easily specify genres such as Sci-Fi, Fantasy, Mystery, Cyberpunk, or Horror.
ā” FastMCP Protocol: Built with the official lightweight FastMCP library for seamless integration with MCP clients (LM Studio, Claude Desktop, Cursor, etc.).
Related MCP server: local-agent-context
šļø Architecture Flowchart
āāāāāāāāāāāāāāāāāāā MCP Protocol āāāāāāāāāāāāāāāāāāāā
ā MCP Client ā āāāāāāāāāāāāāāāāāāāāāāāŗ ā story_server ā
ā (LM Studio Host ā ā (FastMCP) ā
ā / Claude / CLI) ā āāāāāāāāāā¬āāāāāāāāāā
āāāāāāāāāāāāāāāāāāā ā
ā OpenAI API
ā¼
āāāāāāāāāāāāāāāāāāāā Writes File āāāāāāāāāāāāāāāāāāāā
ā Local Disk ā āāāāāāāāāāāāāāāāāāāāāā ā LM Studio ā
ā (story_file.txt) ā ā (Local Server) ā
āāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāš Prerequisites
Before running the server, ensure you have:
Python 3.10+: Download from python.org.
LM Studio: Download from lmstudio.ai.
Local LLM Model: Download a model in LM Studio (e.g., Llama 3, Mistral 7B, or Qwen 2.5).
āļø Installation & Setup
Clone the Repository:
git clone https://github.com/KVS-Manvith/VTU25374-MCP.git cd VTU25374-MCPCreate and Activate a Virtual Environment (Optional but Recommended):
# On Windows: python -m venv venv .\venv\Scripts\activate # On macOS/Linux: python3 -m venv venv source venv/bin/activateInstall Dependencies:
pip install -r requirements.txt
š How to Run
Step 1: Start LM Studio Local Server
Launch LM Studio.
Select and load your model at the top dropdown.
Open the Local Server tab (
< / >icon on the left sidebar).Click Start Server (Server will start on
http://localhost:1234).
Step 2: Test via FastMCP Dev Inspector
You can test the tool interactively in your browser:
mcp dev story_server.pyThis opens an interactive dashboard where you can call the write_and_save_story tool with custom parameters!
Step 3: Register in LM Studio MCP Client
In LM Studio, navigate to Settings -> MCP / Tools.
Add the server configuration to your
mcp.json:{ "mcpServers": { "creative-story-writer": { "command": "python", "args": ["C:/path/to/VTU25374-MCP/story_server.py"] } } }Save the config. In your LM Studio chat, you can now instruct the assistant:
"Write a sci-fi story about a forgotten space station and save it as space_station.txt using the story writer tool."
š ļø Tool Definition
write_and_save_story
Parameter | Type | Default | Description |
|
| (Required) | The main idea, theme, or prompt for the story. |
|
|
| The name of the file to save the story into. |
|
|
| Target genre (e.g. |
š Project Structure
VTU25374-MCP/
āāā story_server.py # Main MCP server script
āāā requirements.txt # Python dependencies
āāā README.md # Documentation
āāā LICENSE # MIT License
āāā .gitignore # Git ignore rules
āāā sample_story.txt # Example generated story outputš License
This project is licensed under the MIT License.
This server cannot be installed
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
- Alicense-qualityCmaintenanceAn MCP server that enables AI agents to act as dynamic dungeon masters for text-based RPGs with dynamically generated rule systems and comprehensive game state management.79MIT
- Alicense-qualityDmaintenanceA local MCP server that gives AI coding agents persistent memory and context across sessions.9MIT
- AlicenseAqualityCmaintenanceA fully local MCP server that gives AI agents persistent, semantic long-term memory without any cloud dependencies.11121MIT
- Alicense-qualityCmaintenanceAn MCP server that automates the generation of structured children's books using Claude Desktop.27MIT
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Hosted MCP server connecting claude.ai, ChatGPT and other AI apps to your own computer
MCP server for Grok Imagine AI video generation
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/KVS-Manvith/VTU25374-MCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server