stdapi.ai MCP sunucusu
Commit 30 Eyl 2026AI istemcilerinin Amazon Bedrock ve AWS AI servislerini OpenAI, Anthropic, Cohere ve Ollama uyumlu API'ler ve MCP araçları üzerinden çağırmasını sağlar.
Ayrıca bilinen adı stdapi-ai/stdapi.ai, stdapi-ai
- Yıldızlar
- 27
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- —
- Son commit
- 30 Eyl 2026
- Lisans
- AGPL-3.0
stdapi.ai MCP nedir?
stdapi.ai bir MCP sunucusudur. AI istemcilerinin Amazon Bedrock ve AWS AI servislerini OpenAI, Anthropic, Cohere ve Ollama uyumlu API'ler ve MCP araçları üzerinden çağırmasını sağlar.
Özet, projenin README dosyasından oluşturuldu
stdapi.ai MCP sunucusu hakkında
stdapi.ai, yapay zeka uygulamalarını Amazon Bedrock ve diğer AWS AI servislerine standart arayüzler üzerinden bağlamanızı sağlar. Geliştiricilerin Claude, GPT, DeepSeek ve Qwen dahil olmak üzere 100'den fazla modele erişmek için OpenAI, Anthropic, Cohere ve Ollama uyumlu SDK'ları kullanmalarına olanak tanıyan bir gateway görevi görür. Bu gateway sayesinde LangChain, LlamaIndex ve Open WebUI gibi mevcut araçlar, kod değişikliği yapmadan AWS servisleriyle etkileşime girebilir.
Kullanıcılar bunu Docker kullanarak yerel bir geliştirme aracı olarak dağıtabilir veya kurumsal gizlilik ve uyumluluk için kendi AWS hesapları içinde çalıştırabilirler. Sistem; sohbet, embedding, görsel oluşturma ve ses transkripsiyonu gibi çok modlu görevleri destekler. Ayrıca, bir dosya arama mekanizması aracılığıyla geri getirme (retrieval) yetenekleri sağlamak için Amazon Bedrock knowledge bases ile doğrudan entegre olur.
Her API uç noktası bir Model Context Protocol aracı olarak sunulur; bu da yapay zeka ajanlarının Polly, Transcribe ve Comprehend gibi servislere doğrudan bağlanmasına olanak tanır. Gateway, sınırlamaları (throttling) yönetmek için çok bölgeli kullanılabilirliği yönetir ve farklı ekipler arasında kontrollü erişim sağlamak için istek limitlerine sahip, kullanıcıya özel API anahtarları sunar.
Neler yapabilirsiniz
- 1Mevcut yapay zeka uygulamalarını Bedrock üzerinde çalıştırınAWS üzerinde barındırılan geniş bir model kataloğuna erişmek için mevcut OpenAI veya Anthropic SDK'larınızı kullanın.
- 2MCP aracılığıyla ajan tabanlı araç kullanımını etkinleştirinYapay zeka ajanlarının, HTTP istemci kodu yazmaya gerek kalmadan Model Context Protocol araçlarını kullanarak AWS AI servislerini doğrudan çağırmasına izin verin.
- 3Retrieval Augmented Generation uygulayınOtomatik parçalama (chunking) ve indeksleme için dosyaları bir isteğe ekleyerek dosyalar üzerinde semantik aramalar gerçekleştirin.
- 4Çok kiracılı yapay zeka erişimini yönetinFarklı ekiplere veya müşterilere, bireysel hız limitlerine ve model izinlerine sahip özel API anahtarları sağlayın.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
Yapılandırma
AWS_BEDROCK_REGIONSENABLE_DOCS
| Ad | Açıklama | Sunucu |
|---|---|---|
| AWS_BEDROCK_REGIONS | — | |
| ENABLE_DOCS | — |
Otomatik kontroller
Çalıştırıldı 14 Kas 2026Tam rapor →Henüz doğrulanmadı. Bir sunucunun 80 puana, ciddi bir bulgu olmamasına ve kontrol edebilmemiz için yeterli veriye ihtiyacı vardır. Kontroller nasıl çalışır · Daha fazla puan için nelerin düzeltileceği
- Kaynak deposu bağlantılı ve erişilebilirstdapi-ai/stdapi.ai is public and reachablegithub.com/stdapi-ai/stdapi.ai ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)AGPL-3.0spdx.org/licenses/AGPL-3.0.html ↗Geçti
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-09-30github.com/stdapi-ai/stdapi.ai ↗Geçti
- OpenSSF ScorecardKontrol edilmedi
- Paket adı popüler bir pakete yakın değilKontrol edilmedi
- Pakette veya bağımlılıklarında kritik uyarı yokKontrol edilmedi
- Modele yönelik gizli talimat yok0 tool descriptions and the README read; no override phrases, credential paths or hidden charactersGeçti
- Yıkıcı araçlar etiketlenmişKontrol edilmedi
- Uzak uç nokta MCP el sıkışmasına yanıt veriyorKontrol edilmedi
stdapi.ai
OpenAI, Anthropic, Cohere & Ollama Compatible API Gateway for Amazon Bedrock and AWS AI Services
Run your favorite OpenAI, Anthropic, Cohere and Ollama-compatible applications on Amazon Bedrock. Access 100+ models including Claude, OpenAI GPT, xAI Grok, Kimi, DeepSeek, Qwen with enterprise privacy, compliance controls, and pay-per-use AWS pricing.
14-day free trial on AWS Marketplace · $0.10/container-hour
Free for local development · Try Locally with Docker
🎯 Why stdapi.ai?
- 🔌 Same API, wider catalogue — Adoption is quick: standard OpenAI, Anthropic, Cohere and Ollama SDKs connect on the base URL alone, and hundreds of applications and tools build on them; the model you then name is drawn from every provider in the catalogue, not one vendor's list. Twenty-two clients are driven end to end against a live gateway by the automated test suite: Claude Code, Codex, pi, OpenClaw, Hermes, Qwen Code, n8n, Haystack, Open WebUI, wyoming-openai, Home Assistant, LangChain, Pydantic AI, LiteLLM, Docling Serve, OpenAI Agents SDK, LiveKit Agents, Pipecat, inspect-ai, Agno, LlamaIndex, the official ollama client.
- 🔒 Runs in your AWS account — No third party sits between your users and your models. Amazon Bedrock does not share your prompts with model providers or use them for training — two models it serves today, Claude Fable 5 and Claude Fable 5.1, require your account to allow AWS's own human review of retained traffic; the compliance guide covers this in full. Configure region allow-lists to match your own requirements — AWS compliance certifications apply to the AWS services and regions you choose, and are not inherited by stdapi.ai or by your application. Compliance guide →
- 🌍 Add a region, add its quota — Every AWS region has its own Bedrock quota, and every region you enable adds its own. Eligible throttling and availability failures retry in another enabled region, with no client changes. Streaming retries only before the stream opens, and asynchronous jobs stay in the region that accepted them. Resilience guide →
- 💰 Pay only what you use — Amazon Bedrock rates with 0% markup: model usage is billed to you directly by AWS, with no minimum commitment. Each end user's model calls can run under their own short-lived role session, so AWS reports their spend separately in Cost Explorer and the CUR — from the invoice, not from an estimate. The gateway license itself is metered per container-hour.
- ⚡ Advanced Bedrock features — Reasoning modes (Claude, Nova), prompt caching, guardrails, service tiers, inference profiles, prompt routers, batch inference at the discounted batch price, server-side conversations continued by id—all through standard OpenAI and Anthropic API parameters.
- 🧠 100+ models — Claude, OpenAI GPT, xAI Grok, Kimi, DeepSeek, Qwen, GLM, Nova, Llama, Stability AI, and more. Switch model by name — no vendor lock-in. When AWS retires a model, requests are transparently redirected to its replacement, so applications survive deprecations without code changes.
- 🎨 Complete multi-modal API — Chat, embeddings, image generation/editing/variations, video generation, audio speech/transcription/translation, live speech-to-speech over a WebSocket, content moderation. Amazon Bedrock, Bedrock Mantle, Polly, Transcribe and Comprehend are discovered automatically and surface as one catalog under OpenAI-compatible endpoints — and, for chat, generation and embeddings, under Ollama-compatible ones — no model list to maintain. Amazon Translate backs audio translation.
- 🔎 Retrieval without a second stack — Attach a file and it is chunked, embedded and indexed in a vector bucket in your own account, then searched by meaning; an Amazon Bedrock knowledge base you already run answers through the same endpoints. Hand the stores to any chat model on the Responses API with
file_searchand it runs the searches itself and cites the files it drew on. - 📊 Full observability — OpenTelemetry integration, request/response logging, Swagger and ReDoc API documentation, and opt-in per-request cost tracking — off by default, and estimated from published AWS prices rather than read back from your invoice.
- 🤖 Integrated MCP server — Every API endpoint an agent can use is exposed as a Model Context Protocol tool. AI agents connect directly—no HTTP client code required. Streamable HTTP and SSE transports with configurable tool selection.
- 🔑 Identity per caller — Accept Amazon Cognito user pool tokens instead of, or alongside, the API key, and publish an OAuth 2.0 protected resource metadata document so an agent discovers how to authenticate on its own.
- 🏢 One gateway, many tenants — Issue each customer or team its own API key, scoped to the models and endpoints it is entitled to, with per-minute request and token limits enforced across every instance and answered with a
429carryingretry-after. Keys rotate on a schedule through AWS Secrets Manager, with an overlap window so nobody is locked out. Authentication & security guide →
Measured, not asserted: <1 ms gateway overhead (0.8 ms of gateway CPU on a 2.5 KB chat request) · 8,000+ automated test cases run against real AWS services, at 95%+ branch coverage · 22 third-party clients driven end to end against a live gateway · 100+ API operations, published as 90+ MCP tools.
See all features → · Browse every model → · Browse the test suite →
⚡ Try It Locally with Docker
Run stdapi.ai locally with the free community image. Requires AWS credentials configured (e.g. via aws sso login or access keys).
docker run --rm -p 8000:8000 \
--user "$(id -u):$(id -g)" -e HOME=/home/nonroot \
-v ~/.aws:/home/nonroot/.aws:ro \
-e AWS_BEDROCK_REGIONS=us-east-1,us-west-2 \
-e ENABLE_DOCS=true \
ghcr.io/stdapi-ai/stdapi.ai-community:latest
The image runs as the unprivileged user nonroot (uid/gid 65532); --user lets it read your own ~/.aws files. Drop both flags when you pass credentials as environment variables instead.
Never run this with sudo: under sudo, $(id -u):$(id -g) resolves to 0:0, and the container silently runs as root instead of nonroot. If your host has no docker group, add credentials as environment variables (below) instead of using sudo with --user.
Podman on Fedora/RHEL (SELinux): use --userns=keep-id:uid=65532,gid=65532 in place of --user/HOME, and :ro,z instead of :ro
Open http://localhost:8000/docs in your browser — Swagger UI lets you explore all endpoints and send live requests without writing any code.
Or test from the terminal with curl:
List available models:
# All discovered models with capabilities, modalities, and supported routes
curl http://localhost:8000/search_models
# Filter — e.g. vision-capable chat models only
curl "http://localhost:8000/search_models?route=/v1/chat/completions&input_modalities=IMAGE"
# OpenAI-compatible model list
curl http://localhost:8000/v1/models
OpenAI-compatible chat:
curl http://localhost:8000/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{
"model": "amazon.nova-micro-v1:0",
"messages": [{"role": "user", "content": "Hello from Amazon Bedrock!"}]
}'
Anthropic-compatible chat:
curl http://localhost:8000/anthropic/v1/messages \
-H "anthropic-version: 2023-06-01" \
-H "Content-Type: application/json" \
-d '{
"model": "amazon.nova-micro-v1:0",
"max_tokens": 1000,
"messages": [{"role": "user", "content": "Hello from Amazon Bedrock!"}]
}'
Using the official SDKs? Point base_url at http://localhost:8000/v1 (OpenAI SDK), http://localhost:8000/anthropic (Anthropic SDK), or http://localhost:8000/cohere (Cohere SDK) — and the Ollama client's host at http://localhost:8000/ollama — no other code changes.
🚀 Production Deployment
Deploy to AWS with Terraform — two commands. The AWS Marketplace subscription includes a 14-day free trial on the license.
module "stdapi_ai" {
source = "stdapi-ai/stdapi-ai/aws"
version = "~> 1.0"
}
That deploys an auto-scaling ECS Fargate service in private subnets, with KMS-encrypted S3 storage and least-privilege IAM — reachable from inside the VPC only. A public HTTPS endpoint, WAF and API key authentication are opt-in:
module "stdapi_ai" {
source = "stdapi-ai/stdapi-ai/aws"
version = "~> 1.0"
# Public HTTPS endpoint on a custom domain (ACM cert auto-issued via Route 53)
alb_enabled = true
alb_public = true
alb_domain_name = "api.example.com"
alb_route53_zone_name = "example.com"
# Optional protection and authentication
alb_waf_enabled = true
api_key_create = true
}
The default deploys one task per availability zone, so a 3-AZ region runs 3 containers (~$216/month in license at $0.10/container-hour), before ALB, NAT, Fargate and KMS costs; autoscaling can add up to 5× that under load by default, so size the ceiling in the cost management guide.
Full deployment guide → · Advanced deployment → · Cost management →
Prefer a hands-off setup? A managed deployment service is available.
💼 Use Cases
| Category | What You Can Build | Tools | Guide |
|---|---|---|---|
| 💬 Chat Interfaces | Private ChatGPT alternative, team chat, knowledge base with RAG | Open WebUI, LobeHub, AnythingLLM, LibreChat | Guide → |
| 💻 Coding Assistants | AI pair programming, code completion, codebase chat | Claude Code, Codex, Qwen Code, pi, Cline, OpenCode, Zed | Guide → |
| 🔄 Workflow Automation | AI-powered ticket routing, content creation, data processing | n8n, Langflow, Dify, Flowise | Guide → |
| 🤖 Chatbots | Slack/Discord/Teams bots, documentation assistants | Dify, Chatwoot, Typebot | |
| 🧠 Autonomous Agents | Personal AI assistants, research agents, multi-agent systems, code agents, evaluation harnesses | OpenClaw, Hermes, Pydantic AI, OpenAI Agents SDK, Agno, inspect-ai, LiteLLM, LangGraph, CrewAI | Guide → |
| 🔍 RAG & Voice | Vector stores, semantic search, document pipelines, speech-to-speech assistants | LangChain, LlamaIndex, Haystack, wyoming-openai, Docling Serve, LiveKit Agents, Pipecat, RAGFlow | Guide → |
Bold = driven end to end against a live gateway by the automated test suite. The others have a documented setup and use the same standard SDKs.
All use cases and integration guides →
🛒 AWS Marketplace — Commercial Edition
The commercial license via AWS Marketplace is for production, internal tools, and proprietary applications:
- ✅ 14-day free trial — the licence is free for 14 days; AWS resources and model usage bill as usual
- ✅ Commercial license — no AGPL obligations, keep your code private
- ✅ Hardened containers — security-optimized with regular updates
- ✅ Terraform module — production-ready infrastructure from two Terraform commands
- ✅ Streamlined AWS billing — consolidated with your existing AWS costs
- ✅ $0.10/container-hour — no markup on model usage; pay Amazon Bedrock rates directly
Buy through an AWS Marketplace private offer: custom terms and duration, committed usage, and a preferential rate. Procured through your existing AWS relationship — no new vendor onboarding, billed on your existing AWS invoice. Marketplace spend may count toward an EDP or Private Pricing Agreement; check your agreement. The private-offer rate is $0.09/container-hour, same pay-per-use model, 14-day free trial included, no upfront payment or minimum usage. Contact us with your AWS account ID to request one.
🏅 AWS Qualified Software
stdapi.ai is an AWS Qualified Software solution, verified against AWS technical and security requirements for AWS Marketplace.
🛠️ Development from Source
For contributors working on stdapi.ai itself:
Prerequisites
- Python 3.14+
- uv package manager
- AWS credentials configured
Setup
git clone https://github.com/stdapi-ai/stdapi.ai.git
cd stdapi.ai
uv sync --frozen --extra uvicorn
aws sso login --profile your-profile-name
export AWS_BEDROCK_REGIONS=us-east-1
export ENABLE_DOCS=true
uv run uvicorn stdapi.main:app --host 0.0.0.0 --port 8000
Development Guidelines
- Follow existing code style and conventions
- Add tests for new features
- Update documentation for user-facing changes
- Ensure all tests pass before submitting PR
📜 License
Dual-licensed:
- AGPL-3.0-or-later — Free for open-source projects that share alike
- Commercial License — AWS Marketplace, for proprietary applications (14-day free trial)
🤝 Contributing
We welcome contributions! Whether it's bug reports, new features, documentation improvements, or ideas — please feel free to open issues or submit pull requests.
💬 Support
- Issues: GitHub Issue Tracker
- Documentation: stdapi.ai
- Commercial support: Contact page — Marketplace subscribers get a response within 1 business day
- Sponsor: GitHub Sponsors — Priority support, feature prioritization, and influence on the roadmap.
Ready to run 100+ AI models securely on AWS?
Start 14-Day Free Trial on AWS Marketplace · Deployment guide · Terraform examples · Try Locally with Docker
stdapi.ai MCP soruları
stdapi.ai'ye hangi SDK'lar bağlanabilir?
Standart OpenAI, Anthropic, Cohere ve Ollama SDK'ları sadece base URL kullanarak bağlanabilir. Belirttiğiniz model, tek bir sağlayıcının listesinden değil, tüm katalogdan gelir.
stdapi.ai bir MCP server sunuyor mu?
Evet. Bir ajanın kullanabileceği her API uç noktası; Streamable HTTP ve SSE transport seçenekleri ile yapılandırılabilir araç seçimi özellikleriyle bir MCP tool olarak sunulur.
stdapi.ai çağrı yapanları nasıl kimliklendirir?
API anahtarına ek olarak veya yerine Amazon Cognito user pool token'larını kabul eder ve ajanların nasıl kimlik doğrulama yapacağını keşfedebilmesi için OAuth 2.0 korumalı kaynak meta verilerini yayınlar.
Model kullanımı için stdapi.ai maliyeti nedir?
Model kullanımı, AWS tarafından Amazon Bedrock tarifeleri üzerinden herhangi bir ek ücret eklenmeden faturalandırılır; gateway lisansı ise konteyner saati başına ücretlendirilir. Yerel geliştirme için ücretsiz bir topluluk imajı mevcuttur.
stdapi.ai'yi Docker ile yerel olarak çalıştırabilir miyim?
Evet. Ücretsiz topluluk imajı, örneğin aws sso login veya access key'ler aracılığıyla yapılandırılmış AWS kimlik bilgileri gerektirerek docker run komutuyla çalıştırılabilir.