Skip to main content
Glama

Design Patterns MCP Server

by apolosan

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLogging configuration - the log levelinfo
MAX_RESULTSNoSearch configuration - the maximum number of search results to return10
DATABASE_PATHNoDatabase configuration - path to the SQLite database file./data/design-patterns.db
EMBEDDING_MODELNoEmbedding configuration - the embedding model to usesentence-transformers/all-MiniLM-L6-v2
EMBEDDING_DIMENSIONNoEmbedding configuration - the dimension of the embeddings384
SIMILARITY_THRESHOLDNoSearch configuration - the similarity threshold for search results0.7

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription
Design PatternsComplete catalog of design patterns
Pattern CategoriesAll available pattern categories
Server InformationServer status and configuration

Tools

Functions exposed to the LLM to take actions

NameDescription
find_patterns

Find design patterns matching a problem description using semantic search

search_patterns

Search patterns by keyword or semantic similarity

get_pattern_details

Get detailed information about a specific pattern

count_patterns

Get the total number of design patterns in the database

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/apolosan/design_patterns_mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server