Skip to main content
Glama
__main__.py914 B
import argparse import asyncio from aider_mcp_server.server import serve from aider_mcp_server.atoms.utils import DEFAULT_EDITOR_MODEL def main(): # Create the argument parser parser = argparse.ArgumentParser(description="Aider MCP Server - Offload AI coding tasks to Aider") # Add arguments parser.add_argument( "--editor-model", type=str, default=DEFAULT_EDITOR_MODEL, help=f"Editor model to use (default: {DEFAULT_EDITOR_MODEL})" ) parser.add_argument( "--current-working-dir", type=str, required=True, help="Current working directory (must be a valid git repository)" ) args = parser.parse_args() # Run the server asynchronously asyncio.run(serve( editor_model=args.editor_model, current_working_dir=args.current_working_dir )) if __name__ == "__main__": main()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/disler/aider-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server