genpark-agent-dynamic-few-shot-example-selector-skill
OfficialThis server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
genpark-agent-dynamic-few-shot-example-selector-skill
๐ GenPark MCP Hub โข ๐ฆ GenPark Official โข ๐ Documentation
๐ Overview & Capability
genpark-agent-dynamic-few-shot-example-selector-skill is a deterministic, high-performance, zero-dependency Python tool and native Model Context Protocol (MCP) server designed for autonomous AI agents, multi-agent frameworks (LangGraph, CrewAI, AutoGen, OpenAI Swarm), and developer environments (Cursor, Windsurf, Claude Desktop).
Executive Capability: Dynamic few-shot in-context exemplar selector utilizing semantic token overlap, cosine similarity and Maximal Marginal Relevance (MMR) diversity ranking for prompt optimization.
โก Key Highlights
๐ Zero External
pipDependencies: Implemented entirely with pure Python standard library for instant zero-overhead execution.๐ Native Model Context Protocol (MCP): Plugs directly into any MCP-compliant client via JSON-RPC 2.0 stdio.
โก Sub-Millisecond Execution: Slashes token burn and latency by resolving routine agent tasks deterministically without frontier LLM round-trips.
๐ก๏ธ Production-Hardened: Comprehensive error handling, boundary validation, and telemetry.
Related MCP server: Similarity Search MCP Server
๐๏ธ Architecture
graph LR
Agent([๐ค Autonomous Agent / IDE]) -->|MCP Protocol / JSON-RPC| Server[โก genpark-agent-dynamic-few-shot-example-selector-skill Server]
Server --> Core[๐ง Deterministic Processing Core]
Core --> Out[๐ Actionable Result & Telemetry]
Out --> Agent๐ Quickstart & Usage
1. Direct Python Client Execution
python example_usage.py2. Programmatic Integration
from client import AgentDynamicFewShotSelector
client = AgentDynamicFewShotSelector()
result = client.run_selector_benchmark()
print(result)๐ Model Context Protocol (MCP) Setup
Connect this skill to Claude Desktop, Cursor, or any MCP-compliant client:
claude_desktop_config.json
{
"mcpServers": {
"genpark-agent-dynamic-few-shot-example-selector-skill": {
"command": "python",
"args": ["/path/to/genpark-agent-dynamic-few-shot-example-selector-skill/mcp_server.py"]
}
}
}Direct MCP Testing
python mcp_server.py --test๐ Technical Specifications
Parameter | Type | Required | Description |
|
| Yes | Primary context, code, schema, or content input |
|
| No | Execution flags, compression ratios, or risk bounds |
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogโฆ
Related MCP Connectors
Cloud or self-hosted knowledge for AI agents: hybrid search, reranking, GraphRAG, scoped MCP tools.
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Token-efficient MCP memory for Markdown vaults. Tiered search, GraphRAG, AI memories.
Illumora Craft โ evidence-augmented prompt compile for agents via remote MCP (OAuth) or local stdio.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceOffline, zero-dependency tool-router for MCP that funnels N tools down to a ranked shortlist for a natural-language query, so the model reads ~8 tools instead of 200.MIT
- FlicenseNot gradedqualityCmaintenanceEnables stateless similarity search over pre-computed vector corpora using NMI and cosine fusion with entropy-calibrated weighting. Provides tools for ranking, scoring, outlier detection, and alpha calibration for AI agents.-
- AlicenseNot gradedqualityBmaintenanceEnables agents to optimize context-window attention by reordering retrieved documents so critical evidence lands at prompt boundaries, mitigating lost-in-the-middle degradation. It combines BM25 lexical scoring, dense vector similarity, reciprocal rank fusion, knowledge-graph expansion, and recency-decay memory caching, exposed as a zero-dependency MCP stdio server.7MIT
- FlicenseNot gradedqualityNot gradedmaintenanceEnables MCP-compatible agents and IDEs to retrieve episodic long-term memories using hybrid BM25 keyword search, semantic n-gram cosine similarity, and recency decay ranking, with deterministic zero-dependency execution.-