1. Conduid
  2. Developer Tools
  3. Gopher MCP Server
MCP server · Developer Tools

Gopher MCP Server

Gopher MCP Server

Unclaimed Custom license last commit 8 months ago devtools
56Fair

Scored 5 months ago · breakdown

About Gopher MCP Server

Gopher MCP Server is an MCP server published by gopher-lab in the Developer Tools category: gopher MCP Server.

The repository has 2 stars and 1 forks, with the last commit 8 months ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/gopher-lab/gopher-mcp-server

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Gopher MCP Server

Powered by Claude · Grounded in docs

I know everything about Gopher MCP Server. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 5 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Gopher MCP Server

A Model Context Protocol (MCP) server that provides access to the Gopher AI API. This server allows MCP clients to search data through the Gopher AI platform.

Features

  • Twitter Search: Search Twitter posts using natural language queries
  • MCP Integration: Fully compatible with Model Context Protocol clients
  • Configurable Results: Adjustable maximum number of search results
  • Error Handling: Comprehensive error handling and reporting
  • Async Processing: Handles asynchronous API responses with polling

Prerequisites

  • Go 1.24.7 or later
  • Gopher AI API key
  • MCP-compatible client (e.g., Claude Desktop, Cline, etc.)

Installation

From Source

  1. Clone the repository:
git clone https://github.com/gopher-lab/gopher-mcp-server.git
cd gopher-mcp-server
  1. Build the server:
go build -o gopher-mcp-server ./data

Using Docker

docker build -t gopher-mcp-server .

Configuration

Environment Variables

  • GOPHER_API: Required - Your Gopher AI API key
  • MAX_RESULTS: Optional - Maximum number of search results to return (default: 15)

Example Configuration

export GOPHER_API="your-gopher-api-key-here"
export MAX_RESULTS="20"

Usage

Running the Server

# Using the binary
./gopher-mcp-server

# Using Docker
docker run -e GOPHER_API="your-api-key" gopher-mcp-server

MCP Client Configuration

Add this server to your MCP client configuration:

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "gopher-twitter": {
      "command": "./gopher-mcp-server",
      "env": {
        "GOPHER_API": "your-gopher-api-key-here",
        "MAX_RESULTS": "15"
      }
    }
  }
}

Cline Configuration

{
  "mcpServers": {
    "gopher-twitter": {
      "command": "docker",
      "args": ["run", "--rm", "-e", "GOPHER_API=your-api-key", "gopher-mcp-server"],
      "env": {
        "GOPHER_API": "your-gopher-api-key-here"
      }
    }
  }
}

Available Tools

search_twitter

Searches Twitter posts using the Gopher AI API.

Parameters:

  • query (string): The search query to execute

Returns:

  • tweets (array): Array of Twitter posts matching the search query
  • error (string, optional): Error message if the search fails

Example Usage:

{
  "name": "search_twitter",
  "arguments": {
    "query": "artificial intelligence trends 2024"
  }
}

Response Example:

{
  "tweets": [
    {
      "ID": "tweet_123",
      "Content": "Exciting developments in AI this year...",
      "Metadata": {...},
      "Score": 0.95
    }
  ],
  "error": null
}

API Details

Twitter Post Structure

Each Twitter post in the response contains:

  • ID: Unique identifier for the post
  • Content: The text content of the tweet
  • Metadata: Additional metadata about the post
  • Score: Relevance score for the search query

Error Handling

The server handles various error scenarios:

  • API Errors: Invalid API keys, rate limiting, service unavailable
  • Network Errors: Connection timeouts, network failures
  • Processing Errors: Search timeout, invalid responses

Error messages are returned in the error field of the response.

Development

Building

# Build the server
make build

# Run tests
make test

# Build Docker image
make docker-build

Dependencies

  • github.com/modelcontextprotocol/go-sdk: MCP SDK for Go
  • github.com/tmc/langchaingo: Language chain utilities

Troubleshooting

Common Issues

  1. API Key Not Set

    • Ensure GOPHER_API environment variable is set
    • Verify the API key is valid and has proper permissions
  2. Search Timeout

    • The server polls for results up to 30 times (60 seconds total)
    • Check if the Gopher AI service is experiencing delays
  3. No Results Returned

    • Verify the search query is valid
    • Check if there are any posts matching your criteria
    • Ensure the API key has access to Twitter data
  4. MCP Client Connection Issues

    • Verify the server binary is executable
    • Check that the MCP client configuration is correct
    • Ensure the server is running and accessible

Debugging

Enable verbose logging by setting the log level:

export LOG_LEVEL=debug
./gopher-mcp-server

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

Support

For issues and questions:

  • Create an issue on GitHub
  • Check the Gopher AI documentation for API-related questions
  • Review MCP documentation for protocol-related issues

README fetched from the repository 5 days ago. The original is authoritative.

Questions

About Gopher MCP Server

How do I install Gopher MCP Server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Gopher MCP Server safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Gopher MCP Server still maintained?

The last commit was 8 months ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.