Skip to content

Add HTTP+SSE server command #47

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add HTTP+SSE server command #47

wants to merge 1 commit into from

Conversation

iancanderson
Copy link

I'm not sure we want to merge this, but this allowed me to try dotcom chat as an MCP host in a dev environment, using mark3labs/mcp-go in copilot-api, connecting to a localhost version of github-mcp-server via HTTP/SSE.

export GITHUB_PERSONAL_ACCESS_TOKEN=<TOKEN_FROM_DEV_ENVIRONMENT>
go run cmd/github-mcp-server/main.go http --gh-host http://api.github.localhost --port 4567

…ware

I'm not sure we want to merge this, but this allowed me to try dotcom chat action as an MCP host, using `mark3labs/mcp-go` in copilot-api, connecting to a localhost version of github-mcp-server via HTTP/SSE.

```
export GITHUB_PERSONAL_ACCESS_TOKEN=<TOKEN_FROM_DEV_ENVIRONMENT>
go run cmd/github-mcp-server/main.go http --gh-host http://api.github.localhost --port 4567
```
@israpasos
Copy link

HTTP+SSE support is crucial for deployments like Coolify, where services run in isolated containers and need network-based communication rather than relying on Docker socket mounts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants