The context providers documented on this page have been deprecated and are no longer actively maintained. We recommend using alternative solutions or the Model Context Protocol (MCP) for similar functionality. These providers may be removed in future versions.
Deprecated Providers
The following context providers have been deprecated but are kept here for reference. If youβre currently using any of these providers, consider migrating to alternative solutions.
@Greptile
Query a Greptile index of the current repo/branch.
context:
- provider: greptile
params:
greptileToken: "..."
githubToken: "..."
{
"contextProviders": [
{
"name": "greptile",
"params": { "GreptileToken": "...", "GithubToken": "..." }
}
]
}
@Commits
Reference specific git commit metadata and diff or all of the recent commits.
context:
- provider: commit
params:
Depth: 50
LastXCommitsDepth: 10
{
"contextProviders": [
{ "name": "commit", "params": { "Depth": 50, "LastXCommitsDepth": 10 } }
]
}
The depth is how many commits will be loaded into the submenu, defaults to 50. The LastXCommitsDepth is how many recent commits will be included, defaults to 10.
@Discord
Reference the messages in a Discord channel.
context:
- provider: discord
params:
discordKey: "bot token"
guildId: "1234567890"
channels:
- id: "123456"
name: "example-channel"
- id: "678901"
name: "example-channel-2"
{
"contextProviders": [
{
"name": "discord",
"params": {
"discordKey": "bot token",
"guildId": "1234567890",
"channels": [
{ "id": "123456", "name": "example-channel" },
{ "id": "678901", "name": "example-channel-2" }
]
}
}
]
}
Make sure to include your own Bot Token, and join it to your related server . If you want more granular control over which channels are searched, you can specify a list of channel IDs to search in. If you donβt want to specify any channels, just include the guild id(Server ID) and all channels will be included. The provider only reads text channels.
Reference the conversation in a Jira issue.
context:
- provider: jira
params:
domain: company.atlassian.net
token: ATATT...
{
"contextProviders": [
{
"name": "jira",
"params": { "domain": "company.atlassian.net", "token": "ATATT..." }
}
]
}
Make sure to include your own Atlassian API Token, or use your email and token, with token set to your password for basic authentication. If you use your own Atlassian API Token, donβt configure your email.
Jira Datacenter Support
This context provider supports both Jira API version 2 and 3. It will use version 3 by default since thatβs what the cloud version uses, but if you have the datacenter version of Jira, youβll need to set the API Version to 2 using the apiVersion property.
context:
- provider: jira
params:
apiVersion: "2"
{ "contextProviders": [{ "name": "jira", "params": { "apiVersion": "2" } }] }
Issue Query
By default, the following query will be used to find issues:
assignee = currentUser() AND resolution = Unresolved order by updated DESC
You can override this query by setting the issueQuery parameter.
Max results
You can set the maxResults parameter to limit the number of results returned. The default is 50.
@Gitlab Merge Request
Reference an open MR for this branch on GitLab.
context:
- provider: gitlab-mr
params:
token: "..."
{ "contextProviders": [{ "name": "gitlab-mr", "params": { "token": "..." } }] }
You will need to create a personal access token with the read_api scope.
Using Self-Hosted GitLab
You can specify the domain to communicate with by setting the domain parameter in your configurtion. By default this is set to gitlab.com.
context:
- provider: gitlab-mr
params:
token: "..."
domain: "gitlab.example.com"
{
"contextProviders": [
{
"name": "gitlab-mr",
"params": { "token": "...", "domain": "gitlab.example.com" }
}
]
}
If you select some code to be edited, you can have the context provider filter out comments for other files. To enable this feature, set filterComments to true.
@Google
Reference the results of a Google search.
context:
- provider: google
params:
serperApiKey: <YOUR_SERPER.DEV_API_KEY>
{
"contextProviders": [
{
"name": "google",
"params": { "serperApiKey": "<YOUR_SERPER.DEV_API_KEY>" }
}
]
}
For example, type β@Google python tutorialβ if you want to search and discuss ways of learning Python.
Note: You can get an API key for free at serper.dev.
@Database Context Provider β Reference Database Table Schemas
Reference table schemas from Sqlite, Postgres, MSSQL, and MySQL databases.
context:
- provider: database
params:
connections:
- name: examplePostgres
connection_type: postgres
connection:
user: username
host: localhost
database: exampleDB
password: yourPassword
port: 5432
- name: exampleMssql
connection_type: mssql
connection:
user: username
server: localhost
database: exampleDB
password: yourPassword
- name: exampleSqlite
connection_type: sqlite
connection:
filename: /path/to/your/sqlite/database.db
{
"contextProviders": [
{
"name": "database",
"params": {
"connections": [
{
"name": "examplePostgres",
"connection_type": "postgres",
"connection": {
"user": "username",
"host": "localhost",
"database": "exampleDB",
"password": "yourPassword",
"port": 5432
}
},
{
"name": "exampleMssql",
"connection_type": "mssql",
"connection": {
"user": "username",
"server": "localhost",
"database": "exampleDB",
"password": "yourPassword"
}
},
{
"name": "exampleSqlite",
"connection_type": "sqlite",
"connection": { "filename": "/path/to/your/sqlite/database.db" }
}
]
}
}
]
}
Each connection should include a unique name, the connection_type, and the necessary connection parameters specific to each database type.
Available connection types:
Reference the conversation in a GitHub issue.
context:
- provider: issue
params:
repos:
- owner: continuedev
repo: continue
githubToken: ghp_xxx
{
"contextProviders": [
{
"name": "issue",
"params": {
"repos": [{ "owner": "continuedev", "repo": "continue" }],
"githubToken": "ghp_xxx"
}
}
]
}
Make sure to include your own GitHub personal access token to avoid being rate-limited.
Reference the markdown converted contents of a given URL.
{ "contextProviders": [{ "name": "url" }] }
@Search
Reference the results of codebase search, just like the results you would get from VS Code search.
context:
- provider: search
params:
maxResults: 100 # optional, defaults to 200
{
"contextProviders": [
{
"name": "search",
"params": {
"maxResults": 100 // optional, defaults to 200
}
}
]
}
This context provider is powered by ripgrep.
Reference relevant pages from across the web, automatically determined from your input.
Optionally, set n to limit the number of results returned (default 6).
context:
- provider: web
params:
n: 5
{ "contextProviders": [{ "name": "web", "params": { "n": 5 } }] }