Bootstrap Studio MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| bs_read_project | Read and analyze a .bsdesign file to get a complete project overview. This tool parses Bootstrap Studio design files (gzip-compressed JSON) and returns a comprehensive summary including theme, pages, assets, collections, and project settings. Args:
Returns: Project overview with name, version, theme, bootstrap version, page list, assets (CSS, JS, images, fonts), and collections. |
| bs_list_pages | List all pages in a .bsdesign file with their metadata and component counts. Args:
Returns: List of pages with name, export status, component count, and nested page structure. |
| bs_get_page_tree | Get the complete component tree for a specific page in a .bsdesign file. This tool shows the full nesting structure of Bootstrap Studio components on a page, including component types, labels, Bootstrap CSS classes, and text content. Args:
Returns: Component tree with type, label, text, Bootstrap classes, depth, and path for each component. |
| bs_find_components | Search for components in a .bsdesign file by type, label, or text content. Use this to locate specific elements across all pages in your Bootstrap Studio project. Supports partial matching. Args:
Returns: List of matching components with type, label, text, path, and page name. |
| bs_get_css | Extract all custom CSS/SASS files and their content from a .bsdesign file. Bootstrap Studio stores custom styles in the assets.css section. This tool retrieves them so you can review or modify them. Args:
Returns: CSS file names and their content blocks. |
| bs_get_jsA | Extract all custom JS files and their content from a .bsdesign file. Bootstrap Studio stores custom scripts in the assets.js section. This tool retrieves them. Args:
Returns: JS file names and their content blocks. |
| bs_get_text_contentA | Extract all visible text content from a page in a .bsdesign file. Useful for reviewing copy, checking placeholder text, or auditing content. Args:
Returns: All text content found on the page. |
| bs_generate_componentA | Generate ready-to-use Bootstrap 5 component HTML that can be pasted into Bootstrap Studio's Custom Code panel. Generates production-quality HTML for common Bootstrap components with proper attributes and structure. Available components: accordion, alert, badge, breadcrumb, card, carousel, contact-form, faq, features, footer, form, hero, modal, navbar, pricing, progress, spinner, stats, table, testimonial, timeline Args:
Returns: Formatted HTML string for the requested component. |
| bs_generate_layoutA | Generate a complete Bootstrap 5 page layout structure that can be pasted into Bootstrap Studio. Available layouts: dashboard, full-page Args:
Returns: Complete HTML layout with Bootstrap grid system and components. |
| bs_generate_custom_cssA | Generate custom CSS code based on a description of styling needs. Produces ready-to-paste CSS for Bootstrap Studio's CSS editor. Includes responsive breakpoints, CSS custom properties, and Bootstrap-compatible patterns. Args:
Returns: Custom CSS code with comments and responsive considerations. |
| bs_generate_custom_jsA | Generate custom JavaScript code for Bootstrap Studio's JS editor. Includes common patterns like smooth scroll, navbar effects, form validation, back-to-top buttons, and tooltip initialization. Args:
Returns: Custom JS code wrapped in DOMContentLoaded ready to paste. |
| bs_compare_versionsA | Check if a Bootstrap CSS class needs migration between Bootstrap 4 and Bootstrap 5. Handles common renames: mr- -> me-, ml- -> ms-, font-weight- -> fw-, text-left -> text-start, etc. Args:
Returns: Migration suggestion if the class changed between versions. |
| bs_lookup_classA | Look up documentation for a Bootstrap 5 CSS class. Returns description, usage, and related classes. Args:
Returns: Description of the class, its variants, and usage examples. |
| bs_search_component | Search Bootstrap 5 component documentation and examples. Returns the component reference with code examples. Args:
Returns: Component documentation with HTML example code. |
| bs_remove_component | Remove a component from a page in a .bsdesign file by its path. The path format uses type[index] segments, for example: /HTML[0]/Body[0]/Container[0]/Row[0]/Column[0] Use bs_find_components to discover component paths first. Args:
Returns: Confirmation of removal. |
| bs_add_component | Add a new component to a page in a .bsdesign file. Args:
Returns: Confirmation with the new component's path. |
| bs_update_component | Update properties of an existing component in a .bsdesign file. Can update properties, CSS classes, text content, or label. Provide only the fields you want to change. Args:
Returns: Confirmation of what was updated. |
| bs_set_css_code | Replace or append custom CSS code in a .bsdesign file. Args:
Returns: Confirmation of the CSS update. |
| bs_set_js_code | Replace or append custom JavaScript code in a .bsdesign file. Args:
Returns: Confirmation of the JS update. |
| bs_batch_update | Update multiple components in a single operation. More efficient than calling bs_update_component multiple times. Args:
Returns: Summary of all changes applied. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- 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/fengweimian/bootstrap-studio-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server