llamaindex.com
llamaindex.com logo

LlamaIndex

Integrates with LlamaIndexTS to provide access to various LLM providers for code generation, documentation writing, and...

Created byApr 22, 2025

MCP LLM

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:

Manual Install From Source

  1. Clone the repository
  1. Install dependencies:
  1. Build the project:
  1. Update your MCP configuration

Using the Example Script

The repository includes an example script that demonstrates how to use the MCP server programmatically:
This script starts the MCP server and sends requests to it using curl commands.

Examples

Generate Code

Generate Code to File

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

Ask Question

License

  • MIT LICENSE

MCP LLM

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:

Manual Install From Source

  1. Clone the repository
  1. Install dependencies:
  1. Build the project:
  1. Update your MCP configuration

Using the Example Script

The repository includes an example script that demonstrates how to use the MCP server programmatically:
This script starts the MCP server and sends requests to it using curl commands.

Examples

Generate Code

Generate Code to File

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

Ask Question

License

  • MIT LICENSE