Swimlanes.io MCP Server
Allows GitHub Copilot to automatically analyze project codebases and generate comprehensive sequence diagram documentation using Swimlanes.io.
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., "@Swimlanes.io MCP Servergenerate a sequence diagram for user login flow"
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.
Swimlanes.io MCP Server
A Model Context Protocol (MCP) server that integrates with Swimlanes.io to generate sequence diagrams from textual descriptions. This server enables AI assistants like GitHub Copilot to automatically analyze project codebases and create comprehensive diagram documentation.
Features
Markdown Documentation Generation: Creates complete markdown files with embedded diagrams
Version Control Ready: Stores both source syntax and rendered images for git tracking
Multiple Output Formats: Supports both direct image generation and shareable links
Project Analysis: Designed for Copilot to analyze codebases and generate relevant diagrams
Organized Structure: Automatically organizes diagrams into logical folder structures
Related MCP server: UML MCP
Installation
npm install
npm run buildUsage
With Claude Desktop
Add to your Claude Desktop configuration:
{
"mcpServers": {
"swimlanes": {
"command": "node",
"args": ["path/to/dist/index.js"]
}
}
}With MCP Inspector (for testing)
npx @modelcontextprotocol/inspector node dist/index.jsTools
1. create_swimlane_documentation
Generates complete markdown documentation with embedded diagrams.
Parameters:
text(string, required): Swimlanes syntax contenttitle(string, required): Diagram titledescription(string, optional): Description of the diagramoutputPath(string, optional): Where to save the markdown fileincludeImage(boolean, optional): Whether to embed rendered image (default: true)folderStructure(string, optional): Folder organization (e.g., "auth", "api")
2. generate_swimlane_image
Generates and saves a PNG image of a swimlane diagram.
Parameters:
text(string, required): Swimlanes syntax contenttitle(string, optional): Optional titlehighResolution(boolean, optional): For printing quality (default: false)outputPath(string, optional): Where to save the image
3. get_swimlane_image_link
Generates a direct link to a PNG image without downloading.
Parameters:
text(string, required): Swimlanes syntax contenttitle(string, optional): Optional titlehighResolution(boolean, optional): For printing quality (default: false)
Swimlanes.io Syntax
The server supports the full Swimlanes.io syntax:
title: Example Diagram
A -> B: Message
B -> A: Response
note over A: Internal processFor complete syntax reference, see: https://swimlanes.io/gallery/full-syntax
Example Usage with Copilot
Ask Copilot: "Using the SL_MCP Server, build me swim lane diagrams for this project"
Copilot will analyze your codebase and generate appropriate diagrams for:
Authentication flows
API request lifecycles
Service communications
User journeys
Data processing pipelines
Development
# Install dependencies
npm install
# Build the project
npm run build
# Watch mode for development
npm run dev
# Run tests
npm run test
# Lint code
npm run lintProject Structure
src/
├── index.ts # Main MCP server entry point
├── types.ts # TypeScript type definitions
└── tools/
├── index.ts # Tool exports
└── swimlane-tools.ts # Core tool implementationsGenerated Documentation Structure
The server creates well-organized documentation:
docs/diagrams/
├── auth/
│ ├── login-flow.md
│ └── images/
│ └── login-flow.png
├── api/
│ ├── request-lifecycle.md
│ └── images/
│ └── request-lifecycle.png
└── architecture/
├── service-communication.md
└── images/
└── service-communication.pngLicense
MIT
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.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables AI assistants to generate and render Mermaid diagrams (flowcharts, sequence diagrams, etc.) as PNG/SVG images with local file saving and HTTP access URLs. Supports batch processing and intelligent caching for efficient diagram creation.Last updated11251MIT
- Flicense-qualityDmaintenanceEnables AI assistants to generate UML diagrams through natural language by rendering PlantUML code into PNG or SVG images. Supports sequence diagrams, class diagrams, use case diagrams, and other UML chart types with Base64-encoded output.Last updated7
- Alicense-qualityDmaintenanceEnables AI assistants to generate UML diagrams from text descriptions using PlantUML, supporting multiple output formats (PNG, SVG, PDF), syntax validation, and diagram source extraction.Last updated8MIT
- Flicense-qualityDmaintenanceGenerates sequence diagram images from Mermaid syntax or natural language descriptions, supporting multiple output formats (SVG, PNG) with customizable themes and dimensions.Last updated
Related MCP Connectors
Generate dynamic Mermaid diagrams and charts with AI assistance. Customize styles and export diagr…
Generate cloud architecture diagrams, flowcharts, and sequence diagrams.
Let Claude, Cursor, or ChatGPT author Mermaid diagrams your team can read and share.
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/joelong01/sl_mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server