AI Service Gateway
FreeNot checkedEnables AI agents to securely access authenticated services (HTTP, SSH, SMTP) without exposing secrets, by acting as a server-side proxy that injects authentica
About
Enables AI agents to securely access authenticated services (HTTP, SSH, SMTP) without exposing secrets, by acting as a server-side proxy that injects authentication.
README
The AI uses services, not secrets.
A fundamentally new approach to providing AI agents access to authenticated services. Instead of giving the AI a password manager or storing tokens in its context window, this MCP server acts as an opaque Service Gateway.
The Concept
The AI never knows that tokens, passwords, or SSH keys exist. It is only given a list of services and what they can do. When the AI wants to fetch data from GitHub, it asks the Gateway to make an HTTP call to the "github" service. The Gateway injects the authentication server-side.
This completely eliminates the risk of prompt injection extracting tokens, or tokens being leaked in conversation histories and inference server logs.
Features
- No Secrets in Context: The AI only sees service names (
github,nas_ssh,email) and their capabilities. - Config-Driven: Define your services and authentication methods in a single
gateway.yamlfile. - Environment Variables: Inject actual secret values using environment variables so they aren't hardcoded in the config.
- Supported Protocols:
http(Bearer, Basic, Custom Headers, Query Params)ssh(Password, Private Key) with allowed command patternssmtp(Email sending)
- Output Sanitizer: Automatically scrubs all known secret values from tool outputs as a defense-in-depth measure.
Quick Start
1. Create a Configuration
Create a gateway.yaml file:
services:
github:
type: http
base_url: https://api.github.com
auth:
type: bearer
token: ${GITHUB_TOKEN}
capabilities: [repos, issues]
2. Run the Gateway
export GITHUB_TOKEN="ghp_supersecret..."
python -m ai_gateway check --config gateway.yaml
python -m ai_gateway serve --config gateway.yaml --port 8600
Or using Docker:
docker compose up -d
3. Connect your AI Agent
Configure your MCP client (like OpenCode or Claude Desktop) to connect to http://localhost:8600/sse.
MCP Tools Provided
service_list(): Returns the public manifest of configured services and capabilities.service_call(service, method, path, ...): Makes an authenticated HTTP request.service_ssh(service, command): Runs a command over SSH (if allowed by config).service_email(service, to, subject, body): Sends an email via SMTP.
License
MIT
Installing AI Service Gateway
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/Yormede/ai-service-gatewayFAQ
Is AI Service Gateway MCP free?
Yes, AI Service Gateway MCP is free — one-click install via Unyly at no cost.
Does AI Service Gateway need an API key?
No, AI Service Gateway runs without API keys or environment variables.
Is AI Service Gateway hosted or self-hosted?
A hosted option is available: Unyly runs the server in the cloud, no local setup required.
How do I install AI Service Gateway in Claude Desktop, Claude Code or Cursor?
Open AI Service Gateway on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.
Related MCPs
Opencode Omniroute Plugin
OpenCode plugin for the OmniRoute AI Gateway. Drives dynamic model discovery, /connect auth flow, and multi-instance OmniRoute providers via the official @openc
by GitHub ActionsRoblox Studio
Enables AI coding tools to control Roblox Studio for workspace exploration, instance manipulation, and script management. It provides tools for playtesting, sce
by paralovAntigravity Drawio
MCP server that enables AI assistants to create, parse, render, and validate Draw.io diagrams programmatically.
by S-SUJAN-SFetch
Web content fetching and conversion for efficient LLM usage.
AWS KB Retrieval
Retrieval from AWS Knowledge Base using Bedrock Agent Runtime.
by modelcontextprotocolSpring AI MCP Server
Provides auto-configuration for setting up an MCP server in Spring Boot applications.
llm-analysis-assistant
A very streamlined mcp client that supports calling and monitoring stdio/sse/streamableHttp, and can also view request responses through the /logs page. It also
by xuzexin-hzMCP-Agent
A simple, composable framework to build agents using Model Context Protocol by [LastMile AI](https://www.lastmileai.dev)
by lastmile-aiSpring AI MCP Client
Provides auto-configuration for MCP client functionality in Spring Boot applications.
mcp.natoma.ai
A Hosted MCP Platform to discover, install, manage and deploy MCP servers by [Natoma Labs](https://www.natoma.ai)
Compare AI Service Gateway with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All ai MCPs
