preact-mcp
Provides tools for querying Preact documentation, retrieving READMEs from Preact repositories, and listing available Preact packages in the ecosystem.
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., "@preact-mcpsearch Preact docs for useContext"
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.
preact-mcp
MCP server for querying Preact documentation and ecosystem.
Installation
npm install -g preact-mcpRelated MCP server: scoutdocs-mcp
Usage with Claude
Add the server using Claude's MCP command:
claude mcp add preact-mcpUsage with Cursor
Add to your Cursor settings (Settings → Extensions → MCP):
{
"mcpServers": {
"preact": {
"command": "npx",
"args": ["preact-mcp"]
}
}
}Or add to your .cursorrules file:
MCP Server: preact-mcp
Command: npx preact-mcp
Description: Query Preact documentation and ecosystemAvailable Tools
query_preact_docs - Search Preact documentation
get_preact_readme - Get README from any Preact repository
list_preact_repositories - List all available Preact packages
Supported Repositories
preact - Core Preact library with React compatibility
preact-iso - Isomorphic router and SSR utilities
@preact/signals-core - Core reactive state management
@preact/signals - Preact-specific signals implementation
@preact/signals-react - React compatibility for signals
@preact/preset-vite - Vite preset for Preact
create-preact - Project scaffolding tool
playwright-ct - Component testing with Playwright
vitest-browser-preact - Browser testing with Vitest
htm - JSX alternative using template literals
Configuration Paths
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Development
pnpm install
pnpm build
pnpm startLicense
MIT License - see LICENSE file for details.
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.
Latest Blog Posts
- 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/JoviDeCroock/preact-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server