This guide will help you quickly set up and run your first guMCP server.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/dvlpjrs/guMCP/llms.txt
Use this file to discover all available pages before exploring further.
Make sure you’ve completed the Installation steps before proceeding.
Understanding guMCP Architecture
guMCP supports two transport methods:- SSE (Server-Sent Events) - Remote servers accessible via HTTP
- Stdio - Local servers that communicate via standard input/output
Running Your First Server
Start the SSE development server
From the project root directory, run:This script will:
- Load environment variables from your
.envfile - Set default host (
0.0.0.0) and port (8000) if not configured - Kill any existing process on the port
- Start the guMCP server
Test the server with the MCP client
Open a new terminal window (keep the server running in the first), activate your virtual environment, and run:This launches an interactive MCP client connected to the
simple-tools-server.Make sure you have set your
ANTHROPIC_API_KEY in your .env file for the test client to work.Running Different Servers
Available Servers
guMCP includes multiple server implementations:simple-tools-server- Basic tools for testinggsheets- Google Sheets integrationgmail- Gmail integrationgdocs- Google Docs integrationgdrive- Google Drive integrationgcalendar- Google Calendar integrationslack- Slack integrationoutlook- Outlook integrationairtable- Airtable integrationlinear- Linear integrationattio- Attio CRM integrationperplexity- Perplexity AI integrationhubspot- HubSpot integrationquickbooks- QuickBooks integrationtypeform- Typeform integration
SSE Server Access
When running the SSE server, all servers are accessible at:http://localhost:8000/simple-tools-server/localhttp://localhost:8000/perplexity/localhttp://localhost:8000/slack/local
Running Stdio Servers
To run a specific server locally using stdio:Configuring Authentication
Many servers require authentication before they can be used. Let’s configure the Perplexity server as an example:Get your API key
Sign up for a Perplexity API key at perplexity.ai
For OAuth-based servers (Google, Slack, etc.), see the individual server documentation in
src/servers/{server-name}/README.md for authentication setup instructions.Connecting to Claude Desktop
To use guMCP servers with Claude Desktop:Common Use Cases
Running multiple servers simultaneously
Running multiple servers simultaneously
The SSE server runs all servers at once. Simply start it and access different servers via their respective endpoints:Then connect to any server:
http://localhost:8000/simple-tools-server/localhttp://localhost:8000/perplexity/localhttp://localhost:8000/gsheets/local
Running on a custom port
Running on a custom port
Set the Or add it to your
GUMCP_PORT environment variable:.env file:Accessing from remote machines
Accessing from remote machines
By default, the server listens on
0.0.0.0, making it accessible from other machines on your network. To restrict to localhost only:Running in production
Running in production
For production deployments, consider:
- Setting
ENVIRONMENT=productionin your.env - Using a process manager like systemd or PM2
- Running behind a reverse proxy (nginx, Caddy)
- Enabling HTTPS with proper SSL certificates
- Implementing rate limiting and authentication
Troubleshooting
Server won't start
Server won't start
Check if:
- Your virtual environment is activated
- All dependencies are installed:
pip install -r requirements.txt - The port isn’t already in use by another application
- Your
.envfile exists and is properly formatted
Authentication errors
Authentication errors
For authentication issues:
- Verify your API keys are correctly set in
.env - Run the server-specific auth command (e.g.,
python src/servers/perplexity/main.py auth) - Check that OAuth credentials are stored in
local_auth/credentials/ - Ensure OAuth configuration files exist in
local_auth/oauth_configs/
Test client connection failures
Test client connection failures
If the test client can’t connect:
- Ensure the SSE server is running
- Verify the endpoint URL is correct
- Check that
ANTHROPIC_API_KEYis set in your.env - Try accessing the endpoint in a browser to see if it responds
Import errors
Import errors
If you see module import errors:
- Make sure you’re running commands from the project root
- Verify your virtual environment is activated
- Try reinstalling dependencies:
pip install -r requirements.txt --force-reinstall
Next Steps
Configuration
Learn about all configuration options and environment variables
Contributing
Contribute to guMCP by adding new servers or features