MCP Server Examples

Explore example prompts to create different types of MCP servers with Gungnir

Basic MCP Server
A simple MCP server with core OpenAI model support

Prompt:

Create a basic MCP server with support for OpenAI models (gpt-4o and gpt-3.5-turbo) and a simple health check endpoint. Include proper error handling and environment variable configuration.
Beginner
OpenAI
Express
By Gungnir Team
Weather & Search Tools
MCP server with weather and search tool implementations

Prompt:

Create an MCP server with two tool implementations: (1) a weather tool that fetches current weather for a location and (2) a search tool that performs web searches. Support both OpenAI and Anthropic models. Include proper error handling, API key validation, and streaming response support.
Tools
API Integration
Intermediate
By Gungnir Team
Database-backed MCP
MCP server with PostgreSQL integration

Prompt:

Create an MCP server that connects to a PostgreSQL database. Include tools for querying data and a conversation history storage system that saves all interactions. Use Prisma as the ORM and support OpenAI models. Include proper schema definitions and migration setup.
Database
Prisma
Advanced
By Gungnir Team
Secure MCP with Auth
MCP server with JWT authentication and rate limiting

Prompt:

Create a secure MCP server with JWT authentication, rate limiting, and logging. Support multiple API keys with different permission levels. Include middleware for request validation and proper security headers. Support OpenAI and Anthropic models.
Security
Authentication
Advanced
By Gungnir Team
RAG-enabled Assistant
MCP server with vector storage for retrieval-augmented generation

Prompt:

Create an MCP server with vector storage integration using Pinecone. Implement document ingestion, chunking, and embedding generation. Add a retrieval tool that can fetch relevant information from the vector store for the LLM to use in responses. Support OpenAI models and include a simple document upload API.
RAG
Vector DB
Advanced
By Gungnir Team
Multi-Modal Server
MCP server with image generation and analysis

Prompt:

Create an MCP server that supports both text and image inputs/outputs. Include tools for image generation using DALL-E, image analysis, and text extraction from images. Support OpenAI's multi-modal models and implement proper file handling for image uploads and downloads.
Multi-Modal
Images
Advanced
By Gungnir Team

Submit Your Example

Have you created an interesting MCP server with Gungnir? Share it with the community!

Submit on GitHub