Skip to content

Authn, authz, HTTPS, Rate limiting, other http access controls to HTTP/SSE server #13

@tjhop

Description

@tjhop

Currently, the MCP server supports using a prometheus HTTP config file to configure access for the MCP server to connect with the backend prometheus api. However, there are no options to configure security access to the MCP server itself. This is especially important when running in SSE/HTTP transport modes, as it can mean the MCP server is running in a shared/multi-tenant environment, with concurrent users. In such deployments, it's important to ensure secure/controlled access to between the users and the MCP server as well.

Security considerations include but are not limited to:

  • authentication and authorization
  • configurable TLS for HTTPS
  • rate limiting, in at least some form to prevent things like DoS attacks, etc
  • support basic authentication

Options:

  1. Directly implement support the MCP server to support these options
  2. Leave security for user <> MCP server up to the user, potentially provide docs for common reverse proxies like nginx/caddy/traefik/etc
  3. Explore using an mcp specific proxy, such as mcp-proxy and see what security options exist there

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions