mcpField
M
Mcp Client Llm

Mcp Client Llm

github.com/shaoyingchenFrameworks & SDKs1Updated 82w ago

About Mcp Client Llm

Mcp Client Llm is a MCP client framework supporting multiple API types, enabling large language models to access any API endpoint. It provides examples of local application integration configurable via environment and server configuration files.

Key features

  1. 01Support for multiple API types
  2. 02Local application integration examples
  3. 03Flexible LLM configuration

Use cases

  1. 01Connect custom APIs to LLM applications
  2. 02Deploy local MCP client instances

MCP support

This framework acts as a MCP client, allowing large models to access various APIs through configured MCP servers with an OpenAI API integration example.

Details

From the project README

Supports large models that access any API type, and provides an example of opening a local application This is a simple example of how to use the OpenAI API to create a local application that can access any API type.

#Steps:

  1. Install the necessary libraries: uv sync
  2. modify .env file with your openai api key、point、model
  3. modify servers_config.json with your server config

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.