ivannafigueroa
MCP Serverivannafigueroapublic

mcp langchain project

一个简单的 MCP 服务器,提供运行终端命令的功能。

Repository Info

0
Stars
0
Forks
0
Watchers
0
Issues
Python
Language
-
License

About This Server

一个简单的 MCP 服务器,提供运行终端命令的功能。

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

MCP Terminal Server

A simple MCP server that exposes a tool for running terminal commands.

Installation

  1. Install the MCP Python SDK:
pip install mcp

Usage

  1. Start the server:
python server.py
  1. Connect to the server in an MCP-compatible client, such as Claude Desktop:
mcp install server.py

Or use the MCP Inspector to test it:

mcp dev server.py

Tool Overview

This server exposes one tool:

terminal_command

Runs a terminal command and returns its output.

Parameters:

  • command: The command to run in the terminal

Returns:

  • A dictionary containing:
    • stdout: The standard output from the command
    • stderr: The standard error output from the command
    • return_code: The command's return code (0 typically means success)

Example Usage in Claude:

Can you list the files in the current directory using the terminal tool?

Security Considerations

This tool executes commands directly on your system. Use with caution as it can run any command with the same permissions as the user running the server.

Limitations

  • Commands timeout after 30 seconds
  • For security reasons, consider implementing additional validation and restrictions on the commands that can be executed

Quick Start

1

Clone the repository

git clone https://github.com/ivannafigueroa/mcp-langchain-project
2

Install dependencies

cd mcp-langchain-project
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerivannafigueroa
Repomcp-langchain-project
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation