hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Integrations
Offers JavaScript-specific prompts from promptz.dev, including content related to JavaScript development that can be accessed and used directly without copy-pasting.
Integrates with npm through the npx command for easy installation and usage of the MCP server without requiring local installation.
Provides access to React-focused prompts from promptz.dev, such as 'React Component Generator' for creating React components and 'React Component Documentation' for improving documentation.
promptz.dev MCP Server
Access prompts from promptz.dev directly from your AI assistants.
This MCP server allows to access prompts from the promptz.dev API without copy-pasting, reducing context switching and friction in your development workflow.
Features
The promptz.dev MCP Server provides two main capabilities:
- Tools - Executable functions that allow AI assistants to interact with the promptz.dev API
- Prompts - Direct access to prompts as MCP prompt templates
Tools and Prompts API
Tools
The server exposes the following tools through the MCP protocol:
list_prompts
Lists available prompts from the promptz.dev platform.
Input Schema:
Example Usage:
Response Format:
get_prompt
Retrieves a specific prompt by name.
Input Schema:
Example Usage:
Response Format:
Prompts API
The server also implements the MCP Prompts capability, which allows AI assistants to directly access prompts as templates:
- List Prompts: Returns available prompts in MCP prompt template format
- Get Prompt: Returns a specific prompt as an MCP prompt template that can be directly used by the AI assistant
Installation
Step 1: Get API Credentials
- Navigate to https://promptz.dev/mcp
- Copy the MCP settings like API Key, API URL or the sample MCP configuration snippet.
Step 2: Install the MCP Server
Option 1: Using npx (Recommended)
The easiest way to use the server is with npx, which doesn't require installation:
- Add the following configuration to your MCP client's settings file:
Option 2: Local Installation
- Clone the repository:
- Install dependencies and build:
- Add the following configuration to your MCP client's settings file:
Step 3: Configure Your MCP Client
Claude Desktop
Add the server configuration to the Claude Desktop config file:
- MacOS:
~/Library/Application Support/Claude/claude_desktop_config.json
- Windows:
%APPDATA%/Claude/claude_desktop_config.json
If the file doesn't exist, create it with the following content:
Other MCP Clients
For other MCP clients, refer to their documentation for how to configure MCP servers.
Troubleshooting
If you encounter issues with the server:
- Check that your API credentials are correct
- Ensure the server is properly configured in your MCP client
- Look for error messages in the logs
- Use the MCP Inspector for debugging:
The Inspector will provide a URL to access debugging tools in your browser.
Development
For those who want to contribute or modify the server:
Example Usage
Once the server is connected to your MCP client, you can use it with natural language:
- "List available prompts from promptz.dev"
- "Search for CLI prompts about JavaScript"
- "Show me the prompt called 'React Component Documentation'"
- "Use the React Component Documentation prompt to improve my documentation"
Security Considerations
- This server only provides read access to prompts and does not implement any write operations
- API credentials are stored in your MCP client's configuration file
- All communication with the promptz.dev API is done via HTTPS
- The server logs to a file in your home directory (~/.promptz/logs/mcp-server.log)
This server cannot be installed
Allows AI assistants to access prompts from promptz.dev API without copy-pasting, reducing context switching in your development workflow.