Settings.MCP (fnord v0.8.83)
View SourceManage Hermes MCP server configuration under the "mcp_servers" key in settings.
MCP configuration can be stored at both global and project scopes without being automatically written unless the user performs a configuration action.
Configuration format:
"mcp_servers": %{server_name => server_config}
server_config fields:
"transport": "stdio" | "http" | "websocket"
- "timeout_ms": integer (optional)
- stdio-specific:
- "command": string
- "args": [string]
- "env": %{string => string}
- http/ws-specific:
- "base_url": string
- "headers": %{string => string}
Summary
Types
Full MCP configuration - map of server names to configs
Scope of MCP configuration: global or project
Configuration for an individual MCP server
Underlying Settings struct
Functions
Add a new MCP server configuration
Merge global and project MCP configurations, applying project overrides
Retrieve MCP server configurations for the given scope
List configured MCP servers by name for the given scope
Remove an existing MCP server configuration
Set MCP configuration for the given scope
Update an existing MCP server configuration
Types
@type config() :: map()
Full MCP configuration - map of server names to configs
@type scope() :: :global | :project
Scope of MCP configuration: global or project
@type server_config() :: map()
Configuration for an individual MCP server
@type settings() :: Settings.t()
Underlying Settings struct
Functions
Add a new MCP server configuration
Merge global and project MCP configurations, applying project overrides
Retrieve MCP server configurations for the given scope
List configured MCP servers by name for the given scope
Remove an existing MCP server configuration
Set MCP configuration for the given scope
Update an existing MCP server configuration