simon-ai
v1.2.3
Published
A Model Context Protocol server that provides claude-like command execution capabilities
Downloads
64
Maintainers
Readme
Simon MCP Server
A Model Context Protocol (MCP) server that provides a simple AI assistant tool.
Features
- Simple AI Tool: Basic AI assistant functionality
- Easy Integration: Simple npm package installation and MCP configuration
Installation
Option 1: Install from npm (Recommended)
# Install globally
npm install -g simon-ai
# Or use with npx (no installation required)
npx simon-aiOption 2: Build from source
- Clone this repository:
git clone <repository-url>
cd simon-mcp- Install dependencies:
npm install- Build the project:
npm run buildMCP Configuration
Add to your MCP client configuration:
{
"mcpServers": {
"simon": {
"command": "npx",
"args": ["-y", "simon-ai"],
"env": {
"SIMON_PROJECT_PATH": "/path/to/your/project"
}
}
}
}Usage
Available Tools
claude Tool
Simple AI assistant tool:
// Basic usage
claude({
request: "Your request here"
})Parameter Description
| Field | Type | Required | Description |
|-------|------|----------|-------------|
| request | string | ✅ | Your request content |
Configuration
Environment Variables
SIMON_PROJECT_PATH- Default project path for operations
Examples
Basic Usage
claude "Your request here"With Project Mode (-p flag)
claude "查询武汉当前的天气情况" -pParameters
request(required): Your request contentproject(boolean): Enable project mode - work within project contextprojectPath(string): Specify custom project pathcontext(string): Additional context informationdryRun(boolean): Show what would be done without executingverbose(boolean): Enable verbose output
Command Flags
-p: Project mode - work within project context--project <path>: Specify project path--context <info>: Additional context information--dry-run: Show what would be done without executing--verbose: Enable verbose output
Integration with MCP Clients
Once configured, you can use the claude tool in your MCP-enabled AI assistant with any request.
Development
Building from Source
git clone <repository>
cd simon-mcp
npm install
npm run buildRunning in Development
npm run devTesting
# Test with MCP inspector
npx @modelcontextprotocol/inspector node dist/index.jsLicense
MIT
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
