We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thomaswtwrt/smar-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server
CLAUDE.mdā¢3.44 kB
# CLAUDE.md
This file contains configuration and instructions for Claude to help with this repository.
## Repository Overview
This repository contains a Smartsheet Model Context Protocol (MCP) server that provides tools for interacting with the Smartsheet API.
## GitHub CLI Setup and Authentication
To use GitHub CLI (gh) commands, you need to authenticate first:
```bash
# Log in to GitHub CLI
gh auth login
# Follow the prompts to complete authentication
# This will open a browser window and ask for a one-time code
```
## GitHub Commands
### Creating Issues
```bash
# Basic issue creation
gh issue create --title "Issue title" --body "Issue description"
# With labels and assignees
gh issue create --title "Issue title" --body "Issue description" --label "bug,enhancement" --assignee "username"
```
### Creating Pull Requests
```bash
# Basic PR creation
gh pr create --title "PR title" --body "PR description"
# With reviewers and labels
gh pr create --title "PR title" --body "PR description" --reviewer "username" --label "enhancement"
# Using a HEREDOC for better formatting of the PR body
gh pr create --title "PR title" --body "$(cat <<'EOF'
## Summary
Summary text here
## Test plan
- Testing details
EOF
)"
```
### Updating Pull Requests
```bash
# Update title and body
gh pr edit [PR number] --title "New title" --body "New description"
# Add/remove labels
gh pr edit [PR number] --add-label "enhancement" --remove-label "bug"
# Add/remove reviewers
gh pr edit [PR number] --add-reviewer "username" --remove-reviewer "another-user"
```
### Fetching PR Comments
```bash
# View PR with comments
gh pr view [PR number] --comments
# Get comments in JSON format
gh pr view [PR number] --comments --json comments
```
### Adding Comments to PRs
```bash
# Add a comment to a PR
gh pr comment [PR number] --body "This looks good!"
```
## Git Workflow
### Creating a new branch
```bash
# Create and switch to a new branch
git checkout -b feature/branch-name
```
### Committing changes with conventional commit messages
```bash
# Stage changes
git add .
# Commit with conventional format
git commit -m "$(cat <<'EOF'
feat: short summary of changes
- Detailed bullet point 1
- Detailed bullet point 2
š¤ Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
```
### Pushing and creating a PR
```bash
# Push with branch tracking
git push -u origin feature/branch-name
# Create PR using the GitHub CLI
gh pr create --title "PR Title" --body "PR description"
```
## Repository Structure
```
.github/
āāā ISSUE_TEMPLATE/
ā āāā bug_report.md # Template for bug reports
ā āāā feature_request.md # Template for feature requests
ā āāā config.yml # Issue template configuration
āāā PULL_REQUEST_TEMPLATE/
āāā default.md # Default PR template
```
## Conventional Commits
This repository follows the conventional commits standard:
- `feat`: A new feature
- `fix`: A bug fix
- `docs`: Documentation changes
- `style`: Changes that don't affect code meaning
- `refactor`: Code changes that neither fix bugs nor add features
- `test`: Adding/modifying tests
- `chore`: Changes to build process or auxiliary tools
## Development Commands
Add common development commands here that should be run regularly.
## Code Conventions
Add code conventions specific to this repository here.