The company's MCP servers on a web page

/admin/mcp, for administrators only, since a server's credential reaches
whatever it guards: each server's state, who has been granted its tools,
its rate, the headers it is sent by name with the sealed ones marked, and
its address; adding one with a bearer token or another header kept in the
store; testing it with its credential and listing its tools; granting them
to a team, project, org, person or key, written into that level's limits
beside its other grants and its rate and budget; revoking; changing;
replacing the credential; turning off and on; removing; and how a person
points an agent at the gateway's /mcp with a key of their own. English and
Turkish. The secret's field is named so the audit line redacts it.

The admin API's server merge and test are package functions now,
adminapi.MCPServerFrom and adminapi.TestMCPServer, shared by both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ilker ManapandClaude Opus 5.5 committed 2026-10-28 19:26:51 +01:00
1 parent 98c45ed28b
commit 03d3bcfd2d
14 files changed
+914 -4

No files matched your search

+82
View File
@@ -0,0 +1,82 @@
{
"mcp.title": "MCP servers",
"mcp.sub": "The company's own MCP servers, offered to agents through the gateway's <code>/mcp</code>, their tools named <code>server.tool</code>. A server's tools are seen only where they are granted; nothing is granted by default. Its credential stays here, sealed, and never reaches an agent.",
"mcp.col.server": "Server",
"mcp.col.state": "State",
"mcp.col.granted": "Granted to",
"mcp.col.rate": "Rate",
"mcp.col.sent": "Sent",
"mcp.col.address": "Address",
"mcp.on": "on",
"mcp.off": "off",
"mcp.nobody": "nobody yet",
"mcp.per_minute": "%d a minute",
"mcp.sealed": "sealed",
"mcp.scope.org": "organization",
"mcp.scope.team": "team",
"mcp.scope.project": "project",
"mcp.scope.user": "person",
"mcp.scope.key": "key",
"mcp.actions": "What can be done to %s",
"mcp.test": "Test, and list its tools",
"mcp.disable": "Turn off",
"mcp.enable": "Turn on",
"mcp.remove": "Remove",
"mcp.confirm_disable": "Turn %s off? Its tools are then listed nowhere and every call to them is refused.",
"mcp.confirm_remove": "Remove %s? Its tools go from every agent at once, and its sealed credential with it.",
"mcp.grant": "Grant its tools",
"mcp.to": "To",
"mcp.which": "Which",
"mcp.which_hint": "ORG/TEAM, ORG/TEAM/PROJECT, ORG, an e-mail or a key's ID",
"mcp.tools": "Tools",
"mcp.grant_button": "Grant",
"mcp.confirm_revoke": "Revoke %s from %s? It and everything below it then no longer see those tools, unless another level grants them.",
"mcp.revoke": "Revoke from %s",
"mcp.change": "Change",
"mcp.address": "Address",
"mcp.about": "What it is for",
"mcp.timeout": "Timeout, seconds",
"mcp.rate": "Calls a minute per caller",
"mcp.save": "Save",
"mcp.credential": "Replace its credential",
"mcp.auth": "Credential",
"mcp.auth.bearer": "bearer token",
"mcp.auth.header": "another header",
"mcp.auth.none": "none",
"mcp.header": "Header",
"mcp.secret": "Secret",
"mcp.replace": "Replace",
"mcp.none": "None yet. Add one below: its address, and the credential it wants.",
"mcp.add": "Add a server",
"mcp.name": "Name",
"mcp.name_hint": "lowercase; its tools' prefix, jira → jira.search",
"mcp.header_hint": "for another header, its name",
"mcp.secret_hint": "the token or key; kept sealed in the store",
"mcp.add_button": "Add",
"mcp.agents": "Pointing an agent at it",
"mcp.agents_sub": "Each person adds the gateway's <code>/mcp</code> to their agent with a key of their own from <a href=\"/profile\">their profile</a>. They see the tools granted to them, their team and project, and every call is in the audit log under their name.",
"mcp.added": "Added %s. Test it, then grant its tools: nobody sees them yet.",
"mcp.changed": "%s changed.",
"mcp.credential_replaced": "The credential %s is sent was replaced.",
"mcp.enabled": "%s is on.",
"mcp.disabled": "%s is off: its tools are listed nowhere and every call is refused.",
"mcp.removed": "%s removed.",
"mcp.test_failed": "%s did not answer: %s",
"mcp.test_no_tools": "%s answers, and offers no tools.",
"mcp.test_ok.one": "%[2]s answers, with %[1]d tool:",
"mcp.test_ok.other": "%[2]s answers, with %[1]d tools:",
"mcp.granted": "%s's tools granted to %s.",
"mcp.revoked": "Revoked %s's tools there.",
"mcp.err.exists": "There is already a server %s; change it in its row.",
"mcp.err.no_secret": "The new secret?",
"mcp.err.which": "Which one?",
"mcp.err.scope": "Grant to a team, project, organization, person or key.",
"mcp.err.no_such": "There is no %s.",
"mcp.err.no_tools": "Which tools? %s.* for all of them.",
"mcp.err.not_its_tool": "%s is not one of %s's tools.",
"mcp.err.pattern": "%s is not a pattern.",
"mcp.err.header": "Which header carries the credential?",
"mcp.err.auth": "The credential is a bearer token, another header or none.",
"mcp.err.timeout": "The timeout is whole seconds.",
"mcp.err.rate": "The rate is calls a minute."
}
+1
View File
@@ -11,6 +11,7 @@
"nav.account": "Account",
"nav.sign_out": "Sign out",
"nav.docs": "Docs",
"nav.mcp": "MCP servers",
"nav.settings": "Settings",
"nav.images": "Pictures",
"nav.meshes": "3D"
+81
View File
@@ -0,0 +1,81 @@
{
"mcp.title": "MCP sunucuları",
"mcp.sub": "Şirketin kendi MCP sunucuları; ajanlara ağ geçidinin <code>/mcp</code> adresinden, araçları <code>sunucu.araç</code> adıyla sunulur. Bir sunucunun araçlarını yalnızca yetki verilenler görür; varsayılan olarak kimseye yetki yoktur. Kimlik bilgisi burada, mühürlü olarak kalır ve hiçbir ajana gitmez.",
"mcp.col.server": "Sunucu",
"mcp.col.state": "Durum",
"mcp.col.granted": "Yetkililer",
"mcp.col.rate": "Hız",
"mcp.col.sent": "Gönderilen",
"mcp.col.address": "Adres",
"mcp.on": "açık",
"mcp.off": "kapalı",
"mcp.nobody": "henüz kimse",
"mcp.per_minute": "dakikada %d",
"mcp.sealed": "mühürlü",
"mcp.scope.org": "organizasyon",
"mcp.scope.team": "takım",
"mcp.scope.project": "proje",
"mcp.scope.user": "kişi",
"mcp.scope.key": "anahtar",
"mcp.actions": "%s için yapılabilecekler",
"mcp.test": "Dene ve araçlarını listele",
"mcp.disable": "Kapat",
"mcp.enable": "Aç",
"mcp.remove": "Kaldır",
"mcp.confirm_disable": "%s kapatılsın mı? Araçları hiçbir yerde listelenmez ve her çağrı reddedilir.",
"mcp.confirm_remove": "%s kaldırılsın mı? Araçları tüm ajanlardan hemen gider, mühürlü kimlik bilgisi de onunla birlikte.",
"mcp.grant": "Araçlarına yetki ver",
"mcp.to": "Kime",
"mcp.which": "Hangisi",
"mcp.which_hint": "ORG/TAKIM, ORG/TAKIM/PROJE, ORG, bir e-posta ya da anahtarın kimliği",
"mcp.tools": "Araçlar",
"mcp.grant_button": "Yetki ver",
"mcp.confirm_revoke": "%s yetkisi %s üzerinden geri alınsın mı? Başka bir seviye vermedikçe orası ve altındakiler bu araçları artık görmez.",
"mcp.revoke": "%s üzerinden geri al",
"mcp.change": "Değiştir",
"mcp.address": "Adres",
"mcp.about": "Ne için",
"mcp.timeout": "Zaman aşımı, saniye",
"mcp.rate": "Çağıran başına dakikada çağrı",
"mcp.save": "Kaydet",
"mcp.credential": "Kimlik bilgisini değiştir",
"mcp.auth": "Kimlik bilgisi",
"mcp.auth.bearer": "bearer token",
"mcp.auth.header": "başka bir başlık",
"mcp.auth.none": "yok",
"mcp.header": "Başlık",
"mcp.secret": "Gizli değer",
"mcp.replace": "Değiştir",
"mcp.none": "Henüz yok. Aşağıdan ekleyin: adresi ve istediği kimlik bilgisi.",
"mcp.add": "Sunucu ekle",
"mcp.name": "Ad",
"mcp.name_hint": "küçük harf; araçlarının öneki, jira → jira.search",
"mcp.header_hint": "başka bir başlık için, adı",
"mcp.secret_hint": "token ya da anahtar; depoda mühürlü saklanır",
"mcp.add_button": "Ekle",
"mcp.agents": "Bir ajanı bağlamak",
"mcp.agents_sub": "Herkes ağ geçidinin <code>/mcp</code> adresini, <a href=\"/profile\">profilinden</a> alacağı kendi anahtarıyla ajanına ekler. Kendisine, takımına ve projesine verilmiş araçları görür; her çağrı denetim kaydına onun adıyla düşer.",
"mcp.added": "%s eklendi. Deneyin, sonra araçlarına yetki verin: henüz kimse görmüyor.",
"mcp.changed": "%s değiştirildi.",
"mcp.credential_replaced": "%s için gönderilen kimlik bilgisi değiştirildi.",
"mcp.enabled": "%s açık.",
"mcp.disabled": "%s kapalı: araçları hiçbir yerde listelenmiyor ve her çağrı reddediliyor.",
"mcp.removed": "%s kaldırıldı.",
"mcp.test_failed": "%s yanıt vermedi: %s",
"mcp.test_no_tools": "%s yanıt veriyor, ama hiç aracı yok.",
"mcp.test_ok.other": "%[2]s yanıt veriyor, %[1]d aracıyla:",
"mcp.granted": "%s araçlarına %s için yetki verildi.",
"mcp.revoked": "%s araçlarının yetkisi orada geri alındı.",
"mcp.err.exists": "%s adında bir sunucu zaten var; satırından değiştirin.",
"mcp.err.no_secret": "Yeni gizli değer?",
"mcp.err.which": "Hangisi?",
"mcp.err.scope": "Yetki bir takıma, projeye, organizasyona, kişiye ya da anahtara verilir.",
"mcp.err.no_such": "%s diye bir şey yok.",
"mcp.err.no_tools": "Hangi araçlar? Hepsi için %s.*",
"mcp.err.not_its_tool": "%s, %s sunucusunun araçlarından biri değil.",
"mcp.err.pattern": "%s geçerli bir desen değil.",
"mcp.err.header": "Kimlik bilgisini hangi başlık taşıyor?",
"mcp.err.auth": "Kimlik bilgisi bir bearer token, başka bir başlık ya da hiçbiri olabilir.",
"mcp.err.timeout": "Zaman aşımı tam saniye olmalı.",
"mcp.err.rate": "Hız dakikadaki çağrı sayısıdır."
}
+1
View File
@@ -11,6 +11,7 @@
"nav.account": "Hesap",
"nav.sign_out": "Çıkış yap",
"nav.docs": "Belgeler",
"nav.mcp": "MCP sunucuları",
"nav.settings": "Ayarlar",
"nav.images": "Görseller",
"nav.meshes": "3D"