Skip to main content

Overview

Connect ChatGPT to CodeAlive’s remote MCP server with browser OAuth. The older Custom GPT Actions integration remains available as an API-key fallback.

Prerequisites

  • ChatGPT Business, Enterprise, or Edu workspace with custom MCP apps enabled
  • CodeAlive account (Sign up here)
  • Indexed repositories in your CodeAlive dashboard

Integration Methods

Usage Examples

Architecture Analysis

Code Generation

Advanced Configuration

Custom GPT Capabilities

Configure your GPT with specific capabilities:

Rate Limiting

Be aware of rate limits:
  • ChatGPT has limits on Actions calls per conversation
  • CodeAlive API has rate limits based on your plan
  • Use specific queries to minimize API calls

Privacy Settings

For team/enterprise accounts:
  1. Control data sharing in GPT settings
  2. Set action permissions (private, team, public)
  3. Configure audit logging if required

Sharing Your GPT

Make it Public

  1. Go to GPT settings
  2. Click “Publish” → “Public”
  3. Share the GPT link with others
  4. Users will need their own CodeAlive API key

Team Sharing

For ChatGPT Team/Enterprise:
  1. Set visibility to “Anyone at [Your Organization]”
  2. Team members can use shared authentication
  3. Centrally manage API keys

Best Practices

Specific Queries

Use precise search terms to get relevant results

Context Windows

Be mindful of token limits when searching large codebases

Caching

Reuse search results within the same conversation

Security

Never share API keys in conversation

Troubleshooting

Solutions:
  1. Verify API key is correct
  2. Check key hasn’t expired
  3. Ensure Bearer prefix is included
  4. Regenerate key if needed
Solutions:
  1. Verify repositories are indexed
  2. Check search query syntax
  3. Test API directly with curl
  4. Check rate limits
Solutions:
  1. Explicitly ask to “use CodeAlive”
  2. Check action is enabled
  3. Verify OpenAPI schema is valid
  4. Review GPT instructions
Solutions:
  1. Reduce frequency of searches
  2. Use more specific queries
  3. Upgrade CodeAlive plan
  4. Cache results when possible
For more solutions, see the Troubleshooting Guide.

Limitations

Current Limitations:
  • ChatGPT can’t maintain persistent connections
  • Actions have timeout limits (30 seconds)
  • Token limits may truncate large responses
  • No real-time code updates

Alternatives

If ChatGPT doesn’t meet your needs, consider:

Claude Code

Native MCP support with real-time updates

Cursor

IDE-integrated AI with MCP

Continue

Open-source alternative with MCP

API Direct

Build custom integration

Instruct Your Agent

Connecting CodeAlive makes its tools available, but the agent may still default to its built-in search. For reliable results, add a short instruction in the agent’s native format telling it to prefer semantic_search and grep_search when exploring indexed code. See Instructing Coding Agents.