Sign inSign up

jsiu/my_mcp

By jsiu

•Updated 3 days ago

Docker MCP server for SearXNG and web fetch.

Image
Machine learning & AI
0

579

jsiu/my_mcp repository overview

⁠docker_my_mcp

MCP host support SearXNG and web fetch using go-my-mcp⁠

⁠Docker Compose

services:
  my-mcp:
    image: jsiu/my_mcp
    command: ["start"]
    environment:
      GO_MY_MCP_SEARXNGURL: ${SEARXNG_URL:?Set SEARXNG_URL to a reachable SearXNG URL}
      GO_MY_MCP_APIKEY: ${GO_MY_MCP_APIKEY:-}
    ports:
      - "9000:9000"
    restart: unless-stopped

Save this as compose.yaml in the same directory as the Dockerfile. Set the SearXNG URL and, optionally, an API key in a .env file:

SEARXNG_URL=http://searxng.example.com
GO_MY_MCP_APIKEY=replace-with-a-secret

Keep .env out of version control. The API key is optional; when set, clients must send it with every request. The port is bound to localhost; adjust the host address if clients on other machines need to connect.

Start the container and access the MCP endpoint at http://localhost:9000/mcp:

docker compose up -d

⁠VS Code MCP Server Setup

Pick HTTP endpoint. Or create $HOME/.copilot/mcp-config.json:

{
  "mcpServers": {
    "go-my-mcp": {
      "type": "http",
      "url": "http://localhost:9000/mcp"
    }
  }
}

With API key

{
  "servers": {
    "go-my-mcp": {
      "type": "http",
      "url": "http://localhost:9000/mcp",
      "headers": { "Authorization": "Bearer s3cr3t" }
    }
  }
}

⁠Repository

Github: https://github.com/J-Siu/docker_my_mcp⁠

Docker Hub: https://hub.docker.com/repository/docker/jsiu/my_mcp⁠

Tag summary

Content type

Image

Digest

sha256:4239aac5e…

Size

8.1 MB

Last updated

3 days ago

docker pull jsiu/my_mcp