mcp-confd
v1.10.1
Published
ConfD integration for MCP
Readme
mcp-confd
Basic MCP server skeleton for ConfD integration.
Features
- MCP server over stdio
- Tools: set of pre-defined operations callable by MCP clients, see Tools section below for details
- Session-aware ConfD JSON-RPC integration with cookie-based authentication
Tool
- ping
- login
- logout
- get_trans
- new_trans
- delete_trans
- create
- delete
- exists
- get_module_prefix_map
- get_value
- get_values
- get_schema
- query
- run_action
- set_value
- show_config
ConfD Configuration
The tools call the ConfD JSON-RPC endpoint configured by:
MCP_CONFD_URL
Defaults:
MCP_CONFD_URL=http://127.0.0.1:8008/jsonrpc
Supported environment variables:
MCP_CONFD_URL(http://...orhttps://...)MCP_CONFD_USERMCP_CONFD_PASSWORDNODE_TLS_REJECT_UNAUTHORIZED(0to skip TLS cert validation for self-signed HTTPS)
Example:
"mcp-confd": {
"command": "npx",
"args": [
"-y",
"mcp-confd@latest"
],
"env": {
"MCP_CONFD_URL": "https://localhost:8888/jsonrpc",
"MCP_CONFD_USER": "user",
"MCP_CONFD_PASSWORD": "password",
"NODE_TLS_REJECT_UNAUTHORIZED": "0"
}
}Development
Install dependencies:
make installRun tests:
make testBuild:
make buildRun server:
make dev