opsguide-mcp
v1.3.0
Published
Transparent MCP proxy for OpsGuide Amazon Bedrock AgentCore Gateway
Maintainers
Readme
OpsGuide MCP Proxy
A transparent Model Context Protocol (MCP) proxy that forwards all requests to the OpsGuide Amazon Bedrock AgentCore Gateway.
Installation
npm install -g opsguide-mcpOr use with npx:
npx opsguide-mcp@latest YOUR_API_KEYUsage
Command Line
# Using command line argument
opsguide-mcp YOUR_API_KEY
# Using environment variable
API_KEY=YOUR_API_KEY opsguide-mcpMCP Client Configuration
Add this to your MCP client configuration:
{
"mcpServers": {
"opsguide": {
"command": "npx",
"args": ["-y", "opsguide-mcp@latest", "YOUR_API_KEY"]
}
}
}Or using environment variable:
{
"mcpServers": {
"opsguide": {
"opsguide": {
"command": "npx",
"args": ["-y", "opsguide-mcp@latest"],
"env": {
"API_KEY": "YOUR_API_KEY"
}
}
}
}How It Works
This proxy server acts as a transparent bridge between MCP clients and the OpsGuide gateway:
- Receives MCP requests from clients via stdin (JSON-RPC 2.0 format)
- Forwards requests to the gateway with proper authentication headers:
POST /mcp HTTP/1.1 Host: d01-opsguide-mcp-dev-mcp-gateway-irgxqlnbu8.gateway.bedrock-agentcore.us-east-1.amazonaws.com Content-Type: application/json Authorization: Bearer YOUR_API_KEY { "jsonrpc": "2.0", "id": 1, "method": "tools/list", "params": {} } - Returns gateway responses to the client via stdout
Available Capabilities
The proxy exposes whatever tools, resources, and prompts are available on your OpsGuide gateway. Common MCP methods include:
initialize- Initialize the MCP sessiontools/list- List available toolstools/call- Call a specific toolresources/list- List available resourcesresources/read- Read a specific resourceprompts/list- List available promptsprompts/get- Get a specific prompt
Configuration
- BASE_URL:
https://d01-opsguide-mcp-dev-mcp-gateway-irgxqlnbu8.gateway.bedrock-agentcore.us-east-1.amazonaws.com/mcp(hardcoded) - API_KEY: Provided via command line argument or environment variable
Development
# Install dependencies
npm install
# Build the project
npm run build
# Test locally
npm run dev YOUR_API_KEYLicense
MIT
