MCP.so
登录

MCP Llm Inferencer

@Sumedh1599

基本信息

分类

AI 与智能体

传输方式

stdio

作者

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.

#open-source#machine-learning#library#ai#llm-call-engine-with#supports-claude-and#streaming-support-fo#tool-and-resource-re#structured-output-bu

MCP Llm Inferencer 配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

MCP Llm Inferencer 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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.

常见问题

1

What types of MCP components can it generate?

It generates tools, resource templates, and prompt handlers based on input prompts.

2

What are the runtime requirements?

Python 3.6 or higher and an API key from either Claude or OpenAI.

3

Is streaming supported?

Yes, streaming is supported for Claude Desktop by setting `stream=True` when initializing the inferencer.

4

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`).

5

What is the development status?

This library is currently in early development; some tests may be failing, and contributions are welcome.

评论

AI 与智能体 分类下的更多 MCP 服务器