Particle-Network/particle-docs-mcp-server
3.2
If you are the rightful owner of particle-docs-mcp-server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Particle MCP Server provides access to Particle Network Universal Accounts documentation through the Model Context Protocol.
Tools
3
Resources
0
Prompts
0
Particle MCP Server
An MCP (Model Context Protocol) server that provides access to selected Particle Network Universal Accounts docs.
Features
- Resource Access: Exposes 9 key Particle Universal Accounts docs as MCP resources.
- Content Caching: Intelligent caching with a configurable TTL (24 hours by default).
- Content Parsing: Structured parsing of documentation, including sections, code blocks, and links.
- Search Functionality: Search across all documentation content.
- Built-in Tools: Includes tools for searching, refreshing, and listing pages.
Installation
-
Clone the repository:
git clone https://github.com/soos3d/particle-mcp-server.git cd particle-mcp-server
-
Create and activate a virtual environment:
python3 -m venv .venv source .venv/bin/activate
-
Install dependencies:
pip install -r requirements.txt
Running the Server
You can run the server directly from the command line:
python3 main.py
The server will start and listen for MCP protocol messages via stdio
.
IDE Setup
Windsurf Setup
To use this server as a tool source in Windsurf:
- Go to
Windsurf
>Settings
>Windsurf Settings
>Cascade
>Manage MCPs
. - Click
View Raw Config
, this will open a JSON file,mcp_config.json
. - Add the following configuration:
{ "mcpServers": { "particle-docs": { "command": "/YOUR-PATH-TO/particle-mcp-server/.venv/bin/python3", "args": ["/YOUR-PATH-TO/particle-mcp-server/main.py"], "env": {} } } }
- Save the configuration. Click
Refresh
in the MCPs settings. - The server should now be available as a tool in Windsurf.
Available Tools
The following tools are exposed by the server:
search_docs
: Search across all documentation.refresh_resource
: Force a refresh of the cached content for a specific page.list_pages
: List all available documentation pages.
Project Structure
particle-mcp-server/
āāā src/ # Source code
ā āāā server.py # Main MCP server implementation
ā āāā config.py # Configuration and page definitions
ā āāā docs_fetcher.py # Fetches and caches documentation
ā āāā docs_parser.py # Parses and structures content
ā āāā resources.py # MCP resource handlers
āāā data/cache/ # Cached documentation content
āāā requirements.txt # Python dependencies
āāā main.py # Entry point