tfmcp vs GitHub MCP Server
A side-by-side comparison of two DevOps & Cloud servers — tools, transport, auth, maintenance, and copy-paste config for each.
| tfmcp Terraform MCP server letting AI assistants read, plan, apply, analyze, and manage Terraform infrastructure. Unverified stdio (local) No auth Rust | GitHub MCP Server GitHub's official server for repos, issues, PRs, and Actions — local Docker or hosted remote. Verified stdio (local) API key Go | |
|---|---|---|
| Category | DevOps & Cloud | DevOps & Cloud |
| Language | Rust | Go |
| Transport | stdio (local) | stdio (local) |
| Auth | None | API key |
| GitHub stars | 369 | 31k |
| Last commit | 2 months ago | 7 days ago |
| Verified | ||
| Actively maintained | ||
| Install | cargo install tfmcp | docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server |
| Repo | Open | Open |
Verdict
Pick tfmcp if you want zero-setup with no API key, and you need the broadest set of tools.
Pick GitHub MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Add tfmcp
cargo install tfmcpPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"tfmcp": {
"command": "/path/to/your/tfmcp",
"args": [
"mcp"
],
"env": {
"HOME": "/Users/yourusername",
"PATH": "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin",
"TERRAFORM_DIR": "/path/to/your/terraform/project"
}
}
}
}Add GitHub MCP Server
docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-serverPaste into ~/Library/Application Support/Claude/claude_desktop_config.json
{
"mcpServers": {
"github-mcp-server": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"GITHUB_PERSONAL_ACCESS_TOKEN",
"ghcr.io/github/github-mcp-server"
],
"env": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "<your-github-pat>"
}
}
}
}Requires Docker to be installed and running.
FAQ
tfmcp or GitHub MCP Server — which is better?
Pick tfmcp if you want zero-setup with no API key, and you need the broadest set of tools. Pick GitHub MCP Server if you want the official, vendor-maintained server, and you prefer the more popular, battle-tested option.
Can I use both tfmcp and GitHub MCP Server?
Yes — MCP clients let you enable multiple servers at once. Add both configs to your client's mcpServers and use whichever tool fits the task.
Do tfmcp and GitHub MCP Server work with Claude, Cursor and Windsurf?
Both do. Copy the per-client config below into Claude Desktop, Cursor, or Windsurf.