Documentation
Complete documentation for the autoplans.dev platform, including API reference, MCP server integration, and feature guides.
API Reference
The autoplans.dev API provides programmatic access to project management, task management, and AI planning functionality with both session-based and API key authentication.
Base URL
https://app.autoplans.dev/api/v1Authentication
Authorization: Bearer apk_live_xxxCore Endpoints
/api/v1/keysCreate a new API key with scopes
/api/v1/projectsList all projects with pagination and filters
/api/v1/projectsCreate a new project
/api/v1/projects/:id/tasksList tasks in a project
/api/v1/projects/:id/tasksCreate a new task
/api/v1/projects/:id/planGenerate AI-powered project plan
API Scopes
projects:readRead project information
projects:writeManage projects
tasks:readRead task information
tasks:writeManage tasks
ai:executeExecute AI planning
admin:accessAdmin panel access
Rate Limits
Code Examples
const response = await fetch('https://app.autoplans.dev/api/v1/projects', {
method: 'POST',
headers: {
'Authorization': 'Bearer apk_live_xxx',
'Content-Type': 'application/json'
},
body: JSON.stringify({ name: 'My Project' })
});response = requests.post(
'https://app.autoplans.dev/api/v1/projects',
headers={'Authorization': 'Bearer apk_live_xxx'},
json={'name': 'My Project'}
)MCP Server
The Model Context Protocol (MCP) Server enables GitHub Copilot, Claude Desktop, and other AI tools to interact with autoplans.dev through a standardized protocol.
Seamless Integration
Works with GitHub Copilot, Claude Desktop, and MCP-compatible clients
Comprehensive Tools
Access all autoplans.dev functionality through MCP tools
Real-time Data
Read project and task data as MCP resources
Secure Authentication
API key-based auth with fine-grained scopes
Installation
npm install -g @autoplans/mcp-serverautoplans-mcp-serverAvailable MCP Tools
create_projectCreate a new project
list_projectsList all projects
get_projectGet project details
create_taskCreate a new task
list_tasksList project tasks
generate_planAI-powered planning
GitHub Copilot Usage
Once configured, use @autoplans in GitHub Copilot Chat:
@autoplans create a project called 'E-commerce Platform'@autoplans generate a plan for implementing user auth@autoplans show me all my projects@autoplans create a high-priority task 'Implement OAuth'Platform Features
AI Planning Agent
Conversational AI transforms project descriptions into structured task breakdowns with LangChain + OpenRouter
Auto-Execution
Temporal workflows orchestrate long-running tasks with automatic GitHub integration
PR Automation
AI agents create branches, commit code, and open pull requests automatically
Chat Interface
Real-time WebSocket-powered chat for interactive AI planning sessions
Brand Generator
AI-powered branding assistant creates logos, color schemes, and design systems
Token Tracking
Monitor AI token usage across tiers with real-time alerts and usage analytics
GitHub Integration
OAuth authentication, profile sync, and repository management
Billing (Polar.sh)
Subscription management with Polar.sh integration for payments
Admin Panel
Comprehensive admin dashboard for user, project, and system management
User Guides
Getting Started
SetupComplete setup guide for running autoplans.dev locally with Docker, MySQL, Redis, and Temporal
API Integration Guide
DevelopmentLearn how to integrate autoplans.dev API into your applications with examples
MCP Quick Start
IntegrationSet up GitHub Copilot integration with the MCP server in minutes
AI Agent Testing
TestingBest practices for testing AI agents, planning workflows, and task execution
GitHub Integration
SetupConfigure GitHub OAuth, repository access, and webhook handling
Error Handling
DevelopmentComprehensive guide to error codes, handling patterns, and debugging
Architecture
autoplans.dev is built as a pnpm workspace monorepo with VPS-based deployment:
Tech Stack
- •Next.js 16 (App Router) + React 19
- •MySQL 8.0 + Prisma ORM
- •Redis (sessions, caching, rate limiting)
- •Temporal (workflow orchestration)
- •LangChain + OpenRouter (AI)
- •GitHub App Integration
Monorepo Structure
- •packages/web - Next.js frontend + API
- •packages/shared - Shared utilities & DB
- •packages/temporal - Workflow workers
- •packages/mcp-server - MCP integration
- •pnpm workspace configuration
Key Architectural Decisions
- •VPS-hosted monolith - Single server deployment with all services co-located
- •Multi-subdomain architecture - app.*, admin.*, docs.* subdomains with Nginx reverse proxy
- •Temporal for orchestration - Durable workflows for long-running AI tasks
- •OpenRouter for AI - Multi-model LLM access (GPT-4, Claude, etc.)
- •Redis for real-time - WebSocket pub/sub, session management, rate limiting
Need Help?
Get support, report issues, or contribute to the project