Skip to content

Conversation

@RhysSullivan
Copy link

@RhysSullivan RhysSullivan commented Jan 4, 2026

👋 Hey just recently started using oh-my-opencode & thought it'd be useful to add https://answeroverflow.com/mcp as a default MCP

It indexes content from developer Discord servers, similar vein to context7 but allows for the agent to get up to date information about problems people are running into. I develop with it a lot locally and find it useful - fair disclosure I develop Answer Overflow so feel free to reject this one if it seems self promotey / doesn't seem helpful but I think it's good for the agents

Tested locally by building oh-my-opencode & using it as a plugin, let me know if there's any MCP tweaks requested also

======= AI Generated Summary Below =======

Summary

  • Add answeroverflow.com MCP integration for searching indexed Discord community discussions
  • Provides access to real developer Q&A from Discord servers

Tools Provided

Tool Description
answeroverflow_search_answeroverflow Search across all indexed Discord communities
answeroverflow_search_servers Discover indexed Discord servers
answeroverflow_get_thread_messages Get full thread context
answeroverflow_find_similar_threads Find related discussions

Changes

  • src/mcp/answeroverflow.ts - New MCP config pointing to https://answeroverflow.com/mcp
  • src/mcp/types.ts - Added answeroverflow to McpNameSchema
  • src/mcp/index.ts - Import and register in allBuiltinMcps
  • src/cli/doctor/checks/mcp.ts - Added to BUILTIN_MCP_SERVERS
  • src/cli/doctor/checks/mcp.test.ts - Updated test assertions (3→4 servers)
  • assets/oh-my-opencode.schema.json - Regenerated

Testing

  • bun run typecheck passes
  • bun run build succeeds
  • MCP tests pass (8/8)
  • Verified all 4 tools work via direct invocation

Usage

Disable via config if needed:

{
  "disabled_mcps": ["answeroverflow"]
}

Summary by cubic

Adds the Answer Overflow MCP to search indexed Discord community Q&A directly from the app. It’s enabled by default and expands builtin MCP coverage.

  • New Features
    • New remote MCP at https://answeroverflow.com/mcp with four tools: search discussions, discover servers, get thread messages, find similar threads.
    • Registered as a builtin; doctor check and tests updated to expect 4 builtin servers.
    • Updated schema and types to include "answeroverflow". Disable via config: disabled_mcps: ["answeroverflow"].

Written for commit 09872fc. Summary will update on new commits.

Add answeroverflow.com MCP integration providing access to indexed Discord
community discussions. This enables searching real developer Q&A from
Discord servers indexed by Answer Overflow.

Tools provided:
- search_answeroverflow: Search across all indexed Discord communities
- search_servers: Discover indexed Discord servers
- get_thread_messages: Get full thread context
- find_similar_threads: Find related discussions

Changes:
- Add src/mcp/answeroverflow.ts with remote MCP config
- Update McpNameSchema to include answeroverflow
- Register in allBuiltinMcps
- Update doctor checks and tests for 4 builtin MCPs
- Regenerate schema
@github-actions
Copy link
Contributor

github-actions bot commented Jan 4, 2026

All contributors have signed the CLA. Thank you! ✅
Posted by the CLA Assistant Lite bot.

@RhysSullivan
Copy link
Author

I have read the CLA Document and I hereby sign the CLA

@RhysSullivan RhysSullivan marked this pull request as ready for review January 4, 2026 17:19
github-actions bot added a commit that referenced this pull request Jan 4, 2026
@greptile-apps
Copy link

greptile-apps bot commented Jan 4, 2026

Greptile Summary

Adds Answer Overflow MCP as the fourth builtin MCP server, enabling Discord community Q&A search.

  • New MCP Integration: Registers answeroverflow remote MCP at https://answeroverflow.com/mcp following the exact pattern of existing MCPs (context7, websearch_exa, grep_app)
  • Complete Integration: Updates all required touchpoints:
    • Type system (McpNameSchema enum)
    • MCP registry (allBuiltinMcps)
    • Doctor health checks (BUILTIN_MCP_SERVERS)
    • Test assertions (3→4 servers)
    • JSON schema generation
  • Consistency: Implementation is identical to other builtin MCPs - simple remote config with URL and enabled flag
  • No Breaking Changes: Purely additive; users can disable via disabled_mcps: ["answeroverflow"] config

Confidence Score: 5/5

  • Safe to merge - straightforward additive change following established patterns with no risks
  • Perfect implementation: follows exact MCP registration pattern used by 3 existing MCPs, updates all necessary files (types, index, doctor checks, tests, schema), no logic changes to existing code, purely additive feature that can be disabled by users
  • No files require special attention

Important Files Changed

Filename Overview
src/mcp/answeroverflow.ts New MCP config following established pattern - remote server at https://answeroverflow.com/mcp, enabled by default
src/mcp/types.ts Added answeroverflow to McpNameSchema enum - type-safe MCP name registration
src/mcp/index.ts Imported and registered answeroverflow in allBuiltinMcps - proper integration
src/cli/doctor/checks/mcp.ts Added answeroverflow to BUILTIN_MCP_SERVERS constant for health checks
src/cli/doctor/checks/mcp.test.ts Updated test assertions from 3→4 servers, added answeroverflow assertions

Sequence Diagram

sequenceDiagram
    participant User
    participant Config as Config Manager
    participant Index as mcp/index.ts
    participant AO as answeroverflow.ts
    participant Doctor as doctor/checks/mcp.ts
    participant OpenCode as OpenCode Runtime

    User->>Config: Load oh-my-opencode config
    Config->>Index: createBuiltinMcps(disabledMcps)
    Index->>Index: Check if 'answeroverflow' in disabledMcps
    alt answeroverflow enabled
        Index->>AO: Import answeroverflow config
        AO-->>Index: {type: "remote", url: "https://answeroverflow.com/mcp", enabled: true}
        Index-->>Config: Return MCP configs including answeroverflow
        Config->>OpenCode: Register answeroverflow MCP
        OpenCode->>OpenCode: Connect to https://answeroverflow.com/mcp
        OpenCode-->>User: 4 tools available: search, search_servers, get_thread_messages, find_similar_threads
    else answeroverflow disabled
        Index-->>Config: Return MCP configs without answeroverflow
    end
    
    User->>Doctor: Run 'bun doctor'
    Doctor->>Doctor: Check BUILTIN_MCP_SERVERS includes 'answeroverflow'
    Doctor-->>User: Report 4 builtin MCPs enabled
Loading

@greptile-apps
Copy link

greptile-apps bot commented Jan 4, 2026

Greptile found no issues!

From now on, if a review finishes and we haven't found any issues, we will not post anything, but you can confirm that we reviewed your changes in the status check section.

This feature can be toggled off in your Code Review Settings by deselecting "Create a status check for each PR".

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 6 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant