How to connect MCP tools from Hive Market to your AI client.
When you connect an MCP tool, your AI client starts a local process (usually via npx) that runs the MCP server. The client communicates with this server over stdio using the JSON-RPC protocol. No data leaves your machine unless the tool explicitly makes network requests.
Each AI client stores its MCP configuration in a JSON file. You add server entries to the mcpServers object, and the client manages starting and stopping them automatically.
Prerequisites
You need Node.js 18+ and npm installed. Most MCP servers are distributed as npm packages and run via npx.
Claude Desktop reads MCP server configuration from a JSON file on your machine. The file location depends on your operating system:
~/Library/Application Support/Claude/claude_desktop_config.json%APPDATA%\Claude\claude_desktop_config.json{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/you/Documents"
]
}
}
}Multiple servers
You can add as many servers as you need. Each key in mcpServers is a unique name you choose for that server.
{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/Users/you/Documents"]
},
"github": {
"command": "npx",
"args": ["-y", "@modelcontextprotocol/server-github"],
"env": {
"GITHUB_TOKEN": "ghp_your_token_here"
}
}
}
}Cursor supports MCP tools through a per-project configuration file in your project root.
.cursor/mcp.json(in your project root).cursor directory in your project root if it doesn't exist.mcp.json inside it with your server configuration:{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/you/project"
]
}
}
}Project-scoped tools
Cursor's MCP config is per-project. This means different projects can have different tools configured. Add .cursor/mcp.json to your .gitignore if it contains secrets.
Windsurf (by Codeium) uses a global MCP configuration file.
~/.codeium/windsurf/mcp_config.json%USERPROFILE%\.codeium\windsurf\mcp_config.json{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/you/project"
]
}
}
}OpenClaw is an AI agent orchestration platform with 40+ communication channels and its own skills/plugins system. It uses a global MCP configuration file.
~/.openclaw/openclaw.json~/.openclaw directory if it doesn't exist.openclaw.json and add your MCP server configuration:{
"mcpServers": {
"filesystem": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-filesystem",
"/Users/you/Documents"
]
}
}
}Any MCP-compatible client can connect to tools from Hive Market. The core configuration is the same JSON structure — you just need to know where your client reads it from.
The minimal configuration for any MCP server looks like this:
{
"mcpServers": {
"server-name": {
"command": "npx",
"args": ["-y", "@scope/package-name"],
"env": {}
}
}
}npx, node, or uvx for Python servers)-y auto-confirms npx prompts)npx is on your PATH.Still stuck?
Check the FAQ or reach out on our community channels. Most connection issues come down to JSON syntax or file paths.