The Guozaoke MCP Server is a specialized Model Context Protocol server designed to retrieve information from the Guozaoke forum. It enables AI assistants to access topics and content from the forum, making it easier to browse and interact with forum discussions.
You can quickly start the Guozaoke MCP server using npx. Make sure you have Node.js installed on your system.
Run the server directly with a cookie for authentication:
GUOZAOKE_COOKIE='...' npx -y guozaoke-mcp-server
Replace '...'
with your actual Guozaoke forum cookie.
Alternatively, you can configure the server in your AI assistant settings using this JSON configuration:
{
"mcpServers": {
"guozaoke-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"guozaoke-mcp-server"
],
"env": {
"GUOZAOKE_COOKIE": "..."
}
}
}
}
Remember to replace "..."
with your actual Guozaoke forum cookie.
The server provides three main tools for accessing the Guozaoke forum:
The server includes predefined prompt templates to help you access forum content:
To view the latest topics on the Guozaoke forum, use:
Please use the fetch-guozaoke-latest-topic-list tool to show me the latest forum topics.
To view today's hot topics:
Please use the fetch-guozaoke-today-hot-topic-list tool to show me the trending discussions.
To view details of a specific topic (replace 12345 with an actual topic ID):
Please use the fetch-guozaoke-topic-details tool to show me information about topic 12345.
Most features require authentication with a valid Guozaoke forum cookie. This cookie should be provided as an environment variable when starting the server. Without proper authentication, access to private or restricted content will be limited.
To add this MCP server to Claude Code, run this command in your terminal:
claude mcp add-json "guozaoke-mcp-server" '{"type":"stdio","command":"npx","args":["-y","guozaoke-mcp-server"],"env":{"GUOZAOKE_COOKIE":"..."}}'
See the official Claude Code MCP documentation for more details.
There are two ways to add an MCP server to Cursor. The most common way is to add the server globally in the ~/.cursor/mcp.json
file so that it is available in all of your projects.
If you only need the server in a single project, you can add it to the project instead by creating or adding it to the .cursor/mcp.json
file.
To add a global MCP server go to Cursor Settings > Tools & Integrations and click "New MCP Server".
When you click that button the ~/.cursor/mcp.json
file will be opened and you can add your server like this:
{
"mcpServers": {
"guozaoke-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"guozaoke-mcp-server"
],
"env": {
"GUOZAOKE_COOKIE": "..."
}
}
}
}
To add an MCP server to a project you can create a new .cursor/mcp.json
file or add it to the existing one. This will look exactly the same as the global MCP server example above.
Once the server is installed, you might need to head back to Settings > MCP and click the refresh button.
The Cursor agent will then be able to see the available tools the added MCP server has available and will call them when it needs to.
You can also explicitly ask the agent to use the tool by mentioning the tool name and describing what the function does.
To add this MCP server to Claude Desktop:
1. Find your configuration file:
~/Library/Application Support/Claude/claude_desktop_config.json
%APPDATA%\Claude\claude_desktop_config.json
~/.config/Claude/claude_desktop_config.json
2. Add this to your configuration file:
{
"mcpServers": {
"guozaoke-mcp-server": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"guozaoke-mcp-server"
],
"env": {
"GUOZAOKE_COOKIE": "..."
}
}
}
}
3. Restart Claude Desktop for the changes to take effect