Update README.md

This commit is contained in:
John Doe 2025-04-02 18:42:18 +03:00
parent dca6636455
commit de3f5d07b8
2 changed files with 21 additions and 18 deletions

View file

@ -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. 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: 1. Open the Claude Desktop configuration file:
- in MacOS, the configuration file is located at `~/Library/Application Support/Claude/claude_desktop_config.json` - in MacOS, the configuration file is located at `~/Library/Application Support/Claude/claude_desktop_config.json`
@ -55,21 +55,6 @@ Configure Claude Desktop to recognize the Exa MCP server.
> You can also find claude_desktop_config.json inside the settings of Claude Desktop app > You can also find claude_desktop_config.json inside the settings of Claude Desktop app
2. Add the server configuration 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: for Claude desktop:
```json ```json
@ -86,4 +71,19 @@ 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>"
}
}
}
}
```

View file

@ -46,4 +46,7 @@ tasks:
desc: Run linter desc: Run linter
cmd: golangci-lint run --fix ./... cmd: golangci-lint run --fix ./...
# git tag -a v0.1.1 -m "Added releases"
# git push origin v0.1.0