LogoSTMCP
Download
consul-mcp-server

Consul MCP Server

A Model Context Protocol (MCP) server that provides standardized access to Consul's service management, health checks, KV store, sessions, events, and system functionality through a unified interface.

Tools

1. List running services

List running services in Consul.

2. Register and deregister services

Register and deregister services in Consul.

3. Get service information

Retrieve information about a specific service.

4. List catalog services

List all services in the Consul catalog.

5. Get catalog service information

Retrieve detailed information about a catalog service.

6. Register health checks

Register health checks for services.

7. Deregister health checks

Remove health checks from services.

8. Get health checks for services

Retrieve health checks associated with services.

9. Get values from KV store

Retrieve values from the Consul key-value store.

10. List keys in KV store

List all keys in the Consul key-value store.

11. Put values in KV store

Store values in the Consul key-value store.

12. Delete keys from KV store

Remove keys from the Consul key-value store.

13. List sessions

List active Consul sessions.

14. Destroy sessions

Terminate Consul sessions.

15. Fire events

Trigger events in Consul.

16. List events

List recent events in Consul.

17. Create prepared queries

Create prepared queries in Consul.

18. Execute prepared queries

Execute prepared queries in Consul.

19. Get current leader

Retrieve the current Consul cluster leader.

20. Get current peers

List current Consul cluster peers.

21. Get agent members

Retrieve information about Consul agent members.

22. Get agent self information

Retrieve self-information from the Consul agent.

23. Get system health service information

Retrieve system health service information from Consul.

Open Graph image for Consul MCP Server

JSON Config

{
    "mcpServers": {
        "consul-mcp": {
            "command": "node",
            "args": [
                "/ABSOLUTE/PATH/TO/PARENT/FOLDER/consul-mcp-server/build/index.js"
            ]
        }
    }
}

Useful Links

Information