Tutorial 6 of 786% complete
10 minIntermediate
MCP Tools Reference
Complete tool documentation
MCP Tools Reference: Complete Guide to 90+ Tools
Duration: 10 minutes | Difficulty: Intermediate
What is MCP?
Model Context Protocol (MCP) is how AI tools communicate with external services. Continuity provides 90+ tools through MCP that your AI assistant can call directly.
┌─────────────────────────────────────────────────────────────┐ │ MCP ARCHITECTURE │ ├─────────────────────────────────────────────────────────────┤ │ │ │ Claude Code / Cursor / Cline │ │ ↓ │ │ MCP Protocol │ │ ↓ │ │ ┌─────────────────────────────────────────┐ │ │ │ Continuity MCP Server │ │ │ │ ├── Decision Tools (15) │ │ │ │ ├── Session Tools (5) │ │ │ │ ├── Context Tools (8) │ │ │ │ ├── Code Intelligence (10) │ │ │ │ ├── Project Analysis (12) │ │ │ │ ├── Browser/Dev Server (15) │ │ │ │ ├── Testing Tools (5) │ │ │ │ ├── Team Collaboration (20) │ │ │ │ └── Export/Analytics (10) │ │ │ └─────────────────────────────────────────┘ │ │ ↓ │ │ .continuity/decisions.json │ │ │ └─────────────────────────────────────────────────────────────┘
Tool Profiles
Choose how many tools to expose:
| Profile | Tools | Best For |
|---|---|---|
| Core | 12 | Basic usage, minimal noise |
| Standard | 29 | Most users, balanced |
| Full | 92 | Power users, all features |
Configure in VS Code settings:
json
{
"continuity.mcpToolProfile": "standard"
}
Decision Tools
Core Decision Operations
| Tool | Purpose | Example |
|---|---|---|
log_decision | Create new decision | Log why you chose PostgreSQL |
search_decisions | Find decisions | Search for "database" |
update_decision | Modify existing | Change status to deprecated |
list_all_decisions | Browse all | Get last 50 decisions |
Advanced Decision Tools
| Tool | Purpose |
|---|---|
get_decision_history | Version history of a decision |
search_decisions_semantic | Pure semantic search (Pro) |
get_decisions_by_subject | Filter by topic |
get_attention_needed | Find stale/outdated decisions |
Example: Logging a Decision
output
@continuity log_decision
question="Why did we choose Redis for caching?"
answer="Sub-millisecond reads, built-in TTL, horizontal scaling with Cluster"
tags=["caching", "redis", "infrastructure"]
priority="high"
files=["src/cache/redis-client.ts"]
Session Tools
| Tool | Purpose |
|---|---|
read_session_notes | Get current session notes |
update_session_notes | Add/modify notes |
set_session_subject | Set conversation topic |
get_session_subject | Get current topic |
Example: Updating Session Notes
output
@continuity update_session_notes
section="blockers"
content="TypeScript errors in auth module after upgrade"
mode="append"
Context Tools
| Tool | Purpose |
|---|---|
get_quick_context | Fast project summary |
get_project_map | Full project structure |
load_context_section | Load specific context area |
list_context_sections | See available sections |
optimize_context | Reduce token usage |
get_token_metrics | Token savings stats |
Example: Quick Context Load
output
@continuity get_quick_context
Returns:
- Project name and type
- Total decisions (800+)
- Recent 5 decisions
- Session goals
- Known topics
Code Intelligence Tools
| Tool | Purpose |
|---|---|
link_decision_to_code | Connect decision to file/line |
unlink_decision_from_code | Remove code link |
get_code_links | See all decision-code mappings |
get_decision_impact | What code is affected by decision |
get_code_context | What decisions relate to a file |
find_symbol | Find function/class definition |
get_symbol_references | Find all usages of symbol |
get_file_structure | Exports, functions, classes in file |
check_refactoring_safety | Safe to modify this file? |
check_before_modifying | Pre-change safety check |
Example: Linking Decision to Code
output
@continuity link_decision_to_code
decisionId="decision-123"
file="src/auth/jwt-handler.ts"
line=45
symbol="validateToken"
symbolType="Function"
Example: Checking Refactoring Safety
output
@continuity check_refactoring_safety
files=["src/core/database.ts", "src/core/cache.ts"]
Returns:
- Safety status
- Linked decisions
- Impact assessment
- Recommendations
Project Analysis Tools
| Tool | Purpose |
|---|---|
get_project_map | Directory structure, deps, symbols |
find_symbols | Search for code symbols |
get_impact_radius | Blast radius of file changes |
start_onboarding | 7-step project analysis |
Example: Understanding Impact
output
@continuity get_impact_radius
filePath="src/services/DecisionLogger.ts"
Returns:
- All files that depend on this file
- Transitive dependencies
- Scope of potential breakage
Browser & Dev Server Tools
| Tool | Purpose |
|---|---|
start_dev_server | Launch npm run dev, vite, etc. |
stop_dev_server | Stop running server |
get_dev_server_status | Check if server is running |
connect_browser | Connect to Chrome for debugging |
disconnect_browser | Close browser connection |
get_console_messages | Get browser console output |
get_console_errors | Get console.error messages |
get_network_errors | Get failed HTTP requests |
execute_js | Run JavaScript in browser |
inspect_element | Get element properties/styles |
take_screenshot | Capture page or element |
analyze_performance | Lighthouse Core Web Vitals |
analyze_seo | SEO and accessibility audit |
detect_bottlenecks | Find performance issues |
Example: Starting Dev Server
output
@continuity start_dev_server
Auto-detects and runs:
- npm run dev
- vite
- next dev
- etc.
Example: Debugging Console Errors
output
@continuity connect_browser url="http://localhost:3000"
@continuity get_console_errors type="error" limit=10
Testing Tools
| Tool | Purpose |
|---|---|
run_tests | Execute test suite |
get_test_results | Latest test results |
get_coverage_report | Code coverage stats |
find_untested_code | Files without tests |
suggest_test_cases | AI test suggestions |
Example: Running Tests
output
@continuity run_tests
coverage=true
Returns:
- Passed/failed/skipped counts
- Individual test results
- Coverage percentages
Team Collaboration Tools (Pro)
| Tool | Purpose |
|---|---|
team_register | Create team account |
team_login / team_logout | Auth |
team_list / team_create / team_join | Team management |
team_sync_push / team_sync_pull | Sync decisions |
get_team_sync_status | Sync health |
get_team_members | List members |
get_team_analytics | Team metrics |
get_contributor_leaderboard | Top contributors |
search_cross_repo | Search across repos |
Review Workflow Tools (Pro)
| Tool | Purpose |
|---|---|
submit_for_review | Request peer review |
approve_decision | Approve pending decision |
reject_decision | Reject with feedback |
request_changes | Ask for modifications |
add_decision_comment | Threaded comments |
get_pending_reviews | Your review queue |
get_workflow_stats | Approval metrics |
Export & Analytics Tools
| Tool | Purpose |
|---|---|
export_to_pdf | Generate PDF document |
export_to_confluence | Push to Confluence |
export_to_notion | Create Notion database |
export_analytics | Export metrics (JSON/CSV/MD) |
get_compliance_metrics | Decision logging compliance |
get_tag_cloud | Tag visualization data |
get_activity_heatmap | GitHub-style activity |
get_decision_velocity | Logging rate over time |
Utility Tools
| Tool | Purpose |
|---|---|
get_mcp_logs | Debug MCP server |
diagnose_license | Check license status |
get_process_tree | Running processes |
get_known_subjects | All recognized topics |
clear_decisions | Delete decisions (Pro, dangerous) |
MCP Resources
Besides tools, Continuity exposes resources:
| Resource | Purpose |
|---|---|
continuity://session-handoff | Full project context |
continuity://decisions | Decision database |
continuity://ai-usage-guide | How to use Continuity |
continuity://ai-instructions | Real-time hints |
Calling Tools in Different AI Clients
Claude Code
output
@continuity log_decision question="..." answer="..."
Cursor
output
@continuity search_decisions query="authentication"
Cline
output
Use the log_decision tool from @continuity
The syntax varies slightly, but all MCP-compatible tools work the same way.
Tool Usage Patterns
Start of Session
output
1. @continuity get_quick_context
2. @continuity read_session_notes
During Development
output
3. @continuity search_decisions query="relevant topic"
4. @continuity log_decision (when making choices)
5. @continuity update_session_notes (track progress)
End of Session
output
6. @continuity update_session_notes section="next_steps"
Key Takeaways
- •90+ tools available through MCP
- •Tool profiles control which tools are exposed
- •Core tools handle decisions and context
- •Pro tools add team, review, analytics
- •All local - no external API calls