Paid Prompt
Prompt Spotlight
CLAUDE-CODE // Advanced
MCP Server Architecture
Design a Model Context Protocol server for custom AI integrations.
Advanced
Difficulty
Skill level required
12/20/2024
Published
Creation date
CLAUDE-CODE
AI Tool
Recommended platform
Design an MCP (Model Context Protocol) server for: [YOUR USE CASE]
**Integration Goals:**
- Data source: [database/API/file system/etc.]
- Key operations: [what should the AI be able to do]
- Security requirements: [authentication, permissions]
Provide a complete design:
1. **Resources** (read-only data exposure)
- List resources to expose (URI patterns)
- Schema for each resource type
- Pagination/filtering strategies
2. **Tools** (actions the AI can take)
- Tool definitions with input schemas
- Validation requirements
- Side effect descriptions
3. **Prompts** (predefined interaction patterns)
- Common workflows as prompt templates
- Context injection patterns
- Dynamic prompt generation
4. **Server Configuration**
- Transport (stdio/HTTP/WebSocket)
- Authentication approach
- Rate limiting strategy
5. **Error Handling**
- Error response schemas
- Retry guidance for clients
- Graceful degradation
6. **TypeScript Implementation Skeleton**
- Main server structure
- Handler patterns
- Type definitions
Output as a complete architectural design I can implement.Use Case
Developers building custom MCP servers for AI integrations.
Tags
mcpprotocolintegrationserver
Related Prompts
Continue Your Exploration
Other prompts in the Agent Development category you might find useful.