LLM Server – README | MCP Marketplace

✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

MCP LLM

smithery badge

An MCP server that provides access to LLMs using the LlamaIndexTS library.

I put some LLMs in your MCP for your LLMs

Features

This MCP server provides the following tools:

  • generate_code: Generate code based on a description
  • generate_code_to_file: Generate code and write it directly to a file at a specific line number
  • generate_documentation: Generate documentation for code
  • ask_question: Ask a question to the LLM

call a llm to generate code call a reasoning llm to write some documentation

Installation

Installing via Smithery

To install LLM Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @sammcj/mcp-llm --client claude

Manual Install From Source

  1. Clone the repository
  2. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Update your MCP configuration

Using the Example Script

The repository includes an example script that demonstrates how to use the MCP server programmatically:

node examples/use-mcp-server.js

This script starts the MCP server and sends requests to it using curl commands.

Examples

Generate Code

{
  "description": "Create a function that calculates the factorial of a number",
  "language": "JavaScript"
}

Generate Code to File

{
  "description": "Create a function that calculates the factorial of a number",
  "language": "JavaScript",
  "filePath": "/path/to/factorial.js",
  "lineNumber": 10,
  "replaceLines": 0
}

The generate_code_to_file tool supports both relative and absolute file paths. If a relative path is provided, it will be resolved relative to the current working directory of the MCP server.

Generate Documentation

{
  "code": "function factorial(n) {n  if (n <= 1) return 1;n  return n * factorial(n - 1);n}",
  "language": "JavaScript",
  "format": "JSDoc"
}

Ask Question

{
  "question": "What is the difference between var, let, and const in JavaScript?",
  "context": "I'm a beginner learning JavaScript and confused about variable declarations."
}

License

  • MIT LICENSE

LLM Server

346 GitHub stars

Project Details

Recomended MCP Servers

🧩
Paddle MCP Server

Interact with the Paddle API using AI assistants like Claude, or in AI-powered IDEs like Cursor. Manage product...

🧩
Webscan

A Model Context Protocol (MCP) server for web content scanning and analysis. This server provides tools for fetching,...

Persistent Knowledge Graph
Persistent Knowledge Graph

MCP server enabling persistent memory for Claude through a local knowledge graph - fork focused on local development

IDA Pro MCP Server
IDA Pro MCP Server

A Model Context Protocol (MCP) server that enables AI assistants to interact with IDA Pro for reverse engineering...

Agent Care
Agent Care

MCP Server for EMRs with FHIR

🧩
Blender Script Manager
LibSQL Memory
LibSQL Memory

🧠 High-performance persistent memory system for Model Context Protocol (MCP) powered by libSQL. Features vector search, semantic knowledge...

🧩
Secops MCP

All-in-one security testing toolbox that brings together popular open source tools through a single MCP interface. Connected to...

FastAPI-MCP
FastAPI-MCP

A zero-configuration tool for automatically exposing FastAPI endpoints as Model Context Protocol (MCP) tools.

Elasticsearch MCP Server
Elasticsearch MCP Server

Elasticsearch MCP server with available features including mappings management, search and indexing, and index management etc.

🧩
Excalidraw MCP Server

Model Context Protocol (MCP) server for Excalidraw - Work in Progress

Local MCP Server
Local MCP Server

大家好!我是功能丰富的 MCP 服务,旨在打破设备与服务的隔阂,为用户带来便捷体验。 天气工具和气象平台联动,快速为用户推送全球实时天气,助力大家规划出行。控制浏览器工具模拟人工操作,自动搜索、浏览网页,大幅节省时间。摄像头工具调用本地摄像头拍照、录像,实现人脸识别,保障家庭安防。 为实现工具协同,我搭建了稳定框架,开发者可以基于现有服务进行拓展

Featured Templates

View More
AI Characters
Your Speaking Avatar
168 684
AI Characters
Sarcastic AI Chat Bot
128 1440
AI Assistants
Image to text with Claude 3
150 1122
Customer service
Multi-language AI Translator
135 645
AI Agents
AI Video Generator
249 1347 5.0

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.