Skip to main content
Glama

Stimulus Docs MCP Server

by pinzonjulian

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
handbook-origin

Learn why Stimulus was created by DHH - covers the philosophy of modest JavaScript frameworks, server-rendered HTML, and how Stimulus differs from mainstream JavaScript frameworks like React

handbook-introduction

Introduction to Stimulus core concepts: controllers, actions, targets, and values. Explains how Stimulus enhances server-rendered HTML and separates content from behavior

handbook-hello

Step-by-step tutorial for building your first Stimulus controller - covers creating a greeting controller with targets, actions, and DOM event handling

handbook-building

Build a real-world clipboard controller example - demonstrates practical Stimulus patterns, CSS classes, and connecting JavaScript to HTML elements

handbook-resilience

Best practices for building robust Stimulus applications - covers progressive enhancement, graceful degradation, and handling edge cases

handbook-state

Learn how Stimulus manages state through values and data attributes - covers reactive programming patterns and keeping state in sync with the DOM

handbook-external

Techniques for integrating external APIs and resources - covers AJAX requests, working with third-party libraries, and asynchronous operations

handbook-installing

Complete guide to installing Stimulus in your application - covers Webpack, import maps, Rails integration, and manual setup options

reference-actions

Complete reference for Stimulus actions - covers action descriptors, event handling, keyboard filters, global events, action parameters, and event options like :prevent and

reference-controllers

Controller API reference - covers controller lifecycle, scopes, nested controllers, cross-controller communication with events, and registration patterns

reference-css-classes

CSS classes API reference - learn how to dynamically manage CSS classes in Stimulus controllers for styling and visual state management

reference-lifecycle

Controller lifecycle callbacks reference - covers connect(), disconnect(), and target connection/disconnection callbacks for managing controller state

reference-outlets

Outlets API reference - learn how to connect controllers to each other for component communication and coordination between different parts of your application

reference-targets

Targets API reference - covers target definitions, properties (singular/plural/existential), shared targets, optional targets, and target lifecycle callbacks

reference-typescript

TypeScript integration guide - covers type definitions, strongly typed targets/values/outlets, and best practices for using Stimulus with TypeScript

reference-values

Values API reference - covers value definitions, type coercion, change callbacks, and using values for reactive data binding between HTML and JavaScript

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/pinzonjulian/stimulus-docs-mcp-server'

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