Figma-BDD-MCP-Server
A microservice that automatically generates Behavior-Driven Development (BDD) test plans from Figma designs.
BDD Test Generator MCP
A microservice that automatically generates Behavior-Driven Development (BDD) test plans from Figma designs.
https://github.com/user-attachments/assets/cf0c935a-ffed-4f86-b3a8-9002ac57f34b
Overview
This project provides a microservice that extracts UI elements, interactions, and flow information from Figma design files and automatically generates BDD test plans in Gherkin syntax. This enables development and testing teams to quickly create design-based test cases, ensuring that application behavior aligns with design intent.
Features
- Extract design data directly from Figma URLs
- Analyze UI layouts and visual elements
- Identify user interaction patterns
- Analyze and generate test scenarios for business logic flows
- Output BDD test plans in standard Gherkin syntax
Technical Architecture
- FastMCP: Base framework for the microservice
- Figma API: For retrieving design file data
- HTTP Client (httpx): For handling API requests
- Environment Variable Management: Using dotenv for configuration
- Logging System: Using Python's standard logging module
Installation and Configuration
Prerequisites
- Environment: Python 3.8+
- Get Figma API access token: https://help.figma.com/hc/en-us/articles/8085703771159-Manage-personal-access-tokens
- Set
FIGMA_API_TOKEN
in .env
IDE Integration
Claude Desktop Setup
Update below config into claude_desktop_config.json
"mcpServers": {
"bdd-generator-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/pinyunwu/projects/mcp-client",
"run",
"server.py"
]
}
}
Contributing
Contributions are welcome! Please follow these steps:
- Fork the repository
- Create a feature branch (git checkout -b feature/your-feature)
- Commit your changes (git commit -m 'Add some feature')
- Push to the branch (git push origin feature/your-feature)
- Create a Pull Request
Related MCP Servers
View all developer_tools servers →context7
by upstash
Context7 MCP provides up-to-date, version-specific documentation and code examples directly into your prompt, enhancing the capabilities of LLMs by ensuring they use the latest information.
git-mcp
by idosal
GitMCP is a free, open-source, remote Model Context Protocol (MCP) server that transforms GitHub projects into documentation hubs, enabling AI tools to access up-to-date documentation and code.
exa-mcp-server
by exa-labs
A Model Context Protocol (MCP) server allows AI assistants to use the Exa AI Search API for real-time web searches in a secure manner.
Sequential Thinking
by modelcontextprotocol
An MCP server implementation that provides a tool for dynamic and reflective problem-solving through a structured thinking process.
Everything MCP Server
by modelcontextprotocol
The Everything MCP Server is a comprehensive test server designed to demonstrate the full capabilities of the Model Context Protocol (MCP). It is not intended for production use but serves as a valuable tool for developers building MCP clients.
gateway
by centralmind
CentralMind Gateway is a tool designed to expose databases to AI agents via MCP or OpenAPI protocols, providing secure, LLM-optimized APIs.
mcpdoc
by langchain-ai
MCP LLMS-TXT Documentation Server provides a structured way to manage and retrieve LLM documentation using the Model Context Protocol.