Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
mcp-gateway
command
Command mcp-gateway starts the Global MCP Gateway HTTP server.
|
Command mcp-gateway starts the Global MCP Gateway HTTP server. |
|
migrate
command
Command migrate applies SQL migrations from the migrations/ directory.
|
Command migrate applies SQL migrations from the migrations/ directory. |
|
seed
command
Package main seeds catalog data and users from JSON files.
|
Package main seeds catalog data and users from JSON files. |
|
internal
|
|
|
config
Package config loads application configuration via Viper.
|
Package config loads application configuration via Viper. |
|
contextkey
Package contextkey defines strongly-typed context keys used across the server.
|
Package contextkey defines strongly-typed context keys used across the server. |
|
encryptor
Package encryptor provides helpers for symmetric encryption.
|
Package encryptor provides helpers for symmetric encryption. |
|
httpclient
Package httpclient initialises the http client with auth headers
|
Package httpclient initialises the http client with auth headers |
|
log
Package log provides a small wrapper for slog configuration.
|
Package log provides a small wrapper for slog configuration. |
|
mcp/idgen
Package idgen provides helpers for generating public IDs.
|
Package idgen provides helpers for generating public IDs. |
|
mcp/service/catalog
Package catalog provides access to the MCP servers catalog.
|
Package catalog provides access to the MCP servers catalog. |
|
mcp/service/catalog_orchestrator
Package catalog_orchestrator coordinates higher-level workflows around catalog servers.
|
Package catalog_orchestrator coordinates higher-level workflows around catalog servers. |
|
mcp/service/mcphub
Package mcphub provides hub service implementation.
|
Package mcphub provides hub service implementation. |
|
mcp/service/mcphub_orchestrator
Package mcphub_orchestrator coordinates higher-level workflows around MCP hubs.
|
Package mcphub_orchestrator coordinates higher-level workflows around MCP hubs. |
|
mcp/service/tool
Package tool provides the Tool service for tool operations.
|
Package tool provides the Tool service for tool operations. |
|
mcp/service/user
Package user provides minimal user management for SSO.
|
Package user provides minimal user management for SSO. |
|
mcp/service/virtualmcp
Package virtualmcp provides the virtual server service implementation.
|
Package virtualmcp provides the virtual server service implementation. |
|
middlewares
Package middlewares contains HTTP middlewares used across the gateway.
|
Package middlewares contains HTTP middlewares used across the gateway. |
|
server
Package server wires dependencies and builds the HTTP handler container.
|
Package server wires dependencies and builds the HTTP handler container. |
Click to show internal directories.
Click to hide internal directories.