react-docs
MCP server providing AI coding assistants with documentation and source code for @gaddario98 React packages, including tools for listing packages, retrieving docs and types, and searching source.
README
@gaddario98/mcp-react-docs
MCP (Model Context Protocol) server che fornisce ad AI coding assistants la documentazione e il codice sorgente dei package React @gaddario98.
Packages serviti
| Package | Descrizione |
|---|---|
@gaddario98/react-core |
Framework React modulare: state, forms, queries, pages, auth |
@gaddario98/react-form |
Form builder dinamico su TanStack Form + Jotai |
@gaddario98/react-queries |
Data fetching su TanStack Query + Jotai |
@gaddario98/react-pages |
Page orchestrator: forms + queries + SEO + lazy loading |
Tools disponibili
| Tool | Descrizione |
|---|---|
list_packages |
Elenca tutti i package con versione e descrizione |
get_package_docs |
Ritorna il README.md completo di un package |
get_package_types |
Ritorna le definizioni TypeScript (types.ts) |
get_package_source |
Legge qualsiasi file sorgente di un package |
search_source |
Cerca un pattern (regex) nei file sorgente |
Configurazione per AI Tools
Gemini Code Assist
Aggiungi al file .gemini/settings.json del tuo workspace:
{
"mcpServers": {
"react-docs": {
"command": "npx",
"args": ["-y", "github:gaddario98/mcp-react-docs"],
"env": {
"GITHUB_TOKEN": "ghp_il_tuo_token_qui"
}
}
}
}
Claude Code / Claude Desktop
Aggiungi a ~/.claude/claude_desktop_config.json:
{
"mcpServers": {
"react-docs": {
"command": "npx",
"args": ["-y", "github:gaddario98/mcp-react-docs"],
"env": {
"GITHUB_TOKEN": "ghp_il_tuo_token_qui"
}
}
}
}
Cursor
In Cursor Settings → MCP Servers → Add:
- Name:
react-docs - Command:
npx -y github:gaddario98/mcp-react-docs
VS Code + Copilot (settings.json)
{
"mcp": {
"servers": {
"react-docs": {
"command": "npx",
"args": ["-y", "github:gaddario98/mcp-react-docs"],
"env": {
"GITHUB_TOKEN": "ghp_il_tuo_token_qui"
}
}
}
}
}
🔑 Come ottenere il GITHUB_TOKEN
Dato che l'MCP invia richieste direttamente a GitHub, senza un token incapperai nel limite di 60 richieste all'ora, limitando pesantemente o bloccando strumenti come search_source.
Per generare un Token:
- Accedi a GitHub e vai in Settings > Developer Settings > Personal access tokens > Tokens (classic) (o usa i Fine-grained tokens se preferisci).
- Clicca su Generate new token (classic).
- Assegna un nome (es.
local_mcp_server). - Nessuno scope particolare è obbligatorio se i repo (
gaddario98/react-core, ecc.) sono pubblici. Se in futuro i repo diverranno privati, spunta l'accessorepo. - Clicca generate e copia il token (inizierà con
ghp_...). - Aggiungilo all'interno dell'oggetto
"env"in tutte le configurazioni del tuo Editor come mostrato negli esempi sopra. In Cursor puoi configurarlo dal setup dell'MCP Server nelle Settings UI.
Test con MCP Inspector
npx @modelcontextprotocol/inspector npx -y github:gaddario98/mcp-react-docs
Sviluppo
# Avvia il server in modalità watch
yarn dev
# Avvia normalmente
yarn start
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.