Agentic MCP sunucusu
Commit 22 Eki 2026Üç katmanlı lazy loading yöntemiyle bir AI istemcisinin MCP server'larını talep üzerine keşfetmesini ve çağırmasını sağlar; böylece tüm araç listelerini önceden yüklemeden token kullanımını azaltır.
Ayrıca bilinen adı cablate/Agentic-MCP-Skill
- Yıldızlar
- 41
- Araçlar
- —
- İndirmeler, 30 gün
- —
- En son sürüm
- —
- Son commit
- 22 Eki 2026
- Lisans
- —
Agentic MCP nedir?
Agentic bir MCP sunucusudur. Üç katmanlı lazy loading yöntemiyle bir AI istemcisinin MCP server'larını talep üzerine keşfetmesini ve çağırmasını sağlar; böylece tüm araç listelerini önceden yüklemeden token kullanımını azaltır.
Özet, projenin README dosyasından oluşturuldu
Agentic MCP sunucusu hakkında
AI context window kullanımını optimize etmek isteyen geliştiriciler, Model Context Protocol sunucularını kademeli açıklama stratejisiyle yönetmek için bu aracı kullanabilirler. Mevcut tüm araçları, önemli miktarda token tüketen bir yöntemle AI istemcisine tek seferde yüklemek yerine, bu sistem yalnızca gerekli bilgileri getirmek için üç katmanlı bir yaklaşım kullanır. İşlem, temel sunucu meta verileriyle başlar, araç listelerine geçer ve son olarak bir araç çağrılmaya hazır olduğunda yalnızca belirli girdi şemalarını yükler.
Bu deneysel proje, Playwright veya filesystem araçları gibi çeşitli MCP server'lara kalıcı bağlantılar sağlayan socket tabanlı bir daemon mimarisi üzerinden çalışır. Kullanıcılar ortamlarını bir JSON dosyası aracılığıyla yapılandırır ve sistemle bir komut satırı arayüzü kullanarak etkileşime girerler. Geliştiriciler, bu lazy loading modelini uygulayarak önemli miktarda token tasarrufu sağlayabilir ve geniş bir araç setini yönetmenin maliyetini geleneksel yöntemlere kıyasla %80'den fazla azaltabilirler.
Neler yapabilirsiniz
- 1AI token tüketimini azaltınBir AI istemcisi mevcut araçlara göz atabilir ve yalnızca kullanmayı planladığı belirli araç için tam girdi şemasını yükleyebilir.
- 2Birden fazla MCP server yönetinBir geliştirici, Playwright veya GitHub gibi çeşitli MCP server'ları tek bir daemon üzerinden yapılandırabilir ve çalıştırabilir.
- 3Web tarayıcı görevlerini otomatize edinPlaywright entegrasyonunu kullanarak bir AI'ya web sitelerinde gezinme, ekran görüntüsü alma veya öğelere tıklama talimatları verebilirsiniz.
- 4Sunucu yapılandırmalarını canlı olarak güncelleyinYapılandırma dosyasındaki sunucu listenizi değiştirebilir ve daemon'ı durdurmadan değişiklikleri uygulayabilirsiniz.
Projenin README dosyasından alınmıştır. Her kullanım durumu, oradaki bir alıntı ile kontrol edilir.
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şilebilircablate/agentic-mcp-skill is public and reachablegithub.com/cablate/agentic-mcp-skill ↗Geçti
- Paket, bu depoyu kaynağı olarak gösteriyorKontrol edilmedi
- Derleme kökeni (Sigstore onayı)Kontrol edilmedi
- Açık kaynak lisansı (OSI)No licenseBulgu
- Son bir yıl içinde commit veya sürüm mevcutLast commit or release 2026-10-22github.com/cablate/agentic-mcp-skill ↗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
Agentic-MCP with Skill
AgentSkill for MCP - Three-layer progressive disclosure validates AgentSkills.io pattern for efficient MCP token usage
Design Intent
Proven AgentSkills Pattern
In the AgentSkills.io ecosystem, Progressive Disclosure combined with Script linkage has been validated as effective:
- AI only loads specific information when needed, significantly reducing token usage
- Scripts can be invoked via AI commands, providing high customization potential
- Sharing tools via scripts is far less costly than developing and using complex MCP Servers
The impact of this pattern is significant and substantial.
Current MCP Skill Dilemma
Despite this, many Skills using MCP still face two extreme options:
Option 1: Install MCP directly in Claude Code, Skill only guides AI to call MCP
- MCP server occupies AI context long-term
- Full tool list loaded every conversation
- Token waste, and MCP itself cannot be progressively explored
Option 2: Write custom scripts yourself
- Tests user's programming skills
- High customization but lacks standards
- Each MCP has its own format/specs, high adaptation cost for both open and closed source
- Difficult to maintain and share
This Skill's Goal
Validate whether AgentSkills.io pattern applies to improving MCP usage
This concept validation attempts to port AgentSkills' successful pattern to the MCP domain:
- Can AgentSkills architecture apply to MCP server management?
- Is three-layer progressive disclosure effective in MCP scenarios?
- Is Socket-based daemon architecture more practical than direct MCP usage?
Experimental Nature
This is not a mature product, but an experiment:
- Test AgentSkills pattern applicability in MCP domain
- Explore actual effectiveness of three-layer loading
- Validate pros/cons of Daemon architecture
- Serve as reference prototype for future development
Important Disclaimer
This is a very early, rushed AI-assisted demo version with current goals:
- Validate concept feasibility
- Explore usage patterns
- Collect feedback for improvements
Not recommended for production use. Expect many issues and optimization opportunities. If you find any problems or have suggestions, please open an Issue or contribute a PR.
Core Concepts
Three-Layer Progressive Disclosure
Like AgentSkills, you don't need to load everything at once:
Layer 1: Know which servers are available
Load only basic info (name, version, status)
Usage: ~50-100 tokens
Use case: Check availability, choose server
Layer 2: Know what tools this server provides
Load tool list (names + brief descriptions)
Usage: ~200-400 tokens
Use case: Browse available tools, decide what to use
Layer 3: Load only the tools you need
Load complete input format for specific tool
Usage: ~300-500 tokens/tool
Use case: Before calling tool
Why This Approach
Assume an MCP server has 20 tools, you only need 2:
| Loading Method | Token Usage | Description |
|---|---|---|
| Load All | 6,000 | 20 tools × 300 tokens |
| Three-Layer Progressive | 850 | Metadata(50) + List(200) + 2 tools(600) |
| Savings | 86% | Only load what you need |
Development Status
Future Plans
Based on concept validation results, future directions include:
Short-term Goals
- More convenient MCP Servers management (UI, auto-discovery, one-click install)
- Implement Auth features (API Key management, permission control)
Mid-term Goals
- Enhance MCP Server tool calling experience (better error messages, parameter validation, result formatting)
- Intercept MCP Server output with customizable Script data processing, avoid massive messy data entering conversation memory
This project's direction depends on:
- Concept validation results
- Community feedback
- Actual usage needs
Feedback and suggestions welcome.
Quick Start
Prerequisites
- Node.js >= 18.0.0
- npm
1. Install from npm (Recommended)
# Install globally
npm install -g @cablate/agentic-mcp
# Verify installation
agentic-mcp --version
# Start daemon
agentic-mcp daemon start
2. Configure
Edit mcp-servers.json in the project root:
{
"servers": {
"playwright": {
"description": "Browser automation tool for web navigation, screenshots, clicks, form filling, and more",
"type": "stdio",
"command": "npx",
"args": ["@playwright/mcp@latest", "--isolated"]
}
}
}
3. Start Daemon
node dist/cli/index.js daemon start --config <config-path>
4. Test Connection
# Check daemon health
agentic-mcp daemon health
# Layer 1: Check server status
agentic-mcp metadata playwright
# Layer 2: List available tools
agentic-mcp list playwright
# Layer 3: View specific tool format
agentic-mcp schema playwright browser_navigate
5. Call Tool
agentic-mcp call playwright browser_navigate --params '{"url": "https://example.com"}'
Testing
This project uses Vitest for testing with the following test suites:
Running Tests
# Run tests in watch mode
npm test
# Run tests once
npm run test:run
# Run with coverage report
npm run test:coverage
Test Structure
tests/
├── unit/
│ ├── client.test.ts # ProgressiveMCPClient tests (12 tests)
│ ├── socket-client.test.ts # SocketClient tests (7 tests)
│ └── cli/
│ └── commands.test.ts # CLI command tests (6 tests)
Current Coverage
- Statements: 61.71%
- Branches: 47.29%
- Functions: 65.85%
- Lines: 61.53%
Test coverage focuses on core modules (client.ts, socket-client.ts). Daemon integration tests are deferred to future work.
Test Philosophy
This project follows a pragmatic progressive approach:
- Focus on happy path testing first
- Use real MCP server (
@modelcontextprotocol/server-filesystem) for integration - Mock only where necessary (e.g.,
netmodule for SocketClient) - Defer complex scenarios (daemon socket tests) to keep initial implementation simple
Usage Examples
Web Automation
Automate browser operations using Playwright MCP server:
# 1. Navigate to website
agentic-mcp call playwright browser_navigate --params '{"url": "https://www.apple.com/tw"}'
# 2. Take screenshot
agentic-mcp call playwright browser_take_screenshot
# 3. Click element
agentic-mcp call playwright browser_click --params '{"element": "Mac link", "ref": "e19"}'
Hot Reload Configuration
Reload after modifying mcp-servers.json without restarting daemon:
agentic-mcp daemon reload
Response example:
✓ Configuration reloaded
Old servers: playwright_global
New servers: playwright_global, filesystem_global
Architecture
System Architecture
+-----------------------------+
| AI / CLI Layer |
| (CLI commands) |
| - agentic-mcp metadata |
| - agentic-mcp list |
| - agentic-mcp schema |
| - agentic-mcp call |
+-----------+-----------------+
| Socket (newline-delimited JSON)
v
+-----------------------------+
| MCP Daemon (Long-Running) |
| - Maintain persistent MCP |
| connections |
| - Socket communication |
| - Manage shared sessions |
| - Support Hot Reload |
+-----------+-----------------+
| MCP Protocol
v
+-----------------------------+
| MCP Servers |
| - playwright (browser) |
| - filesystem (files) |
| - github (Git) |
| - custom servers |
+-----------------------------+
Configuration
MCP Servers Configuration
Edit mcp-servers.json:
{
"servers": {
"playwright": {
"description": "Browser automation tool for web navigation, screenshots, clicks, and form filling",
"transportType": "stdio",
"command": "npx",
"args": ["@playwright/mcp@latest", "--isolated"]
}
}
}
Configuration Notes:
description(optional): Server description for AI to understand the MCP server's purpose. If not provided, Layer 1 metadata will not include this field.
Resources
- SKILL.md - Complete usage guide
- docs/AGENT_BROWSER_DESIGN_PATTERNS.md - Design patterns learned from agent-browser
- MCP Specification
- MCP TypeScript SDK
- AgentSkills.io
This is a concept validation project, feedback welcome
Agentic MCP soruları
Agentic-MCP, MCP token kullanımını nasıl azaltır?
MCP bilgilerini üç katmanda yükler: önce sunucu meta verileri, ardından araç listeleri ve son olarak yalnızca gerçekten çağırdığınız araçlar için tam şemalar. README, bir sunucunun çok sayıda aracı olduğunda ancak sizin azına ihtiyaç duyduğunuzda yaklaşık %86 oranında token tasarrufu sağladığını belirtmektedir.
agentic-mcp hangi komutları sağlar?
Metadata, list, schema ve call için CLI komutlarının yanı sıra daemon start, health ve reload komutlarını sunar. Bu komutlar üç aşamalı bilgi paylaşım katmanına ve araç çağırma işlemine karşılık gelir.
Agentic-MCP nasıl kurulur ve başlatılır?
npm üzerinden global olarak kurun, ardından bir yapılandırma dosyası kullanarak daemon start komutuyla daemon'ı başlatın. Node.js 18 veya daha yeni bir sürüm gereklidir.
MCP server'lar nasıl yapılandırılır?
Sunucular mcp-servers.json dosyasında açıklama, transport tipi, komut ve args ile tanımlanır. Düzenleme yaptıktan sonra daemon'ı reload ederek, yeniden başlatmaya gerek kalmadan yeni sunucuların algılanmasını sağlayabilirsiniz.