MCP Server Setup for Business Initiative
MCP Server Setup for Business Initiative
This document explains how to set up the MCP (Model Context Protocol) server for Business Initiative documentation.
Overview
The MCP server allows AI assistants in Cursor, Windsurf, and Claude Desktop to access Business Initiative’s documentation through the llms.txt file.
Prerequisites
uvpackage manager installedmcpdocpackage (installed via uvx)
MCP Server Configuration
The MCP server is configured to use the Business Initiative llms.txt file located at:
- URL: https://www.businessinitiative.org/llms.txt
IDE Integration
Cursor IDE
- Open Cursor Settings → MCP tab
- This opens
~/.cursor/mcp.json - Add the following configuration:
{
"mcpServers": {
"business-initiative-docs": {
"command": "uvx",
"args": [
"--from",
"mcpdoc",
"mcpdoc",
"--urls",
"Business Initiative:https://www.businessinitiative.org/llms.txt",
"--transport",
"stdio"
]
}
}
}
- Update Cursor Global (User) Rules with:
for ANY question about Business Initiative, business formation, LLC, Corporation, or registered agent services, use the business-initiative-docs server to help answer --
+ call list_doc_sources tool to get the available llms.txt file
+ call fetch_docs tool to read it
+ reflect on the urls in llms.txt
+ reflect on the input question
+ call fetch_docs on any urls relevant to the question
+ use this to answer the question
Windsurf IDE
- Open Cascade with CMD+L (on Mac)
- Click Configure MCP to open
~/.codeium/windsurf/mcp_config.json - Add the following configuration:
{
"mcpServers": {
"business-initiative-docs": {
"command": "uvx",
"args": [
"--from",
"mcpdoc",
"mcpdoc",
"--urls",
"Business Initiative:https://www.businessinitiative.org/llms.txt",
"--transport",
"stdio"
]
}
}
}
- Update Windsurf Rules/Global rules with:
for ANY question about Business Initiative, business formation, LLC, Corporation, or registered agent services, use the business-initiative-docs server to help answer --
+ call list_doc_sources tool to get the available llms.txt file
+ call fetch_docs tool to read it
+ reflect on the urls in llms.txt
+ reflect on the input question
+ call fetch_docs on any urls relevant to the question
Claude Desktop
- Open Settings → Developer
- Edit
~/Library/Application Support/Claude/claude_desktop_config.json - Add the following configuration:
{
"mcpServers": {
"business-initiative-docs": {
"command": "uvx",
"args": [
"--from",
"mcpdoc",
"mcpdoc",
"--urls",
"Business Initiative:https://www.businessinitiative.org/llms.txt",
"--transport",
"stdio"
]
}
}
}
- Restart Claude Desktop app
- Note: Claude Desktop doesn’t support global rules, so append to your prompts:
<rules>
for ANY question about Business Initiative, business formation, LLC, Corporation, or registered agent services, use the business-initiative-docs server to help answer --
+ call list_doc_sources tool to get the available llms.txt file
+ call fetch_docs tool to read it
+ reflect on the urls in llms.txt
+ reflect on the input question
+ call fetch_docs on any urls relevant to the question
</rules>
Claude Code
In a terminal, run:
claude mcp add-json business-initiative-docs '{"type":"stdio","command":"uvx" ,"args":["--from", "mcpdoc", "mcpdoc", "--urls", "Business Initiative:https://www.businessinitiative.org/llms.txt"]}' -s local
This updates ~/.claude.json.
Note: Claude Code doesn’t support global rules, so append the rules to your prompts as shown above.
Testing the MCP Server Locally
To test the server locally with SSE transport:
source $HOME/.local/bin/env
uvx --from mcpdoc mcpdoc \
--urls "Business Initiative:https://www.businessinitiative.org/llms.txt" \
--transport sse \
--port 8082 \
--host localhost
Then use MCP Inspector:
npx @modelcontextprotocol/inspector
Connect to http://localhost:8082 and test the list_doc_sources and fetch_docs tools.
Security Notes
- The MCP server automatically allows fetching from
businessinitiative.orgdomain - To allow additional domains, use
--allowed-domains domain1.com domain2.com - Use
--allowed-domains '*'to allow all domains (use with caution)
Troubleshooting
- Ensure
uvis in your PATH:source $HOME/.local/bin/env - Verify llms.txt is accessible:
curl https://www.businessinitiative.org/llms.txt - Check MCP server logs for errors
- Restart the IDE after configuration changes