Skip to main content

I want my MCP

· 3 min read
sporritt

Integrating an MCP server directly into your development workflow provides a powerful bridge between your IDE and the library documentation you rely on, eliminating the friction of context-switching between your editor and a browser and leading to more accurate, idiomatic implementations and a significantly smoother coding experience.

We are pleased to announce that VisuallyJs now offers an MCP for each of our library integrations. It's so useful that we're actually using it ourselves, both when developing new features and when working on our ever-increasing set of demonstrations and starter apps.

Setup​

We provide an MCP server for each of our library integrations, as well as a server that covers every integration.

PackageLibraryCommand
@visuallyjs/browser-ui-angular-mcpAngularnpx @visuallyjs/browser-ui-angular-mcp
@visuallyjs/browser-ui-react-mcpReactnpx @visuallyjs/browser-ui-react-mcp
@visuallyjs/browser-ui-svelte-mcpSveltenpx @visuallyjs/browser-ui-svelte-mcp
@visuallyjs/browser-ui-vue-mcpVuenpx @visuallyjs/browser-ui-vue-mcp
@visuallyjs/browser-ui-vanilla-mcpVanilla JSnpx @visuallyjs/browser-ui-vanilla-mcp
@visuallyjs/browser-ui-mcpAll (Angular, React, Svelte, Vue, Vanilla)npx @visuallyjs/browser-ui-mcp

These are published in the public NPM repository, and, for licensees, our private NPM repository.

If you've done this sort of thing before, the commands listed above will be enough to get you going. To read more about setting up MCP with your library, follow one of these links:

Available tools​

Each library-specific package provides tools with unique suffixes, allowing them to coexist in a flat namespace if multiple servers are connected simultaneously. Tools are named following the pattern search_vjs_LIB> for general documentation and search_vjs_LIB_api for API-specific documentation.

For instance, for React, the tools are:

  • search_vjs_react: Search VisuallyJs React documentation.
  • search_vjs_react_api: Search VisuallyJs React API documentation

The other library suffixes are vue, svelte, vanilla and, for Angular, ng.

Examples​

You can use the MCP to search all of the publically available docs and apidocs. At VisuallyJs we use IntelliJ's Junie or AI Chat - here's a selection of questions and responses showing the MCP in action.

Zoom-specific content​

We asked our React MCP how to hide/show content based on zoom, and received this summary:

Hide/show content MCP

followed by this code snippet:

Hide/show content MCP

We can ask the same question in Angular:

Hide/show content MCP

Hide/show content MCP

List available anchors​

Each of the library integrations has a dependency on @visuallyjs/browser-ui, which contains the core UI concepts. You can search through these - for instance, here, we're asking the React MCP about what anchor types are available:

MCP listing available anchors

Setup an Angular miniview​

Angular miniview MCP

Angular miniview MCP

Feedback​

We'd be very interested to hear any feedback you may have regarding our MCP servers - head over to our contact page to find out how to get in touch.



Try VisuallyJs​

VisuallyJs offers an extensive list of starter apps, diagrams, charts and dashboards to quick start your development, in React, Angular, Vue, Svelte and Typescript/Javascript.

VisuallyJs - industry standard diagramming and rich visual UI Javascript and Typescript library
Call Flow
Use VisuallyJs to build a visual Call Flow editor
VisuallyJs - flowcharts, AI Agent builders, chatbots, bar charts, decision trees, mindmaps, org charts and more
AI Agent Builder
Use VisuallyJs to create an advanced AI agent builder
VisuallyJs - industry standard diagramming and rich visual UI Javascript and Typescript library
Chatbot
Use VisuallyJs to build a Chatbot editor, with actions, messages, input and choices
VisuallyJs - leading alternative to GoJS, JointJS, ReactFlow and SvelteFlow
Flowchart
Fully featured flowchart builder including support for custom shapes, edge routing to avoid vertices, shape resize/rotate, SVG/PNG/JPG export and more
VisuallyJs - effortlessly build professional node based UIs with Javascript, Typescript, React, Svelte, Angular and Vue
BPMN
BPMN editor for modelling the steps of a business process. Pools, lanes, and a full set of task, event and gateway types
VisuallyJs - industry standard diagramming and rich visual UI Javascript and Typescript library
ERD
ERD editor for modelling the steps of a business process
VisuallyJs - JavaScript and Typescript diagramming library that fuels exceptional UIs
Gantt
Interactive Gantt chart featuring tasks, task groups and milestones
When you've reached the limits with ngDiagram, VisuallyJs has what you need
Kanban
Fully featured Kanban board. Drag items between columns and use the inspector to update items and columns
VisuallyJs - industry standard diagramming and rich visual UI Javascript and Typescript library
Database Schema
Database Schema builder with support for tables, views, multiple columns types, and column relationships
When you've reached the limits with ReactFlow, VisuallyJs has what you need
Org Chart
Uses the classic org chart layout and provides an inspector from which the user can navigate around
VisuallyJs - callflow builders, sankey charts, database schemas, ERD diagrams and more
Circuit Diagram
Fully featured starter app containing a circuit diagram builder
VisuallyJs - industry standard diagramming and rich visual UI Javascript and Typescript library
Scada/HMI
Professional and modern Scada/HMI application with fluid, heating/cooling & instrumentation shapes, adhering to the HMI ISA-101 Design Standard
VisuallyJs - industry standard diagramming and rich visual UI Javascript and Typescript library
Mindmap
The mindmap builder highlights several advanced features, such as custom layouts, parsers and exporters
VisuallyJs - build diagrams and rich visual UIs fast
Neighbourhood Views
Demonstrates how to include multiple views of a dataset on one page
VisuallyJs - fully featured alternative to ReactFlow and ngDiagram
Logic Gates
Fully featured starter app containing a logic gates diagram builder
When you've reached the limits with SvelteFlow, VisuallyJs has what you need
Template
Basic starter app demonstrating how to setup VisuallyJs and its main features
VisuallyJs - fully featured alternative to ReactFlow and ngDiagram
Area & Line charts
Use VisuallyJs to create area and line charts
When you've reached the limits with ngDiagram, VisuallyJs has what you need
Bar & Column charts
Multiple series, stacked, grouped, pivoted, and much more
VisuallyJs - build diagrams and rich visual UIs fast
Scatter & Bubble charts
Circle, rectangle, triangle or custom markers, multiple series, fully customizable
VisuallyJs - build diagrams and rich visual UIs fast
Sankey chart
Use VisuallyJs to create a professional Sankey chart, with support for pivoting
VisuallyJs - leading alternative to GoJS, JointJS, ReactFlow and SvelteFlow
Supply Chain Analyzer
Dashboard for managing and analyzing supply chains
VisuallyJs - JavaScript and Typescript diagramming library that fuels exceptional UIs
Network Infrastructure
Combine a network management diagram with charts showing projected cost and resource usage
VisuallyJs - fully featured alternative to ReactFlow and ngDiagram
Scrolling Lists
Use the ListManager plugin to manage scrolling lists: as elements are scrolled out of the view, their edges are moved to the list container
VisuallyJs - build diagrams and rich visual UIs fast
FIFA World Cup
A visualizer for the FIFA World cup - group stages, team journeys and a tournament view.
When you've reached the limits with ngDiagram, VisuallyJs has what you need
Fault Tree Analysis
Combines a fault tree analysis diagram with charts showing risk and list of cut sets