foreman-mcp-py
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@foreman-mcp-pyshow me all hosts with status 'error' in the production environment"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
foreman-mcp-py
How to run
Using uv locally
# uv run foreman-mcp \
--foreman-url https://my-foreman-instance.something.somewhere \
--foreman-username $FOREMAN_USERNAME \
--foreman-password $FOREMAN_PASSWORD \
--log-level debug \
--host localhost \
--port 8080Related MCP server: Foreman MCP Server
Using vscode
Example vscode config
# settings.json
{
"mcp": {
"servers": {
"foreman-mcp-py": {
"type": "sse",
"url": "http://localhost:8080/mcp/sse",
}
}
},
}Using container
First, build the container:
podman build -t foreman-mcp .Now run the container:
podman run -it -p 8080:8080 foreman-mcp --foreman-url https://my-foreman-instance.something.somewhere --foreman-username $FOREMAN_USERNAME --foreman-password $FOREMAN_PASSWORD --log-level debug --port 8080 --host localhostUsing MCP Inspector
For use with mcp inspector
Start the inspector with
npx @modelcontextprotocol/inspectorOpen
http://localhost:6274in your browserSet
TypetoStreamable HTTPandURLtohttp://localhost:8080/mcp
or set
TypetoSSEandURLtohttp://localhost:8080/sse
Click connect
This server cannot be deployed
Maintenance
Related MCP Connectors
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
MCP server for querying Forkast documentation
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables interaction with Foreman infrastructure management platform through MCP tools, prompts, and resources. Supports querying host information, security updates, and accessing Foreman data via natural language.4GPL 3.0

Foreman MCP Serverofficial
AlicenseBqualityCmaintenanceEnables interaction with Foreman instances to manage systems through the Model Context Protocol. It provides access to Foreman resources and tools, such as security update reports, directly within AI-powered environments like VSCode and Claude Desktop.511GPL 3.0- AlicenseAqualityBmaintenanceMCP server for managing Proxmox VE clusters — provision VMs and containers, manage snapshots and backups, execute commands, browse storage, and monitor resources through natural language3494 PyPI16MIT
- AlicenseBqualityCmaintenanceMCP server for managing Foreman hosts and infrastructure. Enables listing, searching, and getting detailed information about hosts, organizations, locations, subnets, domains, and more via natural language.29MIT