mcp_llm_inferencer
@Sumedh1599
mcp_llm_inferencer について
Uses Claude or OpenAI API to convert prompt-mapped input into concrete MCP server components such as tools, resource templates, and prompt handlers.
基本情報
設定
ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is mcp_llm_inferencer?
mcp_llm_inferencer is an open-source library that uses Large Language Models (LLMs) like Claude and OpenAI’s GPT to convert prompt-mapped inputs into concrete components for MCP servers, such as tools, resource templates, and prompt handlers. It is designed for developers working with MCP server environments.
How to use mcp_llm_inferencer?
Clone the repository, install with pip, and set API keys as environment variables (CLAUDE_API_KEY or OPENAI_API_KEY). Initialize the MCPInferencer class with the desired API type ('claude' or 'openai') and call generate_components(prompt) to produce MCP components. Optionally enable streaming by setting stream=True when using Claude.
Key features of mcp_llm_inferencer
- LLM call engine with built-in retry and fallback logic.
- Interchangeable support for Claude and OpenAI APIs.
- Streaming support for Claude Desktop responses.
- Tool and resource response validation before deployment.
- Structured output bundling per component.
Use cases of mcp_llm_inferencer
- Automatically generate MCP tools from natural language prompts.
- Create resource templates (e.g., for an S3 bucket) via LLM prompts.
- Build prompt handlers for MCP servers without manual coding.
- Prototype MCP server components using either Claude or OpenAI.
FAQ from mcp_llm_inferencer
What types of MCP components can it generate?
It generates tools, resource templates, and prompt handlers based on input prompts.
What are the runtime requirements?
Python 3.6 or higher and an API key from either Claude or OpenAI.
Is streaming supported?
Yes, streaming is supported for Claude Desktop by setting stream=True when initializing the inferencer.
How are API keys managed?
API keys can be passed directly to the constructor or set as environment variables (CLAUDE_API_KEY or OPENAI_API_KEY).
What is the development status?
This library is currently in early development; some tests may be failing, and contributions are welcome.
「AI とエージェント」の他のコンテンツ
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
1Panel
1Panel-dev🔥 1Panel is a modern, open-source VPS control panel — and the only one with native AI agent support. Run Ollama models, deploy OpenClaw agents, and manage your entire server stack from one clean web interface.
Mcp Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
🛡️ A.I.G(AI-Infra-Guard)
TencentA full-stack AI Red Teaming platform securing AI ecosystems via OpenClaw Security Scan, Agent Scan, Skills Scan, MCP scan, AI Infra scan and LLM jailbreak evaluation.
21st.dev Magic AI Agent
21st-devIt's like v0 but in your Cursor/WindSurf/Cline. 21st dev Magic MCP server for working with your frontend like Magic
コメント