Update README.md
This commit is contained in:
parent
dca6636455
commit
de3f5d07b8
2 changed files with 21 additions and 18 deletions
34
README.md
34
README.md
|
|
@ -43,9 +43,9 @@ Before you can use the server, you need to connect to the Telegram API.
|
|||
|
||||
The password may be required if you have two-factor authentication enabled.
|
||||
|
||||
### Claude Desktop Configuration
|
||||
### Client Configuration
|
||||
|
||||
Configure Claude Desktop to recognize the Exa MCP server.
|
||||
Example of Configuring Claude Desktop to recognize the Telegram MCP server.
|
||||
|
||||
1. Open the Claude Desktop configuration file:
|
||||
- in MacOS, the configuration file is located at `~/Library/Application Support/Claude/claude_desktop_config.json`
|
||||
|
|
@ -56,21 +56,6 @@ Configure Claude Desktop to recognize the Exa MCP server.
|
|||
|
||||
2. Add the server configuration
|
||||
|
||||
for Cursor:
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"telegram-mcp": {
|
||||
"command": "telegram-mcp",
|
||||
"env": {
|
||||
"TG_APP_ID": "<your-app-id>",
|
||||
"TG_API_HASH": "<your-api-hash>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
for Claude desktop:
|
||||
```json
|
||||
{
|
||||
|
|
@ -87,3 +72,18 @@ Configure Claude Desktop to recognize the Exa MCP server.
|
|||
}
|
||||
}
|
||||
```
|
||||
|
||||
for Cursor:
|
||||
```json
|
||||
{
|
||||
"mcpServers": {
|
||||
"telegram-mcp": {
|
||||
"command": "telegram-mcp",
|
||||
"env": {
|
||||
"TG_APP_ID": "<your-app-id>",
|
||||
"TG_API_HASH": "<your-api-hash>"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
|
@ -46,4 +46,7 @@ tasks:
|
|||
desc: Run linter
|
||||
cmd: golangci-lint run --fix ./...
|
||||
|
||||
# git tag -a v0.1.1 -m "Added releases"
|
||||
# git push origin v0.1.0
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue